Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Failed opening required 'includes/languages/.ph


slimjim

Recommended Posts

I am tring to install 2.2. but when I try to access either the default catlog page or admin page I get:

 

Fatal error: Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /home/sites/site4/web/shop/catalog/includes/application_top.php on line 251

 

I've tried messing around with the configuration settings with getting anywhere. Here are my current config settings:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.glasgowwestend.co.uk'); // eg, http://localhost - should not be NULL for productive servers

define('HTTPS_SERVER', 'https://www.glasgowwestend.co.uk'); // eg, https://localhost - should not be NULL for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('DIR_WS_CATALOG', '/home/sites/site4/web/shop/catalog/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

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', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', '/home/sites/site4/web/shop');

define('DIR_FS_CATALOG', '/home/sites/site4/web/shop/catalog/');

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

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

 

All help will be appreciated.

 

Thanks,

Jim

Link to comment
Share on other sites

  • 3 weeks later...
It's ok, I set the document root wrong. Time to move on.

 

Jim :D

 

hmm, a user just emailed me that he got this error as well. I don't get the error myself in MSIE, so I am curious as to know the issue at hand.

 

Anybody has had this error as well? I'm sure it is not the doc root in my case, as everything else works just prefect.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...