Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FAILED TO OPEN STREAM: No such file or directory


rsala2001

Recommended Posts

This is all what I?m getting... Any help on this ???. . Would be great if I?m able to see a working example of Config.php and Application_Top.php files.

 

Note: I?m running the code in a Linux/PHP server at Godaddy.com

 

Warning: main(../../../../oscommerce2/catalog/admin/includes/includes/configure.php): failed to open stream: No such file or directory in /home/content/robert/html/oscommerce2/catalog/admin/includes/application_top.php on line 29

 

Warning: main(../../../../oscommerce2/catalog/admin/includes/includes/configure.php): failed to open stream: No such file or directory in /home/content/robert/html/oscommerce2/catalog/admin/includes/application_top.php on line 29

 

Fatal error: main(): Failed opening required '../../../../oscommerce2/catalog/admin/includes/includes/configure.php' (include_path='.:/usr/local/lib/php') in /home/content/robert/html/oscommerce2/catalog/admin/includes/application_top.php on line 29 :x :x

Link to comment
Share on other sites

This is all what I?m getting... Any help on this ???. . Would be great if I?m able to see a working example of Config.php and Application_Top.php files.

 

Note: I?m running the code in a Linux/PHP server at Godaddy.com

 

Warning: main(../../../../oscommerce2/catalog/admin/includes/includes/configure.php): failed to open stream: No such file or directory in /home/content/robert/html/oscommerce2/catalog/admin/includes/application_top.php on line 29

 

Warning: main(../../../../oscommerce2/catalog/admin/includes/includes/configure.php): failed to open stream: No such file or directory in /home/content/robert/html/oscommerce2/catalog/admin/includes/application_top.php on line 29

 

Fatal error: main(): Failed opening required '../../../../oscommerce2/catalog/admin/includes/includes/configure.php' (include_path='.:/usr/local/lib/php') in /home/content/robert/html/oscommerce2/catalog/admin/includes/application_top.php on line 29 :x  :x

Those paths look wrong to me. That's the first thing I'd check out. Do you really have .../includes/includes/...? Did you manually enter all of the "../../../" or is that really part of the error message?

Link to comment
Share on other sites

Thanks Dave,

 

First I don?t have a .../includes/includes/ folder and I don?t know why it?s being generated in the error.

 

If I move up the catalog folder to the main root, I still getting the error.

What do the paths in your configure files look like? What are you using to edit your files?

Link to comment
Share on other sites

I got it. The error was originated because relative path handling with DreamWeaver MX. I moved the catalog folder up and down and this action corrupted the paths in a lot of files.

 

I?ve just published a fresh copy of the files and now everything is working OK.

 

Thanks Dave for your interest in solving this issue.

Link to comment
Share on other sites

I got it.  The error was originated because relative path handling with DreamWeaver MX. I moved the catalog folder up and down and this action corrupted the paths in a lot of files.

 

I?ve just published a fresh copy of the files and now everything is working OK.

 

Thanks Dave for your interest in solving this issue.

Yeah, DW will do that. Never let it update your PHP files.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...