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
cron tasks dissapeared
Avatar
OlafKS
Member
Free Members
sp_UserOfflineSmall Offline
Aug 24, 2012 - 12:41 pm

Dissapeared all simple:press cron tasks Oo for example sph_stats_cron
now i need to start it manualy.
Any ideas why it happened and how to fix this?

Avatar
OlafKS
Member
Free Members
sp_UserOfflineSmall Offline
Aug 24, 2012 - 12:45 pm

update - have various errors in error log

24.08.2012
19:59    database    file: /var/www/***/wp-content/plugins/simple-press/forum/content/classes/sp-list-topic-class.php
line: 166
function: select
error:

SELECT .post_id, post_status, post_index, post_date, guest_name, wp_sfposts.user_id, post_content, display_name FROM wp_sftopics JOIN wp_sfforums ON wp_sfforums.forum_id = wp_sftopics.forum_id JOIN wp_sfgroups ON wp_sfgroups.group_id = wp_sfforums.group_id JOIN wp_sfposts ON wp_sfposts.post_id = wp_sftopics.post_id LEFT JOIN wp_sfmembers ON wp_sfmembers.user_id = wp_sfposts.user_id WHERE wp_sftopics.topic_id IN (221,988,425,688,731,965,961,593,1003,681,1001,442,764,480,878,433,1002,204,1000,673) ORDER BY group_seq, forum_seq, wp_sftopics.post_id DESC

and

 

24.08.2012
19:14    php    file: /simple-press/forum/content/classes/sp-forum-view-class.php
line: 364
function: sp_forumview_query
Notice | Uninitialized string offset: 0

 

and

24.08.2012
14:52    php    file: /simple-press/sp-api/sp-api-filters.php
line: 1271
function: array_key_exists
Warning | array_key_exists() expects parameter 2 to be array, boolean given

and

23.08.2012
18:58    php    file: /simple-press/forum/content/classes/sp-group-view-class.php
line: 331
function: sp_groupview_query
Warning | Illegal offset type

and there are many of them

     
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 24, 2012 - 3:51 pm

On the Cron Task front the answer at the moment is no. We think is it a problem with the way WP holds the array of scheduled tasks. We are aware that it can happen and we are investigating it and hope to have some sort of fix available for the next update if possible. Deactivating the plugin (and/or any Sp plugins) and reactivating it will usually restore them to the Wp cron array.

Of the items in the error log the Notices and Warning are a nuisance, nothing serious and I have noted those. We do sort them out when they are reported but they can be so dependent upon your setup that we don't always find them ourselves.

However the SQL one is somewhat puzzling. There is nothing wrong with the statement except... is that really a dot in front of the first column name (SELECT .post_id). Was that dot really there? and is this a one off or do you have others like this? If a real dot is suggests a php processing error of some kind...

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
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: 17370
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626