Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 27th, 2006, 06:52 PM
Authorized User
 
Join Date: Jul 2006
Location: Happaugh, NY, .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 9 - Error Document

I cant get the custom error document to work. I call the script (manually per the book for testing) and it works fine. I have it working at work - but i cant get it to work at home. So frustrating. I deflagged the IE Show Friendly Http Pages" option, i also changed my config. as such:

alias /error/ "C:/Program Files/xampp/apache/error/"

ErrorDocument 400 /error.php?400
ErrorDocument 401 /error.php?401
ErrorDocument 403 /error.php?403
ErrorDocument 404 /error.php?404
ErrorDocument 500 /error.php?500


(where my error page resides) - and all I get is the standard error message (etc. 403 - not found). Any ideas are greatly appreciated.

Reply With Quote
  #2 (permalink)  
Old December 28th, 2006, 06:36 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

helo,

  i think your apache doesn't work thats why you got that error....

___________________________________
.::If you quit you loss, If you survive you win::.

.::JHANNY::.

Reply With Quote
  #3 (permalink)  
Old December 28th, 2006, 01:03 PM
Authorized User
 
Join Date: Jul 2006
Location: Happaugh, NY, .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My Apache works - i have been serving pages properly all the way up threw Chapter 9 (in thePHP/MY-SQL tutorial book) - so it has to be something else. Maybe a parm. flag in my Apache - any ideas? (Thanks in advance for any tips.)

Reply With Quote
  #4 (permalink)  
Old December 28th, 2006, 01:42 PM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,
  i think there is some program running in your computer and blocking to your apache sever... ive encouter that problem while ago....

_________________________________________
.::If you quit you loss, If you survive you win::.

.::JHANNY::.




Reply With Quote
  #5 (permalink)  
Old December 29th, 2006, 12:12 AM
Authorized User
 
Join Date: Dec 2006
Location: Burla, Orissa, India.
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to paagle
Default

best idea
set error reporting to zero
error_REPORTING(0);
SIMPLE

---
Paagle
TEAM LEADER-Team Xuberance(http://www.xuberance.com)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xpath error in Document() bonekrusher XSLT 13 September 30th, 2006 02:39 AM
document.DocumentElement.RemoveChild Error jrbancroft C# 2005 2 August 7th, 2006 10:36 PM
'window.opener.document' error in IE Colleen Javascript How-To 1 July 25th, 2006 07:57 PM
Document Class pointer error bluebeta Visual C++ 3 July 5th, 2006 05:10 AM
XML document error jaffir BOOK: ASP.NET Website Programming Problem-Design-Solution 2 July 26th, 2005 12:21 PM



All times are GMT -4. The time now is 04:14 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.