Errors after installing oscommerce
< PROBLEM >
Errors after installing oscommerce
Immediatly after installing oscommerce through CPanel add-on scripts i get this error ![]()
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/’);