php error .. HELP IS NEEDED !! PLEASE

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
subzero1754
Forum Newbie
Posts: 1
Joined: Sun Feb 13, 2011 10:54 pm

php error .. HELP IS NEEDED !! PLEASE

Post by subzero1754 »

i see this error and i don't know what to so i appreciate any try for helping me or directing me to the right place or forum to get the suitable help or advice and thanks in advance ...

_________________________________________________________________________________________________________________________
Warning: require_once(/usr/local/apache/htdocs/~mizooooc/inc/security.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/mizooooc/public_html/inc/header.inc.php on line 172

Fatal error: require_once() [function.require]: Failed opening required '/usr/local/apache/htdocs/~mizooooc/inc/security.inc.php' (include_path='.:/usr/lib/php') in /home/mizooooc/public_html/inc/header.inc.php on line 172
cpetercarter
Forum Contributor
Posts: 474
Joined: Sat Jul 25, 2009 2:00 am

Re: php error .. HELP IS NEEDED !! PLEASE

Post by cpetercarter »

It means what it says. PHP cannot find the file. Possible reasons:
- a simple spelling error either in the script which calls security.inc.php or in the title of security.inc.php;
- you have specified an incorrect path from the script that is attempting to 'require' security.inc.php;
- php does not have permission to read the file. Normally, php scripts should have file permissions of 0644.
Post Reply