404 pages on 1.10.3 "Hyacinthe"

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
tylei
New Member
New Member
Posts: 8
Joined: Sun Jun 17, 2012 12:44 pm

404 pages on 1.10.3 "Hyacinthe"

Post by tylei »

Im using shared hosting server with direct admin, it has custom 404.shtml by defould, but when installing 1.10.3 "Hyacinthe" with mod_rewrite, this 404 wouldn't appear.
I have try to set it manually with .htaccess by entering ErrorDocument 404 /404.shtml but it didnt helped.
SimonJ

Re: 404 pages on 1.10.3 "Hyacinthe"

Post by SimonJ »

I have this in 404.shtml

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"> 
<__html>
  <head>
    <title>
      Tux
    </title>
    <META NAME="revisit" CONTENT="2 days">
    <meta NAME="Robot" CONTENT="allow">
  </head>
  </__body>
    <__script__ type="text/javascript" language="javascript">
    window.location="http://tux.id.au/index.php?page=error404";
    </__script>
    Click <a href="http://tux.id.au/index.php?page=error404">here</a>
     to enter site<br>
  <__body>
</__html>
 
Which points to the 404 error page I set up in CMSMS
tylei
New Member
New Member
Posts: 8
Joined: Sun Jun 17, 2012 12:44 pm

Re: 404 pages on 1.10.3 "Hyacinthe"

Post by tylei »

SimonJ wrote:I have this in 404.shtml

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"> 
<__html>
  <head>
    <title>
      Tux
    </title>
    <META NAME="revisit" CONTENT="2 days">
    <meta NAME="Robot" CONTENT="allow">
  </head>
  </__body>
    <__script__ type="text/javascript" language="javascript">
    window.location="http://tux.id.au/index.php?page=error404";
    </__script>
    Click <a href="http://tux.id.au/index.php?page=error404">here</a>
     to enter site<br>
  <__body>
</__html>
 
Which points to the 404 error page I set up in CMSMS
how did you done setup of 404 in CMSMS maby thereis smth in cpanel?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: 404 pages on 1.10.3 "Hyacinthe"

Post by Dr.CSS »

You can make a custom 404 page in the admin of CMSMS, check under Site admin...

EDIT: sorry, it is "site down" under site admin...
tylei
New Member
New Member
Posts: 8
Joined: Sun Jun 17, 2012 12:44 pm

Re: 404 pages on 1.10.3 "Hyacinthe"

Post by tylei »

Dr.CSS wrote:You can make a custom 404 page in the admin of CMSMS, check under Site admin...
cant find anything related with 404 under siteadmin could you be more specific, please?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: 404 pages on 1.10.3 "Hyacinthe"

Post by Dr.CSS »

Sorry it isn't "in the admin" add new content/page use Content type: Error page...
SimonJ

Re: 404 pages on 1.10.3 "Hyacinthe"

Post by SimonJ »

Yes in Admin/Pages you can add new content and then change content type from Content to Error Page (among others). :)
Locked

Return to “[locked] Installation, Setup and Upgrade”