[Solved] Strange 404 errors

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
dendle
New Member
New Member
Posts: 7
Joined: Mon Jun 01, 2009 10:05 pm

[Solved] Strange 404 errors

Post by dendle »

Hi All,

On my production CMS MS site I have this odd error that has appeared.  If I submit a query to the search engine on the home page (/index.php) then it works fine.  If I make the call on any other page /index.php/support-services?mact=Search%2Ccntnt01%2Cdosearch%2C0&cntnt01returnid=52&cntnt01searchinput=test&submit.x=15&submit.y=12) then I get a 404 error triggered.

If I have CMS MS handle the 404 errors then the search results are displayed in the 404 error page, however if I turn off the 404 handling then I get a generic 404 error.

This is also occuring for the pagination functions for the content_dump tag on pages other than the home page.  

It is important to note that all pages use the same template and that I can access the pages normally, the error only occurs when using search or content_dump type applications.........This has me beat...

My access to my hosting site is based on cPanel which means I cannot modify the apache server settings.  So to get nice URLs I am using both the Internal Pretty URLs and Use Heirachy Name.  If I turn these off then it works like perfect.....except you get returned to the home page when you submit a request (which is kinda ok).

Quick Update: If I manually remove the pretty url and use the following /index.php?mact=Search%2Ccn etc etc then the search works correctly......
I am running CMSMS 1.5.4; PHP 5.2.8; MySQL 5.0.77-community and Apache 2.2.11 running under a linux kernel 2.6.18-19.el5
Any help or ideas would be great.
Anthony
Last edited by dendle on Sun Jun 07, 2009 12:05 am, edited 1 time in total.
-- if the facts dont fit the theory, change the theory--
User avatar
dendle
New Member
New Member
Posts: 7
Joined: Mon Jun 01, 2009 10:05 pm

[SOLVED] Re: Strange 404 errors

Post by dendle »

Ok after much nashing of teeth and pulling of hair I have figured this one out.  It seems that the Ants Module was causing an issue.  I turned on debugging and found some issues with this module and the headers generated by the CMS.

Simply removing the Ants Module fixed the problem.  I will be experimenting with the Ants module more in my test site, if I find that this is a consistant problem I will send this information on the Ants development team.
-- if the facts dont fit the theory, change the theory--
Post Reply

Return to “CMSMS Core”