PHP warnings (updated)

This Aseco flavor by Mistral contains a comprehensive rank system that orders stats by environment, track and author name. It also contains a built-in lottery system.

Moderators: Mistral, TM-Patrol

Post Reply
Tathar
tricycle manager
tricycle manager
Posts: 25
Joined: 23 Nov 2008 04:49
Owned TM-games: TMUF
Manialink(s): tathar

PHP warnings (updated)

Post by Tathar » 23 Nov 2008 04:59

When trying to run Mistral's ASECO, I get these errors.

Code: Select all

[Aseco] Try to connect to server on 127.0.0.1:26602
[PHP Warning] unpack(): Type V: not enough input, need 4, have 0 on line 478 in file C:\tmserver\aseco\includes\GbxRemote.inc.php
[PHP Warning] fread(): Length parameter must be greater than 0 on line 484 in file C:\tmserver\aseco\includes\GbxRemote.inc.php
[ASECO Error] Connection could not be established! on line 179
Press any key to continue . . .
I'm using Mistral ASECO 8, TMUF dedicated, and whatever MySQL and PHP is packaged with XAMPP 1.6.8.
Last edited by Tathar on 23 Nov 2008 19:52, edited 1 time in total.

Tathar
tricycle manager
tricycle manager
Posts: 25
Joined: 23 Nov 2008 04:49
Owned TM-games: TMUF
Manialink(s): tathar

Re: PHP warnings?

Post by Tathar » 23 Nov 2008 19:35

Turns out I had the wrong XMLRPC port number. Now I'm getting this. I removed the password part for security reasons.

Code: Select all

g# initialize ASECO ############################################################

[Aseco] PHP Version is 5.2.6
[Aseco] Load settings [config.xml]
[Aseco] Load plugin [mistral.trackeval.php]
[Aseco] Load plugin [plugin.localdatabase.php]
[Aseco] Load plugin [chat.admin.php]
[Aseco] Load plugin [chat.help.php]
[Aseco] Load plugin [chat.me.php]
[Aseco] Load plugin [chat.players.php]
[Aseco] Load plugin [mistral.quit.php]
[Aseco] Load plugin [mistral.core.php]
[Aseco] Load plugin [mistral.main.php]

[Aseco] Load plugin [plugin.rasp_jukebox.php]
[Aseco] Load plugin [mistral.autotime.php]
[Aseco] Load plugin [mistral.infomessages.php]
[Aseco] Load plugin [plugin.rasp.php]
[Aseco] Load plugin [plugin.rasp_nextmap.php]
[Aseco] Load plugin [plugin.rasp_chat.php]
[Aseco] Load plugin [mistral.joinleave.php]
[Aseco] Load plugin [mistral.playeradmin.php]
[Aseco] Load plugin [mistral.badwords.php]
[Aseco] Load plugin [mistral.teamranking.php]
[Aseco] Load plugin [mistral.playerinfo.php]
[Aseco] Load plugin [mistral.billing.php]
[Aseco] Load plugin [mistral.idlekick.php]
[Aseco] Load plugin [mistral.easteregg.php]

[Aseco] Try to connect to server on 127.0.0.1:26603
[Aseco] Authenticated with username 'SuperAdmin' and password '******'
[Aseco] Connection established successfully!
[Local DB] Load settings file ...
[Local DB] Try to connect to MySQL server
[Local DB] MySQL Server Version is 5.0.67-community
[rasp] Cleaning up unused data
*-*-*-*-*-* RASP TMU 1.2a is running! *-*-*-*-*-*
|...Loading Settings
|...Loaded!
|...Checking database structure
|...Structure OK!
|...Syncing challenges and updating environment!
[Local DB] Synchronize players with database
[11/23,14:25:39] << player 239 synced with db [tatharnuar], 0 wins.
[RASP] Error - TMX Directory (ArrayChallenges\TMX) does not exist
[RASP] Error - TMX Directory (ArrayChallenges\TMX) can not be written to
###############################################################################
  Aseco v1.1b TMU running on 127.0.0.1:26603
  Game  : TmForever - TimeAttack
  Author: Florian Schnell
