stfc2 / Scheduler

Scheduler
0 stars 4 forks source link

moves_main php error #5

Closed Caberhagen closed 9 years ago

Caberhagen commented 9 years ago

Hi

Found in logs:

PHP Notice: Undefined variable: sdl in /var/stfc/scheduler/moves_main.php on line 24 PHP Fatal error: Call to a member function log() on a non-object in /var/stfc/scheduler/moves_main.php on line 24

in moves_main: $sdl->log('entering file');

maybe a permisson problem or so. but apache can write on logs folder.

kirirur commented 9 years ago

Hello, this is not an error, because you cannot call moves_main.php but moves_start.php that create the environment to run the task. After everything's setup, moves_start calls moves_main. That's the original structure of the game and we leaved it as is.

Caberhagen commented 9 years ago

Sorry

changed cront to moves_start and all fine.