Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot access OScommerce site I installed


Heidrun

Recommended Posts

Posted

Hello, I receive following error message when I try to enter the oscommerce site I installed from Inmotion:

 

Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /home/engedi7/public_html/engedi/includes/application_top.php on line 279

 

Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /home/engedi7/public_html/engedi/includes/application_top.php on line 279

 

Fatal error: require() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/engedi7/public_html/engedi/includes/application_top.php on line 279

Posted

Verify that includes/application_top.php is in the directory. If so, then your issue is more then likely with your includes/configure.php file. You can post it here wrapped in code tags and one of us will point out the issue.

 

Please note,DO NOT POST THE DATABASE INFORMATION. (Lines 26-28)

 

Example of a working configure file, where instead of a using a catalog directory I used index...

<?php
 define('HTTP_SERVER', 'http://www.onlinegamekey.com');
 define('HTTPS_SERVER', 'https://www.onlinegamekey.com');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/index/');
 define('HTTPS_COOKIE_PATH', '/index/');
 define('DIR_WS_HTTP_CATALOG', '/index/');
 define('DIR_WS_HTTPS_CATALOG', '/index/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/home5/onlinecd/public_html/index/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 define('DB_SERVER', 'localhost');
 define('DB_SERVER_USERNAME', 'xxxxx');
 define('DB_SERVER_PASSWORD', 'xxxxx');
 define('DB_DATABASE', 'xxxxxx');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

Posted

You're missing the "language" name (in the $language variable) in application_top.php. Thus, it's trying to read ".php" rather than, say, "english.php". We know that your application_top.php file exists -- it's the one trying to pull in ".php". What languages do you have installed, what character set encoding is used, and most importantly, what language is your browser set up to talk to you in? Also, what version of osC, and what changes or upgrades have recently been made to your site?

 

This missing language string is a distressingly common problem. osC needs to be fixed. A search through this forum will show many, many threads on it. Perhaps one of them will solve your problem?

Archived

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

×
×
  • Create New...