###############################################################################
[11/23,14:25:39] Reloading Jukebox...
Begin Race
[11/23,14:25:39] map changed [none] >> [Rally Dirty Sanchez]
|...Building mistral_wins
|...Done!
|...Calculating team ranks
|...Done!
[RPC Error -1000] Permission denied.
Array
(
    [0] => AutoSaveReplays
    [1] => Array
        (
            [0] =>
        )

)
[RPC Error -1000] Permission denied.
Array
(
    [0] => SendDisplayManialinkPageToLogin
    [1] => Array
        (
            [0] => tatharnuar
            [1] => <?xml version='1.0' encoding='utf-8' ?><manialink id='10'><fr
ame posn='-25 48 -40'><quad posn='0 2 -10' sizen='50 10' style='Bgs1InRace' subs
tyle='BgWindow2'/><quad posn='0 1 1' sizen='4 4' action='30009' style='Icons64x6
4_1' substyle='QuitRace'/><label posn='0.5 -2 1' textsize='0.5' text='$000Jukebo
x:'/><label posn='2 -3.2 1' sizen='3 3' action='30026' halign='center' textsize=
'3' text='0'/><label posn='27 -0.5 2' textsize='2' halign='center' text='$0F0Per
sonal Best:$z No record'/><label posn="27 -3.5 2" textsize="2" halign="center" t
ext="$0F0Record:$z No record"/><quad posn='0 -6 -9' sizen='8 2' action='30001' s
tyle='Bgs1InRace' substyle='BgButton'/><quad posn='0 -5.5 2' sizen='3 3' action=
'30001' style='Icons64x64_1' substyle='ToolTree'/><label posn='3 -6.5 1' textsiz
e='0.5' text='$000Tracklist'/><quad posn='7 -6 -8' sizen='8 2' action='30002' st
yle='Bgs1InRace' substyle='BgButton'/><quad posn='7 -5.5 2' sizen='3 3' action='
30002' style='BgRaceScore2' substyle='SendScore'/><label posn='10 -6.5 1' textsi
ze='0.5' text='$000No Record'/><quad posn='14 -6 -7' sizen='8 2' action='30003'
style='Bgs1InRace' substyle='BgButton'/><quad posn='14 -5.5 2' sizen='3 3' actio
n='30003' style='Icons128x128_1' substyle='Statistics'/><label posn='17 -6.5 1'
textsize='0.5' text='$000Statistic'/><quad posn='21 -6 -6' sizen='8 2' action='3
0004' style='Bgs1InRace' substyle='BgButton'/><quad posn='21 -5.5 2' sizen='3 3'
 action='30004' style='BgRaceScore2' substyle='Podium'/><label posn='24 -6.5 1'
textsize='0.5' text='$000Records'/><quad posn='28 -6 -5' sizen='8 2' action='300
05' style='Bgs1InRace' substyle='BgButton'/><quad posn='28 -5.5 2' sizen='3 3' a
ction='30005' style='BgRaceScore2' substyle='LadderRank'/><label posn='31 -6.5 1
' textsize='0.5' text='$000TopPlayers'/><quad posn='35 -6 -4' sizen='8 2' action
='30006' style='Bgs1InRace' substyle='BgButton'/><quad posn='35 -5.5 2' sizen='3
 3' action='30006' style='Icons128x128_1' substyle='Credits'/><label posn='38 -6
.5 1' textsize='0.5' text='$000Top Teams'/><quad posn='42 -6 -3' sizen='8 2' act
ion='30013' style='Bgs1InRace' substyle='BgButton'/><quad posn='42 -5.5 2' sizen
='3 3' action='30013' style='Icons128x128_1' substyle='Coppers'/><label posn='45
 -6.5 1' textsize='0.5' text='$000Donation'/></frame><frame posn='50 25 -40'><qu
ad posn='0 0 -1' sizen='15 2.5' style='BgsPlayerCard' substyle='BgPlayerCardSmal
l'/><label posn='7 -0.25' halign='center' textsize='2' text='$000Finishs: $FFF0'
/></frame><frame posn='-64 29 -40'><label posn='-13 -0.1 0' action='30034' style
='CardButtonSmall' text='a                 More'/><quad posn='-2 -3 -1' sizen='1
5 10' style='BgsPlayerCard' substyle='BgPlayerCardBig'/><label posn='7.5 -3.5 0'
 sizen='9 1.5' textsize='1.5' halign='center' text='$000Time to beat'/><quad pos
n='0 -3.5 1' sizen='3 3' style='Icons128x32_1' substyle='RT_TimeAttack'/><label
posn='7.5 -5 0' sizen='9 1.5' textsize='1.5' halign='center' text='$FFF0:00.00 (
0.)'/><label posn='7.5 -6.5 0' sizen='9 1.5' textsize='1.5' halign='center' text
='$000Server rank'/><quad posn='0 -6.6 1' sizen='3 3' style='Icons128x32_1' subs
tyle='RT_Cup'/><label posn='7.5 -8 0' sizen='9 1.5' textsize='1.5' halign='cente
r' text='$FFFNo Rank/0'/><label posn='7.5 -9.5 0' sizen='9 1.5' textsize='1.5' h
align='center' text='$000Average'/><quad posn='0 -9.5 1' sizen='3 3' style='Icon
s128x32_1' substyle='RT_Laps'/><label posn='7.5 -11 0' sizen='9 1.5' textsize='1
.5' halign='center' text='$FFF400'/></frame><frame posn='-10.5 -38 -40'><quad po
sn='0 0 -1' sizen='21 4' style='BgsPlayerCard' substyle='BgActivePlayerCard'/><q
uad posn='1 -0.5 0' sizen='3 3' style='Icons64x64_1' substyle='Refresh' action='
30008'/><quad posn='5 -0.5 0' sizen='3 3' style='Icons64x64_1' substyle='QuitRac
e' action='30010'/><quad posn='9 -0.5 0' sizen='3 3' style='Icons128x128_1' subs
tyle='Buddies' action='30012'/><quad posn='13 -0.5 0' sizen='3 3' style='Icons12
8x128_1' substyle='Save' action='30011'/><quad posn='17 -0.5 0' sizen='3 3' styl
e='Icons64x64_1' substyle='ArrowNext' action='30007'/></frame><frame posn='54 -3
2 -40'><quad posn='0 0 -1' sizen='10 8' style='Bgs1InRace' substyle='BgWindow2'/
><quad posn='1 -1 0' sizen='8 1.5' style='Bgs1InRace' substyle='BgTitle3_4'/><la
bel posn='5 -1 1' halign='center' textsize='1' sizen='8 1.5' text='$0000'/><quad
 posn='1 -2.5 0' sizen='8 1.5' style='Bgs1InRace' substyle='BgTitle3_1'/><label
posn='5 -2.5 1' halign='center' textsize='1' sizen='8 1.5' text='$0000'/><quad p
osn='1 -4 0' sizen='8 1.5' style='Bgs1InRace' substyle='BgTitle3_3'/><label posn
='5 -4 1' halign='center' textsize='1' sizen='8 1.5' text='$0000'/><quad posn='2
 -5.5 0' sizen='6 1.5' bgcolor='8008'/><label posn='5 -5.5 1' halign='center' te
xtsize='1' sizen='8 1.5' text='$0000'/></frame><quad posn='-64 -42 0' sizen='1.5
 1.5' style='Icons64x64_1' substyle='LvlYellow' action='30024'/></manialink>
            [2] => 0
            [3] =>
        )

)
[11/23,14:25:39] XMLRPC Error [-1000] - Permission denied.

