installation issue

27 views
Skip to first unread message

stephencc

unread,
May 24, 2012, 11:41:18 AM5/24/12
to ajaximrpg
Hi Dan:
can you please send me an installation. I run into issues in the
beginnings already. and I don't see congif.php. is that a file that
I have to manually create it?

this is what I got
Warning: session_start() [function.session-start]: Cannot send session
cache limiter - headers already sent (output started at /nfs/c04/h02/
mnt/65412/domains/chemoilproducts.com/html/ajaxim5/install.php:14) in /
nfs/c04/h02/mnt/65412/domains/chemoilproducts.com/html/ajaxim5/
ajax_act.php on line 75

Fatal error: Call to a member function on a non-object in /nfs/c04/h02/
mnt/65412/domains/chemoilproducts.com/html/ajaxim5/ajax_act.php on
line 320

please advise

thank you
stephen

Gabriel García

unread,
Nov 23, 2012, 11:13:47 AM11/23/12
to ajax...@googlegroups.com
Same here....I don't understand what's wrong. 

ajaximrpg

unread,
Nov 24, 2012, 7:47:06 PM11/24/12
to ajax...@googlegroups.com
Oops, sorry, I didn't get these e-mails.  Maybe they got stuck in my spam folder by accident.

An example config.php looks like:

<?php
//////////////////////////////////////////
//           ajaximrpg 4.00             //
//       AJAX Instant Messenger         //
//  Copyright (c) 2006-2008, 2010-2012  //
//      Do not remove this notice       //
//////////////////////////////////////////

// This is the password that protects this file.
define('INSTALL_PASSWORD', 'DISABLED');

// MySQL Database Configuration
define('SQL_HOST', 'localhost');
define('SQL_USER', 'root');
define('SQL_PASS', 'passw0rd');
define('SQL_DB', 'ajaximrpg');

// This is the prefix for the ajaximrpg MySQL tables -- this can usually be left alone.
define('SQL_PREFIX', 'ajaximrpg_');

define('MAX_BUDDY_ICON_SIZE', 100); // in KBs, set to 0 to disable uploads
?>

In the distribution, you should have the config-sample.php file which you can rename and modify for your environment.  You can see the config-sample.php from SourceForge at the URL below.

http://ajaximrpg.svn.sourceforge.net/viewvc/ajaximrpg/config-sample.php?revision=99&content-type=text%2Fplain

But, in recent versions, the code should automatically detect the config.php does not exist and present a series of pages in the browser for generating it.  So, renaming config-sample.php should not be necessary.

Based on the error message, it appears that HTML is being sent to the browser before the session_start() is called.  Even a single newline at the top of the ajax_act.php file can cause this error.  Additional HTML added to the file will cause this error as well.  Is it possible that ajax_act.php was modified in some way?

I'm sorry that ajaximrpg is not working for you.  Please post any additional info so I can help troubleshoot the problem.

Dan
----------------
Play: http://www.svexpertise.com/ajaximrpg/server
Code: http://ajaximrpg.sourceforge.net
Tweet: http://www.twitter.com/ajaximrpg
Discuss: http://groups.google.com/group/ajaximrpg
Totally free.  Totally easy.  Totally open.  Play RPGs instantly.
Reply all
Reply to author
Forward
0 new messages