IPB

Welcome Guest ( Log In | Register )

Custom 404 Page Not Working

This topic is about Custom 404 Page Not Working, the author, AgentFubu, wrote about: Hey, Everything in the new release is working fine for me, except custom 404 pages. I've tried the name of the 404 file, the full path on my server, and it still won't redirect. I'm not ... To read more just scroll down

> Post all bugs on Bug Tracker

As we have soo much small queries and big bugs its hard for us to go through all of them, so we installed IP.Tracker.
Please use that module to report any bug found on our system.
Create New Bug entry

 
Reply to this topicStart new topic
Custom 404 Page Not Working
AgentFubu
post Apr 19 2008, 03:13 PM
Post #1


Advanced Member
***

Group: Moderator
Posts: 163
Joined: 3-February 08
From: Chicago, IL
Member No.: 154



Hey,

Everything in the new release is working fine for me, except custom 404 pages. I've tried the name of the 404 file, the full path on my server, and it still won't redirect.

I'm not sure if it's something specific with my server, but if you need any more info just tell me.

Thanks,
Matt


--------------------
My Site: Mccreations
Need help? PM me!
Go to the top of the page
 
+Quote Post
bramburn
post Apr 19 2008, 08:22 PM
Post #2


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



can you post a snapshot of your settings?


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
AgentFubu
post Apr 19 2008, 09:04 PM
Post #3


Advanced Member
***

Group: Moderator
Posts: 163
Joined: 3-February 08
From: Chicago, IL
Member No.: 154



QUOTE (bramburn @ Apr 19 2008, 03:22 PM) *
can you post a snapshot of your settings?


Sure, just the 404 section?


--------------------
My Site: Mccreations
Need help? PM me!
Go to the top of the page
 
+Quote Post
bramburn
post Apr 19 2008, 09:12 PM
Post #4


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



yah.

i believe you don't have to put the full path to the file, just the file starting from the root, so that people don't call things from other places.


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
AgentFubu
post Apr 20 2008, 04:24 PM
Post #5


Advanced Member
***

Group: Moderator
Posts: 163
Joined: 3-February 08
From: Chicago, IL
Member No.: 154



Here's a pic:
(sorry bout the volume thing smile.gif)





Settings I've tried:
/forums/404.html
/404.html
/htdocs/forums/404.html
/usr/local/apache2/htdocs/forums/404.html
http://www.mccreations.us/forums/404.html

I'm stuck huh.gif


--------------------
My Site: Mccreations
Need help? PM me!
Go to the top of the page
 
+Quote Post
ChrisChristian
post Apr 20 2008, 05:43 PM
Post #6


Advanced Member
***

Group: Contributors
Posts: 57
Joined: 11-September 07
Member No.: 58



Maaybe, you need to configure your htaccess to use it?


--------------------
Chris Christian
Go to the top of the page
 
+Quote Post
AgentFubu
post Apr 20 2008, 06:00 PM
Post #7


Advanced Member
***

Group: Moderator
Posts: 163
Joined: 3-February 08
From: Chicago, IL
Member No.: 154



QUOTE (ChrisChristian @ Apr 20 2008, 11:43 AM) *
Maaybe, you need to configure your htaccess to use it?


It is configured, but that doesn't work because minerva handles all the url's in the forum directory.


--------------------
My Site: Mccreations
Need help? PM me!
Go to the top of the page
 
+Quote Post
bramburn
post Apr 20 2008, 06:07 PM
Post #8


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



try this:
in modules/minerva/tools/include.php

find:

CODE
include_once($this->ipsclass->vars['mseo_error404_custom']);

replace:

CODE
include_once(ROOT_PATH.$this->ipsclass->vars['mseo_error404_custom']);


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
AgentFubu
post Apr 20 2008, 06:17 PM
Post #9


Advanced Member
***

Group: Moderator
Posts: 163
Joined: 3-February 08
From: Chicago, IL
Member No.: 154



QUOTE (bramburn @ Apr 20 2008, 12:07 PM) *
try this:
in modules/minerva/tools/include.php

find:

CODE
include_once($this->ipsclass->vars['mseo_error404_custom']);

replace:

CODE
include_once(ROOT_PATH.$this->ipsclass->vars['mseo_error404_custom']);


Nope, sorry sad.gif


