[SOLVED] Custom Error Pages!

This is a discussion on "[SOLVED] Custom Error Pages!" within the Web Page Design section. This forum, and the thread "[SOLVED] Custom Error Pages! are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 11th, 2007, 03:28
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 18
Posts: 231
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mcdanielnc89 Send a message via Yahoo to mcdanielnc89 Send a message via Skype™ to mcdanielnc89
[SOLVED] Custom Error Pages!

Hello, I have cpanel to edit things and I'm trying to do custom error pages.. Exactly how do i do it..

I want them to show in my layout????

Thanks,
-Nathaniel
Last Blog Entry: My blog? (Oct 18th, 2007)

Last edited by mcdanielnc89; Oct 11th, 2007 at 03:33. Reason: added more.
Reply With Quote

  #2 (permalink)  
Old Oct 11th, 2007, 05:29
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,608
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
Re: Custom Error Pages!

what types of error that you are talking about?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Reply With Quote
  #3 (permalink)  
Old Oct 11th, 2007, 05:48
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 18
Posts: 231
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mcdanielnc89 Send a message via Yahoo to mcdanielnc89 Send a message via Skype™ to mcdanielnc89
Re: Custom Error Pages!

like 400, 401, 403, 404, 500
Last Blog Entry: My blog? (Oct 18th, 2007)
Reply With Quote
  #4 (permalink)  
Old Oct 11th, 2007, 05:52
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 18
Posts: 231
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mcdanielnc89 Send a message via Yahoo to mcdanielnc89 Send a message via Skype™ to mcdanielnc89
Re: Custom Error Pages!

like if you would go to http://newbreedjesusfreaks.com/live ... it should show the 404 error but only shows my layout.. LOOOOOL. I've never delt with this so i dunno.. LOOOOL
Last Blog Entry: My blog? (Oct 18th, 2007)
Reply With Quote
  #5 (permalink)  
Old Oct 11th, 2007, 05:59
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,608
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
Re: Custom Error Pages!

Try this: "HTML Custom Error Message"
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Reply With Quote
  #6 (permalink)  
Old Oct 11th, 2007, 09:06
Junior Member
Join Date: Jan 2006
Location: India
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jram Send a message via Yahoo to jram
Re: Custom Error Pages!

Its simple. Just follow the steps.

1. Open notepad and copy this "ErrorDocument 404 /custom_404.html"

2. Save the file in name ".htaccess"

3. Upload the file to your server root directory where you have your web page files.

4.Change the permission of the ".htaccess" file to 777.

Thats it. Now you have 404 error page customized.

Note: Don't forget to upload "custom_404.html" to your server.
Reply With Quote
  #7 (permalink)  
Old Oct 11th, 2007, 17:03
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 18
Posts: 231
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mcdanielnc89 Send a message via Yahoo to mcdanielnc89 Send a message via Skype™ to mcdanielnc89
Re: Custom Error Pages!

hmm, i will try this.. Thanks.
Last Blog Entry: My blog? (Oct 18th, 2007)
Reply With Quote
  #8 (permalink)  
Old Oct 11th, 2007, 18:10
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 18
Posts: 231
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mcdanielnc89 Send a message via Yahoo to mcdanielnc89 Send a message via Skype™ to mcdanielnc89
Re: Custom Error Pages!

Do I save it as namehere.htaccess or just .htaccess
Last Blog Entry: My blog? (Oct 18th, 2007)
Reply With Quote
  #9 (permalink)  
Old Oct 11th, 2007, 18:11
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: Custom Error Pages!

just .htaccess
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #10 (permalink)  
Old Oct 11th, 2007, 18:45
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 18
Posts: 231
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mcdanielnc89 Send a message via Yahoo to mcdanielnc89 Send a message via Skype™ to mcdanielnc89
Re: Custom Error Pages!

Omword...

This is what the custom page shows.. I put my layout into the custom error page...

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@newbreedjesusfreaks.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Last Blog Entry: My blog? (Oct 18th, 2007)
Reply With Quote
  #11 (permalink)  
