vlad Posted June 1, 2011 Share Posted June 1, 2011 Can some one help me out i'm helping a friend with his game and nothing goes up every thoe the crons are set we've try'd every thing,when one some one trains and uses all there energy thats it , it doesn't go up after set amount of time just stays at 0 , any help will be appreciated. Quote Link to comment Share on other sites More sharing options...
Dominion Posted June 1, 2011 Share Posted June 1, 2011 (edited) Try, and run the cron files yourself, and post any errors. Edited June 1, 2011 by Dominion Quote Link to comment Share on other sites More sharing options...
vlad Posted June 1, 2011 Author Share Posted June 1, 2011 I ran them and seems fine could it have been that we put a wrong code into cron jobs? Quote Link to comment Share on other sites More sharing options...
Dominion Posted June 1, 2011 Share Posted June 1, 2011 I ran them and seems fine could it have been that we put a wrong code into cron jobs? If your running them fine would you not be using the same code you used when you set them up? 1 Quote Link to comment Share on other sites More sharing options...
vlad Posted June 1, 2011 Author Share Posted June 1, 2011 yeah i put , curl http://www.******.com/cron_minute?code=code pretty siure thats right? Quote Link to comment Share on other sites More sharing options...
Dominion Posted June 1, 2011 Share Posted June 1, 2011 remove the if that check the $_GET['code'] part of the cron, and run it. if it runs then your code is wrong. If not you will at least get to see the error. Quote Link to comment Share on other sites More sharing options...
vlad Posted June 1, 2011 Author Share Posted June 1, 2011 Thanks for the help Dominion , greatly appreciated i have fixed the issue and the cron's work now thanks again. Quote Link to comment Share on other sites More sharing options...
Dominion Posted June 1, 2011 Share Posted June 1, 2011 If it's running without the if() your code was wrong... I would keep some kind of protection like that in the file. Just now you know the problem you can fix it. Quote Link to comment Share on other sites More sharing options...
vlad Posted June 1, 2011 Author Share Posted June 1, 2011 yeah the issue was i missed the code out at the end of cron jobs for the five-min cron , yeah my crons' are in a dif folder and on htacces so it cant be accessed with out a code Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.