Cron error, ads not resetting.
|
12-16-2011, 09:59 AM
Post: #1
|
|||
|
|||
Cron error, ads not resetting.
<b>Warning</b>: rand() expects parameter 1 to be long, string given in <b>/home/www/xxxx/ClixScript_PHP_DOCS/crons/hourly.cron.php</b> on line <b>94</b><br />
this is the error message i started to receive yesterday, and info on that? |
|||
12-16-2011, 11:24 AM
(This post was last modified: 12-16-2011 11:24 AM by admin.)
Post: #2
|
|||
|
|||
RE: Cron error, ads not resetting.
Maybe some server updates lately?
First, go to membership settings and make sure range is such as: 1-2 I also added some extra protection against that error you receive, I think that will help you if you can't find any mistake in your settings. Download newest zip from server and re-upload /crons/hourly.cron.php |
|||
12-16-2011, 11:46 AM
Post: #3
|
|||
|
|||
RE: Cron error, ads not resetting.
(12-16-2011 11:24 AM)admin Wrote: Maybe some server updates lately? ranges are 2-3 2-4 1-3 1-3 |
|||
12-16-2011, 01:59 PM
Post: #4
|
|||
|
|||
RE: Cron error, ads not resetting.
That sounds fine.... did the new hourly.cron.php work for you?
|
|||
12-16-2011, 10:45 PM
Post: #5
|
|||
|
|||
RE: Cron error, ads not resetting. | |||
12-17-2011, 04:24 AM
(This post was last modified: 12-17-2011 05:30 AM by admin.)
Post: #6
|
|||
|
|||
RE: Cron error, ads not resetting.
Please provide more info, I don't think anyone else had this problem...
What error message do you receive when you access the file directly? (using the address that you have set up in cron, with hash) I believe the problem is the daily cron, so please run that. I can try to help you directly if you PM cPanel/FTP. |
|||
12-17-2011, 08:29 AM
Post: #7
|
|||
|
|||
RE: Cron error, ads not resetting.
17-12-2011 15:27:29 - this is the only thing I get when I run daily and hourly cron with hash.
Do you have any idea what it might be? I'm on easycloud hosting, they don't have Cpanel. |
|||
12-17-2011, 09:14 AM
Post: #8
|
|||
|
|||
RE: Cron error, ads not resetting.
Please go to your database, the table "info", set last_hourly_cron and last_daily_cron to 0.
After setting those to 0, try run them.... and give me the result. |
|||
12-19-2011, 12:29 AM
Post: #9
|
|||
|
|||
RE: Cron error, ads not resetting.
Hello "twib" I am also on easy cloud and they fixed this cron problem for me, because yesterday me site ads did not refresh too, but easycloud did something and today ads refreshed, try to ask them, maybe easycloud support will be able to help you.
|
|||
12-19-2011, 06:37 AM
Post: #10
|
|||
|
|||
RE: Cron error, ads not resetting.
Thanks pfbux for your info, maybe cron job was turned off by easycloud...?
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)