Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Fatal error: Failed opening required 'includes...


Recommended Posts



I installed the actual Version of OSC on my web-server. The installation finished with no error messages. After clicking the Button "Admin" (to open the admin-interface ;-) ) I got the following error-message:



Fatal error: Failed opening required 'includes/functions/database.php' (include_path='.') in /var/apache/news.asp-gmbh.de/htdocs/shop/admin/includes/application_top.php on line 148




My directory-structure is as follows


root of the server







I think, the problem is in the config.php-File of the admin-interface:




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

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

define('HTTP_SERVER', 'http://news.asp-gmbh.de'); // eg, http://localhost - should not be NULL for productive servers

define('HTTPS_SERVER', 'https://news.asp-gmbh.de'); // eg, https://localhost - should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://news.asp-gmbh.de');

define('HTTPS_CATALOG_SERVER', 'https://news.asp-gmbh.de');

define('ENABLE_SSL', 'false'); // secure webserver for administration tool

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/var/apache/news.asp-gmbh.de/htdocs'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/shop/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/var/apache/news.asp-gmbh.de/htdocs/shop/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/shop/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/var/apache/news.asp-gmbh.de/htdocs/shop/catalog/'); // absolute path required

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

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

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');




thx, Klaus

Link to comment
Share on other sites


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

  • Create New...