Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with Include Files


mapenn

Recommended Posts

I've spent hours searching the forums and web for a solution. If anybody can help, I would very much appreciate it!

 

I am transferring an OSCommerce site from Yahoo web hosting to an Apache server (php 4). After installation, I get errors related to include paths. For example:

 

Warning: main(includes/configure.php) [function.main]: failed to open stream: No such file or directory in /home/penncomm/public_html/store/includes/application_top.php on line 30

 

Fatal error: main() [function.require]: Failed opening required 'includes/configure.php' (include_path='.:/include:/usr/local/lib/php') in /home/penncomm/public_html/store/includes/application_top.php on line 30

 

I've tried everything I can think of, including going through the configuration file and making all of the include paths absolute. That works until it tries to call the tep_db_connect() function, which it says is "undefined" (even though the database.php page is successfully included).

 

I have access to my php.ini file, and made sure that the "." was in the include path. All of the include files ARE on the server. I have tried installing both manually, and using the Fantastico installation method -- same problems. Which leads me to believe that the issue is server-related. There must be some server setting that I am missing.

 

Please help! Thanks!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...