Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

logger.php (failed opening)


kittidid

Recommended Posts

I have tried and tried to find the error in configuration. I sure need some help. The error is when I try to bring up: http://www.wgroom.com/shop/catalog/index.php

 

 

Fatal error: Failed opening required 'includes/classes/logger.php' (include_path='') in /usr162/home/wgroom/public_html/shop/catalog/admin/includes/application_top.php on line 74

 

HELP!!

 

Kitti

Link to comment
Share on other sites

This is a curious error - admin/includes/application_top.php should not be called at all :blink:

 

Please post your catalog/includes/configure.php minus the database info

 

Matti

Link to comment
Share on other sites

shop/catalog/inlcudes/configure.php

 

define('HTTP_SERVER', 'http://www.wgroom.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.wgroom.com');

define('HTTPS_CATALOG_SERVER', 'https://www.wgroom.com');

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

define('DIR_FS_DOCUMENT_ROOT', '/usr163/home/w/g/wgroom/public_html'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', '/shop/catalog/admin/'); // absolute pate required

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

define('DIR_FS_CATALOG', '/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/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

Please take note that I have already asked my hosting company about the usr162 and usr163 in my path. Both work for the time being, but they are resolving the path to only usr163 today.

 

I have checked in my shop/catalog to make sure all files are located in their correct directories and all is fine. Everything else seems to work for the moment. I do however have a problem with the admin images showing up.

 

Thanks Johnson,

Kitti

Link to comment
Share on other sites

This is my catalog/includes/configure.php. I have copied right from the OScommerce directory and just changed the paths and etc.

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

//SHOP/CATALOG/INCLUDES/CONFIGURE.PHP

 

// Define the webserver and path parameters

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

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

define('HTTP_SERVER', 'http://www.wgroom.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.wgroom.com');

define('HTTPS_CATALOG_SERVER', 'https://www.wgroom.com');

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

define('DIR_FS_DOCUMENT_ROOT', '/usr163/home/w/g/wgroom/public_html'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', '/shop/catalog/admin/'); // absolute pate required

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

define('DIR_FS_CATALOG', '/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/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// define our database connection

define('DB_SERVER', xxx'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'xxx');

define('DB_SERVER_PASSWORD', 'xxx');

define('DB_DATABASE', 'xxx');

define('USE_PCONNECT', 'true'); // use persisstent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

I found the cause of the error. In my index.php page, I had:

 

require('admin/includes/application_top.php');

 

I changed it to:

require('includes/application_top.php');

 

and all worked fine.

 

Thanks for your effort to help.

 

Until we cross forum paths again,

 

Kitti

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...