Hello There, Guest! Register

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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?
Find all posts by this user
Quote this message in a reply
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
Find all posts by this user
Quote this message in a reply
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?

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

ranges are 2-3 2-4 1-3 1-3
Find all posts by this user
Quote this message in a reply
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?
Find all posts by this user
Quote this message in a reply
12-16-2011, 10:45 PM
Post: #5
RE: Cron error, ads not resetting.
(12-16-2011 01:59 PM)admin Wrote:  That sounds fine.... did the new hourly.cron.php work for you?

No, ads still not reset.
Find all posts by this user
Quote this message in a reply
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.
Find all posts by this user
Quote this message in a reply
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.
Find all posts by this user
Quote this message in a reply
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.
Find all posts by this user
Quote this message in a reply
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.
Find all posts by this user
Quote this message in a reply
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...?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)