[SOLVED] Is 'error' a fobidden page alias - odd 404 problem.

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
cife
Forum Members
Forum Members
Posts: 11
Joined: Tue Dec 02, 2008 9:05 am

[SOLVED] Is 'error' a fobidden page alias - odd 404 problem.

Post by cife »

I've just updated from 1.4.4 to 1.8.1. Same host (1and1), directories etc. Update now running OK thanks to replytomk3, kermit and others, except for one odd problem. The site has always had a page called 'error', which gets shown if user submits a wrongly filled contact form. It's worked fine, but after the upgrade it not only throws a 404 message, but throws 404 page from 1and1, not my custom one for the site (which I know works).

To investigate this I've done the following:
  • I checked the form-handler and put in a completely different site page to return if a submitted form hasn’t been filled in properly. That worked fine, so not a form-handling problem.
  • I tried changing the template for the error page to a very simple one I know works. Still got 1and1 404 page.
  • I tried renaming the error page to ‘errant’. That still gave the 1and1 404 page!
  • Then I deleted the page altogether, reset cache and made another page named ‘error’. Same problem.


Interestingly, when I tried the Preview tab while editing contents of 'error' the page displayed OK.

I have solved the problem by creating a new page called  ’problem’ to do the same job. That works fine.

What's happening here? I'm tempted to say it's a 1and1 server issue (it's their 404 page after all), except the same page worked fine when I was running on 1.4.1. I see also that the release notes for 1.8.1 say that "we have eliminated the old 404 page processing method": there is no longer a 404 page tab in Global Settings (though my old 404 page works if I ask for a page which doesn't exist).

So, two queries. One is to check that 1.8.1 still has a 404 error page facility, and if so, how to find it in Admin. The second is curiosity (problem is sort of solved anyway), and that's why the name 'error' (as in www.cife.org.uk/error) has produced this odd behaviour.
Last edited by cife on Fri Jul 30, 2010 9:59 am, edited 1 time in total.
owr_bgld

Re: Is 'error' a fobidden page alias - odd 404 problem.

Post by owr_bgld »

It's not a own tab anymore - it can't be found at pages

Solution here: http://forum.cmsmadesimple.org/index.ph ... 764.0.html
cife
Forum Members
Forum Members
Posts: 11
Joined: Tue Dec 02, 2008 9:05 am

Re: Is 'error' a fobidden page alias - odd 404 problem.

Post by cife »

Thanks Owr,

I see what the forum post you refer to says. In the 'content' part of Admin, when editing any page, in the main tab the first user-defined bit is a drop-down list titled 'content type', and 'Error page' is one of the drop down options. And I guess that the other part of my query, about the 404 messages comes down to stuff going on with 1and1's server?
Post Reply

Return to “CMSMS Core”