PsYc0TiC, on 10 August 2011 - 03:22 AM, said:
I installed this but I get this on the admin page:
I don't know why since I followed the instructions
and I added the cron job via cpanel but it doesn't seem to run so I never see any users or anything
Warning: include(includes/config.php) [function.include]: failed to open stream: No such file or directory in /home/bitchnip/public_html/urstats/includes/check_access.php on line 6
Is this still happening? I can see that the config is working atm..
So config.php is there, otherwise the main page would error out.
Do you have the latest version of PHP? I use some very recent code which may cause an include error.
I'll be home on the weekend. I'll be glad to help you if you would like some assistance. If need be, I could change the code around a bit for ya to get it to work :D
*/2 * * * * root /usr/bin/wget -q -O /dev/null http://www.bitchnipples.com/urstats/exec/GetPlayers.php
I also tried removing the space after "root" and it still doesn't run:
*/2 * * * * root/usr/bin/wget -q -O /dev/null http://www.bitchnipples.com/urstats/exec/GetPlayers.php
Do you have wget installed?
You can run the script directly via a PHP Cron.
Also, the space is put there because root is the user the cron job is run by. You can run it as any user that you have on your box that has at least permissions to web and or PHP depending on your desired cron job.
The