Menu

#125 Update Cron error

open
nobody
help request
chezjuju.fr/bf4
0.92
2016-02-13
2016-02-13
Anonymous
No

Hello , The script is veyr good.

I juste have an error when i create a cron to update players stats

here's the error :

PHP Warning:  require(../tmp/sql.php): failed to open stream: No such file or directory in /home/test/public_html/Stats/admin/update.php on line 2

Warning: require(../tmp/sql.php): failed to open stream: No such file or directory in /home/test/public_html/Stats/admin/update.php on line 2
PHP Warning:  require(../tmp/sql.php): failed to open stream: No such file or directory in /home/test/public_html/Stats/admin/update.php on line 2

Warning: require(../tmp/sql.php): failed to open stream: No such file or directory in /home/test/public_html/Stats/admin/update.php on line 2
PHP Fatal error:  require(): Failed opening required '../tmp/sql.php' (include_path='.:/usr/local/php5.5/pear') in /home/test/public_html/Stats/admin/update.php on line 2

Fatal error: require(): Failed opening required '../tmp/sql.php' (include_path='.:/usr/local/php5.5/pear') in /home/test/public_html/Stats/admin/update.php on line 2

I have no problem when i launch the update file via the admin !
Thanks for your help

Discussion

  • ezzemm

    ezzemm - 2016-02-13

    Hi!

    I am not sure where the problem is. Just tell your cronjob to open this URL every 30 minutes:
    http://chezjuju.fr/bf4/admin/update.php

    This will work

     
  • Anonymous

    Anonymous - 2016-02-13

    I change the path (bf4 by stats in the previous quote.. This error occur when my server run the page. It founds the file but i have this error !

     

Anonymous
Anonymous

Add attachments
Cancel