Home > Cpanel scripts or addon software installations > Errors after installing oscommerce

Errors after installing oscommerce

October 6th, 2009

< PROBLEM >

Errors after installing oscommerce

Immediatly after installing oscommerce through CPanel add-on scripts i get this error Sad

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

Fatal error: main() [function.main]: Failed opening required ‘includes/configure.php’ (include_path=’/usr/local/lib/php:/usr/lib/php’) in /home/ctbhost/public_html/cart/admin/includes/application_top.php on line 34

<? SOLUTION ?>

We can fix this error through following file edits.

1> in /shop/admin/includes/application_top.php
Change
require(’includes/configure.php’);
TO
require(’./includes/configure.php’);

2> in /shop/includes/application_top.php
Change
require(’includes/configure.php’);
TO
require(’./includes/configure.php’);

3> IN /cart/includes/configure.php
Change
define(’DIR_WS_INCLUDES’, ‘includes/’);
TO
define(’DIR_WS_INCLUDES’, ‘./includes/

4> IN /cart/admin/includes/configure.php
Change
define(’DIR_WS_INCLUDES’, ‘includes/’);
TO
define(’DIR_WS_INCLUDES’,’./includes/’);

Cpanel scripts or addon software installations

  1. No comments yet.
  1. No trackbacks yet.