Press any key to continue . . .

User avatar
Mistral
Pit Crew
Pit Crew
Posts: 1304
Joined: 02 May 2006 15:13
Owned TM-games: tmuf
Contact:

Re: PHP warnings?

Post by Mistral » 23 Nov 2008 19:48

Even for the new warnings/errors: read the messages and fix your configuration.

Tathar
tricycle manager
tricycle manager
Posts: 25
Joined: 23 Nov 2008 04:49
Owned TM-games: TMUF
Manialink(s): tathar

Re: PHP warnings (updated)

Post by Tathar » 23 Nov 2008 19:54

Might as well go down the list then.

Code: Select all

[RASP] Error - TMX Directory (ArrayChallenges\TMX) does not exist
[RASP] Error - TMX Directory (ArrayChallenges\TMX) can not be written to
Pretty sure that's not what's supposed to be returned if I didn't make the directory. Does using Windows have something to do with the "ArrayChallenges\TMX" part?

EDIT: OK, I epic failed last night. My dedicated_cfg.txt had SuperUser instead of SuperAdmin.

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Re: PHP warnings (updated)

Post by w1lla » 26 Nov 2008 07:47

Create a folder on your local server pc called TMX where you have the files of the server data. so it will be like this;

Code: Select all

GameData\Tracks\Challenges\TMX
With this stated it will work.

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

Tathar
tricycle manager
tricycle manager
Posts: 25
Joined: 23 Nov 2008 04:49
Owned TM-games: TMUF
Manialink(s): tathar

Re: PHP warnings (updated)

Post by Tathar » 26 Nov 2008 09:41

I already fixed it. I already made the folder before I started this thread. What happened was when I set up the server, I accidentally replaced SuperAdmin in dedicated_cfg.txt with SuperUser.

Post Reply