Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Windows server can't find files in sub-folders


Praggers

Recommended Posts

I am trying to install OScommerce under "http://localhost/catalog" on my development platform (Windows98SE, Apache 1.3.20, PHP 4.3.9). It simply does not work. I get the following errors:

 

1. when I browse to "http://localhost/catalog" I just get the directory listing - no script runs.

2. When I browse to "http://localhost/catalog/index.php" I get the following on a blank screen:

 

Warning: main(includes/configure.php): failed to open stream: No such file or directory in c:\htdocs\catalog\includes\application_top.php on line 29

 

Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='c:\php\includes') in c:\htdocs\catalog\includes\application_top.php on line 29

 

3. When I browse to "http://localhost/catalog/install" I just get the directory listing - no script runs.

 

4. When I browse to "http://localhost/catalog/install/index.php" I get the following on a blank screen:

 

Warning: main(includes/functions/general.php): failed to open stream: No such file or directory in c:\htdocs\catalog\install\includes\application.php on line 22

 

Fatal error: main(): Failed opening required 'includes/functions/general.php' (include_path='c:\php\includes') in c:\htdocs\catalog\install\includes\application.php on line 22

 

5. When I browse to "http://localhost/catalog/install/install.php" I get the following on a blank screen:

 

Warning: main(includes/functions/general.php): failed to open stream: No such file or directory in c:\htdocs\catalog\install\includes\application.php on line 22

 

Fatal error: main(): Failed opening required 'includes/functions/general.php' (include_path='c:\php\includes') in c:\htdocs\catalog\install\includes\application.php on line 22

 

 

I have followed all the installation instructions (I have downloaded all the documentation). The problem is clearly something to do with path resolution. I hope someone can help me with this because OScommerce seems to be a good package...

Link to comment
Share on other sites

In apache/conf/httpd.conf make sure you have DirectoryIndex index.php

 

In your php.ini file make sure that you have .; at the beginning of include_path

 

Both these are server configuration issues and you should find the suitable forums for those :D

 

Matti

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...