Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Administrator in Forum Stats is blank
Avatar
ECSite
Member
Free Members
sp_UserOfflineSmall Offline
Jun 10, 2014 - 4:24 pm

Hi Yellow Swordfish,

Sorry, I haven't been able to get to this until tonight. I added another topic and none of the info is updating. All is still the same. Everything says 0 except for how many Admins there are. 0 posts, 0 members even though there are 2.

Help please?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 10, 2014 - 5:35 pm

Then it sounds likely that your WP cron is possibly at fault. An easy way to test this is to write a blog post but set it to be published in the future by, say, 5 minutes and then wait and see if it gets published. If it does not your cron is broken.

If its does get published it might just be that the SP cron tasks have failed to be scheduled. The easiest way to correct this is to deactivate the Simple:Press plugin (NOT Unintsall - just deactivate) and then immediately reactivate it again. That will usually re-start the cron tasks again unless it is broken in WP already.

andy-signature.png
YELLOW
SWORDFISH
Avatar
ECSite
Member
Free Members
sp_UserOfflineSmall Offline
Jun 11, 2014 - 3:18 am

Yep, seems the WP Cron is broken. Any suggestions on how to fix it? I've installed WP Cron Control and WP Crontrol and nothing has changed :(

Update: If it helps I get this error coming up when checking the Crontrol via WP:

There was a problem spawning a call to the WP-Cron system on your site. This means WP-Cron jobs on your site may not work. The problem was: Failure when receiving data from the peer

I've contacted my hosting company to see if there is anything there side of things and I've added:

define('ALTERNATE_WP_CRON', true); 

to my wp-config.php file to override anything that might be set on my server, but I'm still receiving that error.

Any help you could provide would be much appreciated.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 11, 2014 - 9:05 pm

you will have to consult the wordpress.org support forums for help with the wp cron - unfortunately, you wont be alone... more than a couple topics on it...

if you want, you can force the stats to be run on every page load...  in you spHead.php template file of your sp theme you are using, you can add this near the top

do_action('sph_stats_cron');

of course, running the stats on every page load will take more resources than the way we cache it, but it will get it populated and shoudnt be a big load on your server...

Avatar
ECSite
Member
Free Members
sp_UserOfflineSmall Offline
Jun 12, 2014 - 8:12 am

Thanks Mr Papa! Great advice. I do want to fix it site wide as my posts are missing their schedule as well, so I'll be trawling the wordpress.org forums for a solution and have also asked my hosting if there is anything they can do their end. Fingers crossed it will be fixed shortly :)

Thanks again to you and Yellow Swordfish for all your help :)

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 12, 2014 - 11:56 am

If you get anywhere with getting it to work and can identify what the issue was it would great to hear back from you... and I hope you are able to do so of course.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626