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
Posting to existing topic doesn't work anymore
Avatar
sptab
Member
sp_UserOfflineSmall Offline
Sep 19, 2013 - 7:54 am

I am facing a serious issue where all users (including admin) cannot post to an existing topic. They get redirected to a blank page, with an url such as:  

/index.php?sp_ahah=post&sfnonce=ccb31ea4c5

This does not happen if the user creates a new topic, the topic/post are properly saved and visible in the forum.

 

This problem was discovered last hour, but it probably started to happen tonight as there is no post to an existing topic since midnight (about 14 hours ago). It may be interesting to note that I had another problem yesterday (see here) but it don't see how they could be related in any way.

 

How can I find the reason of this problem and fix it ?

 

Thank you.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 19, 2013 - 8:06 am

I think your first port of call should be your error logs... This is the correct URL for performing the save of a new forum post but it should, of course, run the code and then return to the page with the new post. Clearly it is hitting a brick wall along the way and one would hope, spawning an entry in the error log.

andy-signature.png
YELLOW
SWORDFISH
Avatar
sptab
Member
sp_UserOfflineSmall Offline
Sep 19, 2013 - 8:20 am

This is what I have in the last minute log, where I twice tried to make a post on an existing topic:

Is there anything fishy in these logs, I just see notices like I get hundreds every day in SP logs ?

 

2013/09/19
14:17
php file: /simple-press/forum/content/forms/sp-form-components.php
line: 469
function: sp_post_editor_smileys_options
Notice | Trying to get property of non-object
2013/09/19
14:17
php file: /simple-press/forum/content/forms/sp-form-components.php
line: 422
function: sp_post_editor_default_buttons
Notice | Trying to get property of non-object
2013/09/19
14:17
php file: /simple-press/forum/content/forms/sp-form-components.php
line: 469
function: sp_post_editor_smileys_options
Notice | Trying to get property of non-object
2013/09/19
14:17
php file: /simple-press/forum/content/forms/sp-form-components.php
line: 422
function: sp_post_editor_default_buttons
Notice | Trying to get property of non-object
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 19, 2013 - 8:36 am

In this instance I was really meaning the server error logs.

If you see a blank page then that suggests that it is perhaps bombing before it has even loaded much code which might mean that it it knows nothing about the forum error log file as it hasn't got that far yet. So any error would be dumped to the server logs.

andy-signature.png
YELLOW
SWORDFISH
Avatar
sptab
Member
sp_UserOfflineSmall Offline
Sep 19, 2013 - 8:53 am

Ooooh right...

[Thu Sep 19 14:47:54 2013] [error] [client *******] PHP Strict Standards: Declaration of AuthWordpress::modifyUITemplate() should be compatible with AuthPlugin::modifyUITemplate(&$template, &$type) in /var/www/*******/wiki/extensions/AuthWordpress.php on line 62

[Thu Sep 19 14:47:54 2013] [error] [client *******] PHP Strict Standards: Declaration of AuthWordpress::setPassword() should be compatible with AuthPlugin::setPassword($user, $password) in /var/www/*******/wiki/extensions/AuthWordpress.php on line 62

I just found a few of these in the apache logs, which did not seem related to the issue... but reminded me of a plug-in that was installed yesterday night which may be linked to some auth. problems.

Verified, disabled the plugin and great, it's posting works again.

The culprit was this plugin:  http://wordpress.org/plugins/javascript-chat-for-wordpress/

 

Thanks for your help Andy smile

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 19, 2013 - 9:09 am

Good find.
WP Chat Plugins can be difficult and very, very resource hungry. and that is when they work OK!

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: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625