Page 1 of 1

localdb problems

Posted: 20 Aug 2008 14:30
by Justbio
can't save records

Code: Select all

# initialize ASECO ############################################################^
[Aseco] PHP Version is 5.3.0alpha2-dev^
[Aseco] Load settings [config.xml]^
[Aseco] Load styles [./styles/standard.xml]^
###############################################################################^
#^
# Aseco v2.2.0c running on 127.0.0.1:5000^
#^
# Authors: Florian Schnell and Brad Mettee (RASP)^
#^
###############################################################################^
[Load Plugin] [plugin.localdb.php] [Name:LocalDb] [Ver:1.1]^
[Load Plugin] [plugin.tmxlinker.php] [Name:TmxLinker] [Ver:1]^
[Load Plugin] [plugin.about.php] [Name:About] [Ver:1]^
[Load Plugin] [plugin.statusbar.php] [Name:Statusbar] [Ver:1]^
[Load Plugin] [plugin.stats.php] [Name:Stats] [Ver:1]^
[Load Plugin] [plugin.records.php] [Name:Records] [Ver:1]^
[Load Plugin] [plugin.vote.php] [Name:Vote] [Ver:1]^
[Load Plugin] [plugin.score.php] [Name:Score] [Ver:1]^
[Load Plugin] [plugin.example.php] [Name:Example] [Ver:1]^
[Load Plugin] [plugin.help.php] [Name:Help] [Ver:1]^
[Load Plugin] [plugin.emotics.php] [Name:Emotics] [Ver:1]^
[Load Plugin] [plugin.admin.php] [Name:Admin] [Ver:1]^
[Load Plugin] [plugin.plugins.php] [Name:Plugins] [Ver:1]^
No authitems added^
[Aseco] Try to connect to server on 127.0.0.1:5000^
[Aseco] Authenticated with username 'SuperAdmin' and password 'desperado'^
[Aseco] Connection established successfully!^
[LocalDb] Load settings file ...^
[LocalDb] Try to connect to MySQL server^
[LocalDb] MySQL Server Version is 5.0.37^
[Aseco] Synchronizing with dedicated server ...^
[08/21,01:15:17] << player 237 joined the game [justbio]^
[PHP Warning] Parameter 1 to LocalDb::playerConnect() expected to be a reference, value given on line 1127 in file /usr/games/tmserver/aseco/aseco.php^
###############################################################################^
# Game Info: TMU - TimeAttack^
###############################################################################^
[08/21,01:15:17] map changed [none] >> [Vodka Nabis]^
[08/21,01:15:17] currently no record on Vodka Nabis^
[08/21,01:15:41] player justbio used chat command '/admin  '^
[08/21,01:16:37] player 237 finished with 00:50.11 and took the 1. WR place!^
[08/21,01:19:16] player justbio used chat command '/admin  '^
[PHP Warning] Parameter 1 to LocalDb::raceEnd() expected to be a reference, value given on line 1127 in file /usr/games/tmserver/aseco/aseco.php^
[08/21,01:19:26] map changed [Vodka Nabis] >> [Wings Of Speed]^
[08/21,01:19:26] currently no record on Wings Of Speed^
[08/21,01:21:53] player 237 finished with 00:33.24 and took the 1. WR place!^
[PHP Warning] Parameter 1 to LocalDb::raceEnd() expected to be a reference, value given on line 1127 in file /usr/games/tmserver/aseco/aseco.php^
[08/21,01:22:37] map changed [Wings Of Speed] >> [TheShaft]^
[08/21,01:22:37] currently no record on TheShaft^
[08/21,01:23:18] << player 235 joined the game [joanna86]^

Re: localdb problems

Posted: 20 Aug 2008 14:51
by calsmurf2904
maybe you should try php 5.2.6 since php 5.3 is in alpha stage....so not ready for public use.

Re: localdb problems

Posted: 29 Aug 2010 00:57
by kokod
I had the same problem with aseco 2.2.0 and PHP 5.3.2, solution is simple...

on line 1118 is:

Code: Select all

$params[] = $func_param;
and you have to change it to:

Code: Select all

$params[] = &$func_param;
problem is in difference between php 5.2 and php 5.3 in call_user_func_array

Re: localdb problems

Posted: 29 Aug 2010 08:09
by TheM
kokod wrote:I had the same problem with aseco 2.2.0 and PHP 5.3.2, solution is simple...

on line 1118 is:

Code: Select all

$params[] = $func_param;
and you have to change it to:

Code: Select all

$params[] = &$func_param;
problem is in difference between php 5.2 and php 5.3 in call_user_func_array
Thanks for the information, but you're posting in a two years old topic...