Log in

View Full Version : Custom Error Pages


tcs
06-18-2004, 10:00 PM
Customize your 400, 401, 403, 404 and 500 error pages to a vb page with navbar back to your site.

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.

This is not a hack - just a simple Add On

Dean C
06-19-2004, 03:20 PM
Thankyou for sharing your work with the community :)

Reeve of shinra
06-19-2004, 03:28 PM
nice!

On a side note: can I ask you where you got the clock from?

tcs
06-19-2004, 03:50 PM
The clock I got over a vbAdvanced.com.

drumsy
06-19-2004, 04:37 PM
Works great, thank you! :)

AlexanderT
06-20-2004, 08:59 AM
How would that hack differ from mine?

https://vborg.vbsupport.ru/showthread.php?t=65013

tcs
06-20-2004, 02:19 PM
How would that hack differ from mine?

https://vborg.vbsupport.ru/showthread.php?t=65013




Only that they are a different way to accomplish the same effect. One might be easier for some than the other one.

Sorry if you're upset. I can remove it. Make no difference to me.

AlexanderT
06-20-2004, 05:18 PM
Not upset at all ;) It might be only be confusing to someone who was looking for a particular hack like this one to find two different versions at the end.

Admiral Spock
07-13-2004, 03:41 AM
Thank you for this addon! I will install this soon. :)

Osterling
07-27-2004, 11:59 PM
<a href="http://www.exasko.info/forum/susercp.php?" target="_blank">http://www.exasko.info/forum/susercp.php?</a>

that is a 404 page, but yet the hack didn't work.. i did as i was told, uploaded all those pages, and created the one template..

could it be because i am runnin with god and not 3.0.1?

tcs
07-28-2004, 01:21 AM
Looks like you uploaded the same files for you root folder to your forums folder.

There are to seperate sets of files. 1 set for the root folder and one set for the forums folder.

Check that and see...

fiber1
08-06-2004, 11:51 PM
Nice hack!

Here is my problem though, the folder "/forums" I have mine named "/forum" for my own reason.

Where in the PHP file or elsewhere do I need to edit? Currently it loads and my page refreshes like crazy trying to find. But If I take the "s" out of "/forums" in the address bar it works fine.

I tried looking, but could not figure it out?

Thanks,

Fiber

tcs
08-07-2004, 12:26 AM
You would need to edit the files in the root folder and take the s off the forums path.

look for:

/forums/html_page_error.php

and remove the 's' from forums

fiber1
08-07-2004, 01:11 AM
Thanks, the only ones I did not look at.

Fiber

DWard
08-08-2004, 06:37 AM
Isn't it a bit inefficient? It pulls shtml files from all over the place. I'm considering releasing the one I created for my site.

http://www.collegepranks.co.uk/forums/error.php?e=404
http://www.collegepranks.co.uk/forums/error.php?e=403
http://www.collegepranks.co.uk/forums/error.php?e=dsagsdghd
etc.

dsboyce8624
05-17-2005, 12:35 AM
Isn't it a bit inefficient? It pulls shtml files from all over the place. I'm considering releasing the one I created for my site.

http://www.collegepranks.co.uk/forums/error.php?e=404
http://www.collegepranks.co.uk/forums/error.php?e=403
http://www.collegepranks.co.uk/forums/error.php?e=dsagsdghd
etc.

Okay, so where is it? I like the look of it.

Spitfireisgod
05-18-2005, 09:52 PM
Thank you for sharing this with the community :)

blueuniverse
06-23-2005, 05:49 AM
If I don't have a forums directory and my forums are at the root ie. rouseindahouse.com and not rouseindahouse.com/forums/, what changes would I need to make?

dsboyce8624
06-23-2005, 05:49 PM
Okay, I have the same issue, forums in the root.

I edited the root files to point to the root and changed the /forums/ files to *.html so they could co exist.

I also use windows, so I had to edit the custom error codes in the server settings.

Works fine, except you need to cache the template.

Sanjiyan
07-06-2005, 08:53 PM
how do I remove this hack?

I have deleted the error html pages, and also the html_page_error.php file and also the template, but when I try to force a 404 it still tries to go to a html_page_error.php when it does not exist, I have cleared my browser cache and everything.

tcs
07-06-2005, 10:18 PM
Just reverse the install and remove these pages

In the root folder (/public_html) Remove:
400.shtmt
401.shtmt
403.shtmt
404.shtmt
500.shtmt

CSS59
02-25-2006, 03:43 AM
do you have this for 3.5.4?

Torqued
04-10-2006, 12:22 AM
do you have this for 3.5.4?

Good question. Can this be updated to work w/ 3.5.4? :bunny:

tcs
04-10-2006, 12:43 AM
That will be no. I added on Zero's WebTemplates which had this built in. I have not looked at it to see what it would take but will if there is enough call for it.

rob30UK
05-20-2006, 09:16 AM
I would like to see this on 3.5.4 also....
how can we go about this?

CSS59
12-28-2006, 09:26 PM
I would like this for 3.6.4 please

tcs
12-28-2006, 09:50 PM
I will fix it up for you this weekend.

CSS59
12-29-2006, 02:25 AM
Thanks a ton!