Support Forum

Error 403 when trying to post reply or new topic

JT Jimmy Thomson
Jimmy Thomson
Member

Hi

My Forum (www.flat-chat.com.au/forum) has started playing up.  I can still post to the website and read and approve new posts to the Forum but if I reply to a post or try to start a new topic, I get a “403 – Forbidden” error page.

The address at the top of the page also changes to 

http://www.flat-chat.com.au/index.php?sp_ahah=post&sfnonce=b46d1bfbbf

which seems a bit weird (although it may be quite normal, for all I know).

To make life slightly more difficult, I am temporarily in Mexico (rather than Australia) so contacting my server is a bit more difficult.

Any idea what this may be?

Thanks

 

JimmyT

39 Answers

New Answer

JT Jimmy Thomson
Jimmy Thomson
Member

My server has failed to replicate the problem (i.e. they got it to work no problem, using my login) so it must be something local, probably in my laptop or browser.  I will keep you posted.

JT Jimmy Thomson
Jimmy Thomson
Member

Different browser gets same result although test posts sent earlier turned up an hour later.

Might leave this till morning. 

YS Yellow Swordfish
Yellow Swordfish
Member

OK – we will be here. But a 403 is your server denying access to something. If it persists need to find put just what! It should make an entry in your server logs with more information.

JT Jimmy Thomson
Jimmy Thomson
Member

Thanks

I have passed this on to my server help desk.  Maybe they can help.

Meanwhile, here are some “blue” notices in the error log that coincide roughly with attempts to post replies:

Does any of this indicate an issue that I can resolve?

10/03/2016 8:21 pm | spaErrNotice | 114 | php

file: /simple-press/forum/content/sp-forum-view-functions.php
line: 2030
function: sp_TopicIndexFirstPost
Notice | Undefined property: stdClass::$first_post_date

10/03/2016 8:21 pm | spaErrNotice | 114 | php

file: /simple-press/forum/content/sp-forum-view-functions.php
line: 2014
function: sp_TopicIndexFirstPost
Notice | Undefined property: stdClass::$first_guest_name

10/03/2016 8:21 pm | spaErrNotice | 228 | php

file: /simple-press/forum/content/sp-forum-view-functions.php
line: 2013
function: sp_TopicIndexFirstPost
Notice | Undefined property: stdClass::$first_user_id

10/03/2016 8:21 pm | spaErrNotice | 114 | php

file: /simple-press/forum/content/sp-forum-view-functions.php
line: 2008
function: sp_TopicIndexFirstPost
Notice | Undefined property: stdClass::$first_post_permalink

10/03/2016 11:31 pm | spaErrNotice | 3657 | php

file: /simple-press/sp-startup/forum/sp-forum-support-functions.php
line: 812
function: sp_load_mobile_template
Notice | Undefined index: notitle

IK Ike
Ike
Member

As far as I’m aware, notices are harmless and won’t affect functionality. They are most likely nothing to do with the issue, but I’m sure Andy or Steve will chime in if there is anything untoward in there.

JT Jimmy Thomson
Jimmy Thomson
Member

Point taken

This was the only actual Warning notice, from early this morning, but I don’t think it has anything to do with this issue:

06/03/2016 4:40 am | spaErrWarning | 8 | php

file: /simple-press/admin/library/spa-support.php
line: 208
function: opendir
Warning | opendir(/home/flatchat/public_html/wp-content/plugins/simple-forum/styles/icons/default/custom/): failed to open dir: No such file or directory

IK Ike
Ike
Member

The only thing I notice that is strange about that directory is the name ‘simple-forum’.

IK Ike
Ike
Member

In fact, looking more into it is that path set as the default path in storage locations?

Check in Forum > Integration > Storage Locations

Simple-Forum goes back to version 4, and no trace of that directory structure should exist I don’t think.

JT Jimmy Thomson
Jimmy Thomson
Member

Thanks: I did that and found a file location error.

This is what I have:

Custom Icons Folder

wp-content/plugins/simple-forum/styles/icons/default/custom

This is marked as an error.  What should it be?

IK Ike
Ike
Member

In Simple:Press it should be wp-content > sp-resources > forum-custom-icons, and If it doesn’t already exist, create it.

JT Jimmy Thomson
Jimmy Thomson
Member

I have tried creating a new folder wp-content/forum-custom-icons.  But it seems to be having trouble registering in the Integration/Storage list.  More later

MP Mr Papa
Mr Papa
Member

the folder you created is different than Ike asked for…  does the value entered match the directory you created?

JT Jimmy Thomson
Jimmy Thomson
Member

messages crossed

I have amended to the one Ike suiggested but it is taking an age to update in the Integration folder.

By the way, my server help desk sent this:

“It was basically a mod_security rule was triggered and blacklisted. So I whitelisted the rule for you. Please give a try by clearing cache memory of the browser.”

Needless to say, it made no difference.

And storage locations have not updated after five minutes of the spinning wheel.

Is it worth considering a re-load of the software?

MP Mr Papa
Mr Papa
Member

so yeah something stopping the ajax from running..  stupid mod security rule makes perfect sense…

did you clear your cache and reload the admin page from the far left menu?  then go back to the integration panel…  depending on browser, might even close the browser and reopen…

I would not waste time uninstalling or removing at this point…