Support Forum

Posting to existing topic doesn't work anymore

SP sptab
sptab
Member

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.

5 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

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.

SP sptab
sptab
Member

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
YS Yellow Swordfish
Yellow Swordfish
Member

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.

SP sptab
sptab
Member

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

YS Yellow Swordfish
Yellow Swordfish
Member

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