Page 1 of 1

[Solved] Strange 404 errors

Posted: Thu Jun 04, 2009 11:52 am
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

[SOLVED] Re: Strange 404 errors

Posted: Sun Jun 07, 2009 12:03 am
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.