PDA

View Full Version : Custom Error Pages


Chuckie
06-19-2004, 11:08 AM
Customize your 400, 401, 403, 404 and 500 error pages.

Demo
turn this:
http://vbadvanced.com/dog.php
(If brain adds this then this demo will not work)lol

into this:
http://www.maysvillekybbs.com/forums/html_page_error.php?file=404.shtml

Using a modified Dr Erwin Loh html.php hack.

Instructions in the zip file.

Hope this helps someone.

9 files to upload and 1 template to add.

Chuck

cosmictej
06-21-2004, 03:41 AM
helpt me, im bout to install it, i will post results :)

Our Sponsors
 

Realist
06-25-2004, 09:05 AM
Works.

From This (http://www.tech-tronix.com)
To This (http://www.tech-tronix.com/indexx.php)

Thanks

Chuckie
06-25-2004, 10:09 AM
Your welcome. You can change the text in the shtml files located in the forums folder to say anything you want.

I forgot to add that.

Our Sponsors
 

mholtum
06-25-2004, 10:59 AM
ok, what did I do wrong? When I try to go to http://www.ravensrealm.net/indexx.php I get a really annoying clicking sound and a white background for what seems like forever.

BoNfiRe
06-25-2004, 11:10 AM
that clicking sound is your page refreshing repeatedly not sure why it would do this other than maybe you are using cPanel, and you allready have custom error pages so the 2 conflict ( this is just a hunch not sure if that is what it would do. ) or ofcourse it could have just been a silly error in the install. :)

mholtum
06-25-2004, 11:19 AM
1: I am using cpanel, but do not have custom error pages enabled.
2: Silly Error in install? Yea, I might have botched the upload.. ;)
3: Contacted my host to see if he could disable the CEP that is on my site through cpanel

mholtum
06-25-2004, 12:54 PM
The problem was caused by an incorrect path in the error pages I placed in my root directory.

they had a line that looked like this:
window.location="/forums/html_page_error.php?file=404.shtml"


because I do not have a forums direcotry (just forum)
this resulted in an endless loop of page not found.
I corrected the path and it is working fine now.

Kesomir
07-13-2004, 01:35 PM
Is there any way to get this to work on subdomains?

it works fine in my www.site.org and www.site.org/forums/ but not in forums.site.org

I thought about putting the root files in the subdomain folder, but the text files are in there with the same name...

Torqued
11-14-2004, 07:24 PM
I just stumbled across this. great little add-on. thanks!