Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Path errors


Guest

Recommended Posts

Hello,

 

I don't know how to resolve this problem :

I use easyphp for local use and everything works perfect.

When I upload the files on the remote server, the site works fine (I changed the configure.php ok) but I get many errors in the admin part (I changed the configure.php too).

 

When I try to see the payment modules, nothing happens. I get the location only, no error message, but nothing happens. All the files are on the server at the right place, but the interface doesn't seem to see them.

 

Same thing for the shipping and the orders total.

 

Another thing : when I click on the catalog in the menu, a message tells me that the http://mysite/images/ doesn't exist (But everything goes fine on the main website)

 

Could someone help me on this one ? ;-) Thanks a many !

Link to comment
Share on other sites

This is the admin configure.php. I replaced the site name by "mysite" and my admin directory by "admin".

 

The first index.php is at the root of the site and the admin directory too.

 

Is this any help ? Thank you.

 

 

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

define('HTTP_CATALOG_SERVER', '');

define('HTTPS_CATALOG_SERVER', '');

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

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

define('DIR_WS_ADMIN', 'http://www.mysite.com/admin/'); // absolute path required

define('DIR_FS_ADMIN', 'http://www.mysite.com/admin/'); // absolute pate required

define('DIR_WS_CATALOG', 'http://www.mysite.com/'); // absolute path required

define('DIR_FS_CATALOG', 'http://www.mysite.com/'); // 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/');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...