|
Technical answers from the trenches |
|
PHP Warning Error: "Failed opening..."
| ||||
Posted: 23 February 2003 |
||||
  |
Applies to: PHP v4 (possibly others) |
|||
  |
Audience: Beginner |
|||
Question: PHP displays an error when I try to view a document from my browser. Why and how do I fix it?Answer: While there are several possible causes for this error, the most common (in our experience) lies in the permissions of the document on your server. First, see if your error looks something like this: Warning: Failed opening '<your document's full filename>' for inclusion (include_path='...') in Unknown on line 0 If so, verify the permissions of the file you're trying to view. Odds are, you'll find the document cannot be read publically. For more information regarding file permissions and how to set them, please see O'Reilly's two part tutorial. |
|||
|
||||||||
|
Copyright © 2000-2004, techtricks.com; All Rights Reserved. Acknowledgements, Disclaimers, Terms and Conditions. |
||||||||
|
Article last updated on 31 May 2003
|
||
|
|
||
|
[- End -]
|