It is currently Fri Mar 29, 2024 3:35 am


The forum is READ ONLY. Please direct any future discussions to our Facebook page


 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: Old problem has returned.
PostPosted: Fri Jun 17, 2005 5:08 pm 
AA Mega-Trader
AA Mega-Trader
User avatar

Joined: Thu Sep 18, 2003 2:20 am
Posts: 323
Location: Rotorua, New Zealand
http://aatraden.websnz.net
PHP version 4.3.10
MySQL version 4.0.22-standard


The scheduler fails to complete, has this error message:
Fatal error: Call to a member function on a non-object in /home/websnzn/public_html/aatraden/sched_planets_slow.php on line 503

I have had this a number of times in the past and have yet to resolve it. The game has ran fine up to now, but I noticed that I had been dropped from the server listing. On manualy running the scheduler, I get the above fault.
I have ran a full database repair, but still the problem exists.

Any ideas?????



_________________
Alf (Alien life form)
http://www.cole.gen.nz
Rotorua, New Zealand
Offline
 Profile  
 
 Post subject:
PostPosted: Fri Jun 17, 2005 7:07 pm 
Developer
Developer
User avatar

Joined: Wed Feb 19, 2003 6:07 pm
Posts: 2930
It isa because you used an old install.php and not the new one that asks for the database server ip/dns when you have your database on a different server than the game.

The old installer will check the localhost for the mysql version and if it hasn't been upgraded it will report a version 3.x.x mysql. This causes the code to default to 3.x.x compatability mode. The 3.x.x code in the scheduler doesn't work.

So you need to set

$db_mysql_valid = "yes";

in the config_local.php.



_________________
PJ's Annoyingly Useless Blog
ADOdb Lite
Template Lite
Offline
 Profile  
 
 Post subject:
PostPosted: Fri Jun 17, 2005 10:02 pm 
AA Mega-Trader
AA Mega-Trader
User avatar

Joined: Thu Sep 18, 2003 2:20 am
Posts: 323
Location: Rotorua, New Zealand
Thanks, PJ.

All working again :D



_________________
Alf (Alien life form)
http://www.cole.gen.nz
Rotorua, New Zealand
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron