PDA

View Full Version : 4.0.1. to 4.0.2. upgrade problem caused by a mod, using ? in descriptions


molieman
02-19-2010, 02:11 PM
Prior to upgrading from 4.0.1. to 4.0.2., I disabled all mods. After the upgrade I noticed some 404 errors when trying to go to several forums, this is what I discovered.

This is the forum I was trying to go to "Welcome to MyCockpit ? New here? Introduce Yourself!" and went to the following link, and got a 404 error:
>>>>>>.mycockpit.org/forumtest/forumdisplay.php?138-Welcome-to-MyCockpit-%AE-New-here-Introduce-Yourself

I looked at my live site (4.0.1.) and it is as follows >>>>>> .mycockpit.org/forumtest/forumdisplay.php?138-Welcome-to-MyCockpit-New-here-Introduce-Yourself (and this works at /forumtest/ the 4.0.2. upgraded site)

If you notice the upgrade put a "%AE-" in between "MyCockpit-" and "New-here" If I take out the %AE- out, it will go to the proper link.

I have several other forums that does the same thing, each has the ? in the description, and any new post I create with ? in it the description, will do the same with inserting %AE- (all modes are disabled).

Obviously, it has something to do with inserting ? in a description and changes it to %AE- in the link.

Support says this does not happen in a clean 4.0.2., I can understand that, I think. So it comes down to what mod is creating this change. But why is it happening when I have everything disabled.

I'm trying to prevent deleting all mods, I would hate to loose any data collected or just plain start over, lot's of work, you all know that.

Does the above problem look like a problem you've had, seen or heard of, and do you know what mod may of caused this?

Does deleting mods in admincp, delete all files related to that mod?

Extremely frustrated..... and LOL

Addition:
The test is running at: www.mycockpit.org/forumtest/
No live data lost

Matt Olieman
MyCockpit.org

borbole
02-19-2010, 02:16 PM
What mods do you have installed? Did you make a backup copy of db prior to the upgrade? And did you get any errors during the upgrade procedure?

Carnage
02-19-2010, 02:20 PM
looks like it could be a server configuration error; its acctually throwing a 406 error, this document may help you:

http://community.contractwebdevelopment.com/406-error-not-acceptable-an-appropriate-representation-of-the-requested-resource-could-not-be-found-on-this-server

molieman
02-19-2010, 02:26 PM
What mods do you have installed? Did you make a backup copy of db prior to the upgrade? And did you get any errors during the upgrade procedure?

Thanks for your response. I forgot to mention, it was performed on a test site and yes I have backups of the db.

The test is running at www.mycockpit.org/forumtest/

--------------- Added 1266597737 at 1266597737 ---------------

looks like it could be a server configuration error; its acctually throwing a 406 error, this document may help you:

http://community.contractwebdevelopment.com/406-error-not-acceptable-an-appropriate-representation-of-the-requested-resource-could-not-be-found-on-this-server

Thought about this a moment before answering :) This is on a test site (running 4.0.2.), same server, and is not happening at the live site (running 4.0.1.)

Carnage
02-19-2010, 02:56 PM
Thought about this a moment before answering This is on a test site (running 4.0.2.), same server, and is not happening at the live site (running 4.0.1.)


Yes, however 4.0.2 makes changes to the urls. specifically adding special chars such as ? into them; your urls on 4.0.1 wouldn't have this. The url could be triggering mod_security BECAUSE of the new ? in the url.

goto diagnostics and hit the check for problematic webserver modules. See if it detects mod_security.

molieman
02-19-2010, 03:07 PM
Yes, however 4.0.2 makes changes to the urls. specifically adding special chars such as ? into them; your urls on 4.0.1 wouldn't have this. The url could be triggering mod_security BECAUSE of the new ? in the url.

goto diagnostics and hit the check for problematic webserver modules. See if it detects mod_security.

Sound good to me :) well kinda... I'll check it out. Thanks for the info. :)

--------------- Added 1266671407 at 1266671407 ---------------

Yes, however 4.0.2 makes changes to the urls. specifically adding special chars such as ? into them; your urls on 4.0.1 wouldn't have this. The url could be triggering mod_security BECAUSE of the new ? in the url.

goto diagnostics and hit the check for problematic webserver modules. See if it detects mod_security.

Carnage-, you were right on it. A Mod Sec rules added at server level and it's working just fine. :) :) :)

Thank you Carnage-