Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

My site was working fine until . . .


pacman

Recommended Posts

Posted

until I tried to install an application that helps Flash communicate with PHP.

This application had nothing to do with my e-commerce, but now I'm getting the following error:

Warning: main(includes/configure.php): failed to open stream: No such file or directory in /usr/home/web/users/a0017855/html/catalog/includes/application_top.php on line 29

 

Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='http://www.caillouette.com/myproject/flashservices/app/Gateway.php') in /usr/home/web/users/a0017855/html/catalog/includes/application_top.php on line 29

 

What doi I need to do to fix this?

 

Thank You

Posted

Start by posting the application_top at least line 29 and 5 lines above and below it

Posted

line 28-35 is as follows

// include server parameters

 require('includes/configure.php');

 

// define the project version

 define('PROJECT_VERSION', 'osCommerce 2.2-MS2-CVS');

 

// set the type of request (secure or not)

 $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

 

 

includes/configure.php is as follows from line 27-35

 

 

define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');

 define('DIR_FS_DOCUMENT_ROOT', '/usr/home/web/users/a0017855/html');

 define('DIR_FS_CATALOG', '/usr/home/web/users/a0017855/html/catalog/');

 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

 define('DB_SERVER', 'caillouettedesign.com.phtemp.com'); // eg, localhost - should not be empty for productive servers

 define('DB_SERVER_USERNAME', 'a0017855');

 

Thanks

Posted

the path was set in my php ini file, so I deleted it and now my e-commerce site works just fine.

 

Thanks anyway

Archived

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

×
×
  • Create New...