Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: prince_bear on January 08, 2013, 10:38:02 PM

Title: [SOLVED] Modifying topic title creates 404 error for Admin user
Post by: prince_bear on January 08, 2013, 10:38:02 PM
SMF Version 2.0.3

Today, an admin on my board went to modify a topic title, and got a 404 error after pressing submit. The interesting thing is that no errors were logged in the SMF error log. We have discovered this on a couple more threads as well but its by no means obviously consistent. Titles for new topics created on the same board(s) can be modified without issue.

Here is an example thread, http://www.christianfamilyplanning.net/index.php?topic=9331.0

Please PM me for a Username and Password if you want to see firsthand.
Title: Re: Modifying topic title creates 404 error for Admin user
Post by: mashby on January 08, 2013, 10:43:37 PM
PM sent. :)
Title: Re: Modifying topic title creates 404 error for Admin user
Post by: mashby on January 08, 2013, 11:06:34 PM
I made a topic under Men and was able to edit the Subject without issue. I cannot edit the other topics (nor do I feel the need to) as I think I'd be doing more harm than good. I'll make a new topic (that should be deleted later) and see if I can replicate a 404.
Title: Re: Modifying topic title creates 404 error for Admin user
Post by: mashby on January 08, 2013, 11:24:54 PM
Made a new topic in the same category as the link you provided. Edited it (and the title) a couple of times. No 404s yet. Wondering if this is just an isolated issue.
Title: Re: Modifying topic title creates 404 error for Admin user
Post by: prince_bear on January 08, 2013, 11:26:45 PM
I am certainly hoping its isolated, but that's also what makes it frustrating. Is there any reason that topics before a certain creation date would have issues but more recent ones wouldn't?
Title: Re: Modifying topic title creates 404 error for Admin user
Post by: mashby on January 08, 2013, 11:34:03 PM
One wouldn't think so, no. Admins can edit anything at any time (unless I'm missing something in settings). I know there's this option in Post Settings:
Maximum time after posting to allow edit
Your site is set to 0 which means it can be edited at any time by those allowed to. Can you try to edit the same topic which was generating a 404? I don't really want to edit real content on your site, only stuff I've made. :)
Title: Re: Modifying topic title creates 404 error for Admin user
Post by: Arantor on January 08, 2013, 11:35:50 PM
Is it possible that the error was really some other kind of error but just saying it was generating a 404 where it couldn't find the error page?

I'm thinking primarily of tripping mod_security, getting a 406 and not having a handler for it, so generating what seems like a 404.
Title: Re: Modifying topic title creates 404 error for Admin user
Post by: prince_bear on January 09, 2013, 01:14:18 AM
Arantor you might be right about Mod_Security, we just discovered that posts with more with 4 BBCode links even with text in between them seem to trip the error. The posts that the admin was previously trying to edit all had tickers in them which all have embedded links in them.

This is going to be fun one to try and explain to the host.  :o
Title: Re: [SOLVED] Modifying topic title creates 404 error for Admin user
Post by: Arantor on January 09, 2013, 09:13:22 AM
It's really quite simple, ask them about disabling mod_security ;)