--------------------
My Site: Mccreations
Need help? PM me!
Go to the top of the page
 
+Quote Post
AgentFubu
post Apr 22 2008, 02:52 AM
Post #10


Advanced Member
***

Group: Moderator
Posts: 163
Joined: 3-February 08
From: Chicago, IL
Member No.: 154



So is there no hope for me?

If there isn't don't worry about it.

I just want to know.


--------------------
My Site: Mccreations
Need help? PM me!
Go to the top of the page
 
+Quote Post
bramburn
post Apr 22 2008, 06:23 AM
Post #11


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



try remove rewritebase / in the .htaccess


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
AgentFubu
post Apr 22 2008, 09:22 PM
Post #12


Advanced Member
***

Group: Moderator
Posts: 163
Joined: 3-February 08
From: Chicago, IL
Member No.: 154



When I remove that I get:

CODE
[Tue Apr 22 16:21:34 2008] [error] [client 192.168.1.104] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://www.mccreations.us/forums/
[Tue Apr 22 16:21:34 2008] [error] [client 192.168.1.104] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://www.mccreations.us/forums/


in my error logs and a 500 server error on my forums.


--------------------
My Site: Mccreations
Need help? PM me!
Go to the top of the page
 
+Quote Post
bramburn
post Apr 23 2008, 05:37 AM
Post #13


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



put it back.

hmm did you add the new edits in ipsclass.php?


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
AgentFubu
post Apr 23 2008, 06:53 PM
Post #14


Advanced Member
***

Group: Moderator
Posts: 163
Joined: 3-February 08
From: Chicago, IL
Member No.: 154



Yep, there's only 2 right?

QUOTE
Open File: sources/ipsclass.php
Find:
if ($this->member['id'] == "" and $error['MSG'] != 'server_too_busy' and $error['MSG'] != 'account_susp')
{
$safe_string = $this->base_url . str_replace( '&', '&', $this->parse_clean_value($this->my_getenv('QUERY_STRING')) );
$html = str_replace( "", $this->compiled_templates['skin_global']->error_log_in( str_replace( '&', '&', $safe_string ) ), $html);
$override = 1;
}
Add after:
$this->minerva->return_checked_error($error['MSG']);
Find:
function board_offline()
{
$this->quick_init();
Add after:
$this->minerva->r503();


--------------------
My Site: Mccreations
Need help? PM me!
Go to the top of the page
 
+Quote Post
AgentFubu
post May 1 2008, 01:07 PM
Post #15


Advanced Member
***

Group: Moderator
Posts: 163
Joined: 3-February 08
From: Chicago, IL
Member No.: 154



I found something strange, my custom 404 page only works when I request an xml file that doesn't exist?

I'm really confused. unsure.gif


--------------------
My Site: Mccreations
Need help? PM me!
Go to the top of the page
 
+Quote Post
bramburn
post May 2 2008, 05:49 AM
Post #16


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



can you post a link?


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
AgentFubu
post May 2 2008, 09:55 PM
Post #17


Advanced Member
***

Group: Moderator
Posts: 163
Joined: 3-February 08
From: Chicago, IL
Member No.: 154



QUOTE (bramburn @ May 2 2008, 12:49 AM) *
can you post a link?


http://www.mccreations.us/forums/


--------------------
My Site: Mccreations
Need help? PM me!
Go to the top of the page
 
+Quote Post
bramburn
post May 2 2008, 10:00 PM
Post #18


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



well sort of work...
http://www.mccreations.us/forums/matt-u65465464.html
http://www.mccreations.us/forums/mooooo.jpeg


but if you want to 404 some other pages can you link me to them so that i can work something out?



--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
AgentFubu
post May 2 2008, 10:27 PM
Post #19


Advanced Member
***

Group: Moderator
Posts: 163
Joined: 3-February 08
From: Chicago, IL
Member No.: 154



Alright, well if at least some of it works I'm happy.

The reason why I wanted to know is because I changed my FURL once so there's a lot of bad links. Even if there isn't a custom error page, does it still have the right headers?

That's all I really care about smile.gif


--------------------
My Site: Mccreations
Need help? PM me!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet


 



RSS Lo-Fi Version | Sitemap  | SEO by MinervaSEO © Icelabz.net Time is now: 2nd December 2008 - 09:08 PM