Zubrag.com
April 23, 2018, 08:43:43 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Error message. Please help  (Read 2911 times)
Brandon08
Newbie
*
Posts: 1


« on: April 18, 2012, 01:18:10 PM »

Warning: include(/password_protect.php) [function.include]: failed to open stream: No such file or directory in /home/brandon/mysite.com/maintenance/index.php on line 1

Warning: include() [function.include]: Failed opening '/password_protect.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/brandon/mysite.com/maintenance/index.php on line 1

How do i fix these error messages?

Logged
Caffeine_Cadet
Newbie
*
Posts: 13


« Reply #1 on: April 19, 2012, 04:58:38 PM »

that error means that the you are pointing to a file that does not exist.  check for type-os

possibilities: 
mysite.com as a directory name?
make sure you have at least read privileges for the directory in question.  try executing the following command in bash: chmod 777 ~/brandon/mysite.com/maintenance/index.php

anyway, both of these errors are effectively the same:  your passing the "include" function a null value because the file does not exist in the path.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC