Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: require(includes/classes/navigation_history.php) [function.require]: failed to open stream: No such file or directory


gonzoweb

Recommended Posts

Hi

 

After installing oscommerce and fixing the configure.php to show the correct paths, and turn on the globals in the .htaccess file, the likns are working and the pictures are showing but when I try to access the admin area of the site it will ask me for the password but only this message is displayed

 

Warning: require(includes/classes/navigation_history.php) [function.require]: failed to open stream: No such file or directory in /home2/omniener/public_html/admin/includes/application_top.php on line 126

 

Fatal error: require() [function.require]: Failed opening required 'includes/classes/navigation_history.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/omniener/public_html/admin/includes/application_top.php on line 126

 

I did enter before in the admin area. But now I don't see where to look for a clue.

 

Any ideas

Link to comment
Share on other sites

Hi

 

After installing oscommerce and fixing the configure.php to show the correct paths, and turn on the globals in the .htaccess file, the likns are working and the pictures are showing but when I try to access the admin area of the site it will ask me for the password but only this message is displayed

 

Warning: require(includes/classes/navigation_history.php) [function.require]: failed to open stream: No such file or directory in /home2/omniener/public_html/admin/includes/application_top.php on line 126

 

Fatal error: require() [function.require]: Failed opening required 'includes/classes/navigation_history.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/omniener/public_html/admin/includes/application_top.php on line 126

 

I did enter before in the admin area. But now I don't see where to look for a clue.

 

Any ideas

It can't find 'includes/classes/navigation_history.php' so check your admin/includes/configure.php file

Link to comment
Share on other sites

Hi

 

After installing oscommerce and fixing the configure.php to show the correct paths, and turn on the globals in the .htaccess file, the likns are working and the pictures are showing but when I try to access the admin area of the site it will ask me for the password but only this message is displayed

 

Warning: require(includes/classes/navigation_history.php) [function.require]: failed to open stream: No such file or directory in /home2/omniener/public_html/admin/includes/application_top.php on line 126

 

Fatal error: require() [function.require]: Failed opening required 'includes/classes/navigation_history.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/omniener/public_html/admin/includes/application_top.php on line 126

 

I did enter before in the admin area. But now I don't see where to look for a clue.

 

Any ideas

 

Hey seems like a session out issue.. I normally get this when you checkout and in between go out to attend a long one phone.. anyways wen I come back the sessions times out and then I get this error. just try accessing the admin by typing in the URL. i suppose that will work out well.

 

Regards

Hari

Link to comment
Share on other sites

It can't find 'includes/classes/navigation_history.php' so check your admin/includes/configure.php file

 

 

Thanks but I checked the configure.php and I don't see where it might be the problem.

 

Here is my configure.php

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

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

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

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

define('HTTPS_SERVER', 'http://omnienergia.com'); // eg, https://localhost - should not be NULL for productive servers

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

define('HTTPS_CATALOG_SERVER', 'http://omnienergia.com/');

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

define('DIR_FS_DOCUMENT_ROOT', '/home2/omniener/public_html/'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', '/home2/omniener/public_html/admin/'); // absolute pate required

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

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

define('DIR_FS_CATALOG', '/home2/omniener/public_html/'); // 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', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'name');

define('DB_SERVER_PASSWORD', 'passw');

define('DB_DATABASE', 'omniener_osc1');

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

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

?>

 

 

 

Thanks for your help

Link to comment
Share on other sites

After checking the configure.php I found that the line

 

define('HTTPS_CATALOG_SERVER', 'http://omnienergia.com/');

 

is referring to the ssl and all I have to do is ad the "s" to the "http" string. Some how at the instalation time it didn't get it.

 

Thanks for your help

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...