Forum Moderators: coopster

Message Too Old, No Replies

failed to open stream

         

ttkt

3:20 pm on Jul 7, 2005 (gmt 0)

10+ Year Member



hi all,

why do i get these errors?

Warning: main(../accessControl/loginController.php): failed to open stream: No such file or directory

Warning: main(): Failed opening '../accessControl/loginController.php' for inclusion (include_path='.:/usr/share/pear')

i saw this file in the path...not sure what happen.

Philosopher

3:37 pm on Jul 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That error ususally occurs when the file you are attempting to include is not in the include path (which in your case seems to be .:/usr/share/pear')

Is accessControl/loginController.php a subfolder of .:usr/share/pear?

Generally includes will be searched for first relative to where the file calling the include is, then in whatever include path is set (see above). Where is the file you are including found?

ttkt

3:43 pm on Jul 7, 2005 (gmt 0)

10+ Year Member



hi,

the full path is

Warning: main(../accessControl/loginController.php): failed to open stream: No such file or directory in /home/httpd/vhosts/ims.crpp.net/httpdocs/main/view/searchMenu_1.php on line 3

Warning: main(../accessControl/loginController.php): failed to open stream: No such file or directory in /home/httpd/vhosts/ims.crpp.net/httpdocs/main/view/searchMenu_1.php on line 3

Warning: main(): Failed opening '../accessControl/loginController.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/ims.crpp.net/httpdocs/main/view/searchMenu_1.php on line 3

Philosopher

4:39 pm on Jul 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It looks like your include files are not in the proper path.

Do you know the full path to /accessControl/loginController.php?

ttkt

3:30 pm on Jul 18, 2005 (gmt 0)

10+ Year Member



sorry for the late reply. the problem is resolved, thanks.