Good evening,
The following payload is returned after calling an action through ajaxCall() on the client side :
<br />
<b>Warning</b>: chmod() has been disabled for security reasons in <b>/usr/share/php/Log/file.php</b> on line <b>223</b><br />
{"status":"0","error":"More than one possible action at this state","expected":0,"code":100,"stack":"#0 \/var\/tournoi\/release\/games\/ziga\/999999-9999\/ziga.game.php(247): Gamestate->nextState()\n#1 \/var\/tournoi\/release\/games\/ziga\/999999-9999\/ziga.action.php(71): ziga->st_getRandomDice()\n#2 \/var\/tournoi\/release\/tournoi-201112-0929-gs\/www\/include\/webActionCore.inc.php(189): action_ziga->doRollAction()\n#3 \/var\/tournoi\/release\/tournoi-201112-0929-gs\/www\/index.php(242): launchWebAction('ziga', 'action_ziga', 'doRollAction', false, false, NULL, true, false)\n#4 {main}"}
This makes it impossible for ajaxCall() to parse the return. I'm doing something wrong that make me encounter this ?
Zigareth
The following payload is returned after calling an action through ajaxCall() on the client side :
<br />
<b>Warning</b>: chmod() has been disabled for security reasons in <b>/usr/share/php/Log/file.php</b> on line <b>223</b><br />
{"status":"0","error":"More than one possible action at this state","expected":0,"code":100,"stack":"#0 \/var\/tournoi\/release\/games\/ziga\/999999-9999\/ziga.game.php(247): Gamestate->nextState()\n#1 \/var\/tournoi\/release\/games\/ziga\/999999-9999\/ziga.action.php(71): ziga->st_getRandomDice()\n#2 \/var\/tournoi\/release\/tournoi-201112-0929-gs\/www\/include\/webActionCore.inc.php(189): action_ziga->doRollAction()\n#3 \/var\/tournoi\/release\/tournoi-201112-0929-gs\/www\/index.php(242): launchWebAction('ziga', 'action_ziga', 'doRollAction', false, false, NULL, true, false)\n#4 {main}"}
This makes it impossible for ajaxCall() to parse the return. I'm doing something wrong that make me encounter this ?
Zigareth