localdb problems

This forum is dedicated to the Aseco/Rasp 2 server records and control script by Flo and Assembler Maniac. Announcements and issues can be discussed in this forum.

Moderators: Flo, Assembler Maniac, f*ckfish, TM-Patrol

Post Reply
Justbio
highway camper
highway camper
Posts: 1
Joined: 01 Aug 2008 07:58
Owned TM-games: TMN

localdb problems

Post by Justbio » 20 Aug 2008 14:30

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]^

calsmurf2904
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 08 Jul 2008 15:23
Owned TM-games: TMNF,TMN
Location: Netherlands
Contact:

Re: localdb problems

Post by calsmurf2904 » 20 Aug 2008 14:51

maybe you should try php 5.2.6 since php 5.3 is in alpha stage....so not ready for public use.
Image
Current Projects :
Aseco 2.x Dedimania plugin
Aseco 2.x Clan management Plugin
Servers :
LSR Race Server
Server Specs :
TmForever Server 2.11.16 05-08-08 (D-M-Y)
Xaseco 1.03 with FufiMenu and FufiWidgets

kokod
highway camper
highway camper
Posts: 2
Joined: 29 Aug 2010 00:51
Owned TM-games: TMUF

Re: localdb problems

Post by kokod » 29 Aug 2010 00:57

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

User avatar
TheM
Pit Crew
Pit Crew
Posts: 286
Joined: 25 Feb 2009 16:43
Owned TM-games: TMU(F), TMN(F), TM2
Location: Brabant, Netherlands
Contact:

Re: localdb problems

Post by TheM » 29 Aug 2010 08:09

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...

Post Reply