Support Forum

404 message when trying to access specific forum page

BS Brad Siegfried
Brad Siegfried
Member

Murphy’s Law on steroids.  I have a demo in one hour and I’m getting a 404 error when I try to access any specific forum page.  It happens whether I’m logged in as administrator or user.

I tried updating permalinks from Settings>Permalinks.

I tried Update Forum Permalink and Update WP Integration.

Last change I can think of was updates to some Simple:Press plugins.  Prior to that I think everything was fine, but the only relevant change I can think of before the plugin updates was the addition of two new User Groups.  I also assigned permissions via Add Group Permissions.

Any suggestions?

65 Answers

New Answer

MP Mr Papa
Mr Papa
Member

do you have a link to site?

any caching plugins or redirection plugins?

BS Brad Siegfried
Brad Siegfried
Member

This gives a 404 error: http://wilmington.crimeboard.org/index.php/forum/unit-182f

This link is still good: http://wilmington.crimeboard.org/index.php/forum/

I have no caching plugins.

I have Peter’s Login Redirect plugin.  I’ve been running that for quite some time with no problem.  I disabled it temporarily and the problem still persisted.

 

I tried deleting all permission sets, then reestablishing permissions.  No luck.

MP Mr Papa
Mr Papa
Member

just noticed you said specific page… so not the whole forum??? just one forum/topic?? link to it?

BS Brad Siegfried
Brad Siegfried
Member

Any individual forum gives a 404 now.  The list of forums is still OK, but now a dead end.

BS Brad Siegfried
Brad Siegfried
Member

I can set up a GoToMeeting session or give you admin access if that would help.

BS Brad Siegfried
Brad Siegfried
Member

I did try rolling back to the prior version of Simple:Press plugins: Subscriptions, Polls, and Plupload.  No luck.

MP Mr Papa
Mr Papa
Member

so this was working?? what has changed on your site? wp update? any wp theme or plugin updates?

BS Brad Siegfried
Brad Siegfried
Member

Yes, everything was working great for months.  I looked back through the updates, but didn’t find any potential culprits.  To be safe, I rolled back the SP plugins that I mentioned above, as they were the latest updates.

No recent wp update.  Only recent theme update was an inactive theme.

The only new ground that I covered recently was to add the two new User Groups in SP, and modify and assign permissions.  Could something in that area be the cause?

I have tried deactivating plugins that I know worked fine with SP, but no change, still the 404.  I found a support forum topic regarding a similar issue that attributed the problem to a corrupted options table.  See https://simple-press.com/support-forum/sp5-general-topics/404-errors-in-forum-and-topic-views/.  How might I find out if that is the problem here, and if it is, how would I fix the corruption?  I do have backups but would like to avoid losing however many days of data since the last backup with an uncorrupted table, if that turns out to be the issue.

Thanks for your help with this.  I’m running low on ideas.

MP Mr Papa
Mr Papa
Member

I would highly doubt it… but ya never know… try repairing the wp options and sfoptions table via plugin or phpmyadmin… cant hurt..

BS Brad Siegfried
Brad Siegfried
Member

OK, I’ll back up everything first, then try the repair.

Meanwhile, is there any debugging information in SP that would yield some clue as to why the 404 is occurring now?  Were you able to see the issue at the links I provided?

BS Brad Siegfried
Brad Siegfried
Member

I did the repair on wp_options and wp_sfoptions.  Still getting the 404.

I also tried deactivating all the plugins that were added or updated within the last two months.  Still the 404.

I did a repair on all of the wp_sf… tables.  Still the 404.

It’s coming up on 2AM here.  I’ll check back for suggestions in the morning when I’m more suitably caffeinated to continue this.

BS Brad Siegfried
Brad Siegfried
Member

A new day dawns.  Any suggestions as to what I might try next?

BS Brad Siegfried
Brad Siegfried
Member

I did find a database error reported in the SP Error Log:

file: …wp-content/plugins/simple-press/sp-api/sp-api-primitives.php
line: 312
function: sp_update_sfmeta
error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘s birthdays and upcoming birthdays.

Just download, install and ac’ at line 4

UPDATE wp_sfmeta SET meta_type=’news’, meta_key=’news’, meta_value=’a:3:{s:2:”id”;s:1:”4″;s:4:”show”;i:1;s:4:”news”;s:639:”

New – Post Thanks and Birthdays Plugins Released

Now available to download – the Birthdays plugin for your Simple:Press forum.

Post Thanks: Allows your users to give thanks to post authors for good post and includes a points/reputation system.

Birthdays: Allows your users to enter birtdate info in their profile and for you forum to show Today’s birthdays and upcoming birthdays.

Just download, install and activate. Available on our Plugins Download Page.

“;}’, autoload=0 WHERE meta_id=15

Might this be related to the current problem?

My users currently have no access to any forum.  This is a serious and time-critical problem.  The possibility of just such a scenario is what motivated me to select a paid forum plugin with support rather than a free forum plugin.  I appreciate your timely response appropriate to the seriousness of the situation.

Brad Siegfried

MP Mr Papa
Mr Papa
Member

the biggest is trying to understand what changed… things do just break out of the blue… usually its something that has occurred on the site…

doubted it was the db but worth the try…

have you always had the older style pathlinks style urls vs custom urls?  that is, with the index.php in the url?

btw, I am getting tons of these:

Notice: Undefined index: HTTPS in /users2/data/t/tutorsystems.com-39577/public_html/dev/wp-content/plugins/wordpress-social-login/includes/plugin.ui.php on line 39

when visiting your site…  also is there a forum set up?  are you sure your db restore worked?  I cannot see any groups or forums right now where I could yesterday…