Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

got "[function.main]: failed to create stream" whe


Sam Lam

Recommended Posts

Dear all,

 

I was installed the OSC at one hosting co and run fine, but that co not stable enough so I get another hosting company, after I copy the catalog dir to the space and set file rights I got the following error message:

 

Warning: main(includes/functions/general.php) [function.main]: failed to create stream: No such file or directory in /home/my_dir/public_html/catalog/install/includes/application.php on line 25

 

Fatal error: main() [function.main]: Failed opening required 'includes/functions/general.php' (include_path='.:/usr/local/lib/php') in /home/my_dir/public_html/catalog/install/includes/application.php on line 25

 

I was quite sure both the general.php and application.php are in right place and I run the same files in other hosting company and they are fine. Will the hosting company disable any function that cause it?

 

Thanks for everyone help.

 

Sam[/img]

Link to comment
Share on other sites

they inserted

ini_set("include_path", "/home/ezreef/public_html/catalog/install/"); to my catalog/install/index.php then I can finished the setup, but when I tried to go to the catalog otr admin still get the error:

 

Warning: main(includes/configure.php) [function.main]: failed to create stream: No such file or directory in /home/ezreef/public_html/catalog/includes/application_top.php on line 35

 

Fatal error: main() [function.main]: Failed opening required 'includes/configure.php' (include_path='/home/ezreef/public_html/catalog/install/') in /home/ezreef/public_html/catalog/includes/application_top.php on line 35

 

 

anyone can suggest why and how I can fix it?

 

Thanks for your help..

 

Sam

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...