Old Oct 11th, 2007, 19:09
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,649
Thanks: 0
Thanked 8 Times in 8 Posts
Send a message via MSN to Marc Send a message via Skype™ to Marc
Re: Custom Error Pages!

Ok.. have a look here: http://www.totallyphp.co.uk/tutorial...cess_page2.htm. This should tell you how to do it.
Reply With Quote
  #12 (permalink)  
Old Oct 12th, 2007, 14:52
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 18
Posts: 231
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mcdanielnc89 Send a message via Yahoo to mcdanielnc89 Send a message via Skype™ to mcdanielnc89
Re: Custom Error Pages!

yay i got it jsut have to add my custom msg now, HAHA... ty all for the help
Last Blog Entry: My blog? (Oct 18th, 2007)
Reply With Quote
  #13 (permalink)  
Old Oct 12th, 2007, 15:25
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,608
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
Re: Custom Error Pages!

what's up with the "jsut", did you mistype it or purposely type it like that?
I think that I have saw/read you typing it that way in other post as well...
Is is just me or....?? LOL...
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Reply With Quote
  #14 (permalink)  
Old Oct 12th, 2007, 15:46
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: Custom Error Pages!

Monie, it's obviously a typo.
Spelling does not matter here, who cares!
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #15 (permalink)  
Old Oct 12th, 2007, 22:16
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 18
Posts: 231
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mcdanielnc89 Send a message via Yahoo to mcdanielnc89 Send a message via Skype™ to mcdanielnc89
Re: Custom Error Pages!

lol, I don't pay any attention when i type i jsut type, lol.. so it was a misprint, HAHA.
Last Blog Entry: My blog? (Oct 18th, 2007)
Reply With Quote
  #16 (permalink)  
Old Oct 13th, 2007, 16:01
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 18
Posts: 231
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mcdanielnc89 Send a message via Yahoo to mcdanielnc89 Send a message via Skype™ to mcdanielnc89
Re: Custom Error Pages!

mmk.. Well I got my layout for the error page but it doesn't show what error it is.. haha.. any ideas?
Last Blog Entry: My blog? (Oct 18th, 2007)
Reply With Quote
  #17 (permalink)  
Old Oct 14th, 2007, 12:27
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,649
Thanks: 0
Thanked 8 Times in 8 Posts
Send a message via MSN to Marc Send a message via Skype™ to Marc
Re: Custom Error Pages!

Ok.... In the error page say i call it error404.htm.. In that page i would put a 404 error.

Ach what the heck! I will write a tutorial on this and post it up tomorrow.
Reply With Quote
  #18 (permalink)  
Old Oct 14th, 2007, 17:11
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 18
Posts: 231
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mcdanielnc89 Send a message via Yahoo to mcdanielnc89 Send a message via Skype™ to mcdanielnc89
Re: Custom Error Pages!

I'm terribly sorry but I just don't get it. HAHA


Do you mean I have to put what I want in the error page? Like

Error 404.
Bad Request.
Last Blog Entry: My blog? (Oct 18th, 2007)
Reply With Quote
  #19 (permalink)  
Old Oct 14th, 2007, 17:20
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,649
Thanks: 0
Thanked 8 Times in 8 Posts
Send a message via MSN to Marc Send a message via Skype™ to Marc
Re: Custom Error Pages!

Yes
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] split xml search into multiple pages? karloff PHP Forum 19 Apr 27th, 2008 16:37
[SOLVED] Getting the "Microsoft JET Database Engine error '80040e14'" error. VegaLA Classic ASP 3 Jan 26th, 2008 00:12
[SOLVED] Links from inside swf to html pages Posie Flash & Multimedia Forum 6 Jan 3rd, 2008 22:02
[SOLVED] Headings H1 & 2 appear too big on my web pages? Oak Web Page Design 2 Dec 26th, 2007 00:11
[SOLVED] $_GET['ting'] Pages (Safely) With PHP AdRock PHP Forum 15 Nov 6th, 2007 13:18


All times are GMT. The time now is 20:59.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43