Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error opening index.php Homepage


kittidid

Recommended Posts

Help One:

 

Fatal error: Failed opening required 'includes/application_top.php' (include_path='') in /usrXXX/home/mywebsitename/public_html/shop/index.php on line 13

 

I swear, I get everything to work just fine, then I make some changes and then it doesn't work. I have got to start copying the last good copy of the file I am about to change to my original directory that I created.

 

Can someone please help with this error.

Version: latest one

 

Help Two:

 

ARE ALL MY PATHS CORRECT?

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

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'www.mywebsite.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/usrxxx/home/w/g/mywebsite/public_html/shop/catalog/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/shop/catalog/');

define('DIR_WS_HTTPS_CATALOG', '');

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', '/shop/catalog/');

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

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

 

Please advise!!

Kitti

Link to comment
Share on other sites

Don't know how I fixed it or I would explain it for other folks.

 

All I know is I rechecked my config files and application_top files and made some adjustments.

 

Can't stress enough to backup, backup, backup!

 

Also, before I start working on a file. I copy the original to my original directory.

 

I made a directory named original_store with the directory structure the same as the catalog. Before I start working on a file, I copy the working file to it's directory in original_store. This way if I royally screw up, I can just copy the good file back immediately.

 

Just my way of doing things from now on!

 

Kitti

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...