Jump to content

Can someone help me with this?


dzacharias

Recommended Posts

I am getting this error when accessing a web site that I need to work.. What would cause this? How can I fix it?

any help would be appreachited.

Thanks,

heres the errors that Im getting:

 

Warning: main(config.php) [function.main]: failed to open stream: No such file or directory in C:\Inetpub\vhosts\3ctsystems.net\httpdocs\modernbill\order\orderwiz.php on line 25

 

Warning: main(config.php) [function.main]: failed to open stream: No such file or directory in C:\Inetpub\vhosts\3ctsystems.net\httpdocs\modernbill\order\orderwiz.php on line 25

 

Fatal error: main() [function.require]: Failed opening required 'config.php' (include_path='.;c:\php') in C:\Inetpub\vhosts\3ctsystems.net\httpdocs\modernbill\order\orderwiz.php on line 25

 

 

Link to comment
https://forums.phpfreaks.com/topic/55378-can-someone-help-me-with-this/
Share on other sites

Path to file mean:

 

For example Your file is in directory: localhost/www/sitetest/include/config.php

 

But mistakenly u give the path in other script as: localhost/www/sitetest/config.php

 

OR

other there another way to include files.

For example U have sitetest main directory and there are other directories in that directory,

One of ur file is in the sitetest/test/abc/show.php

Now if ur db file is in the directory sitetest than u will inlcude it like: ../../config.php

 

Hope this will give u some idea.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.