Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Directory Help


DataMouse

Recommended Posts

Hi all

 

I have reskinned my store and deleted my configuration file (I know, I know).

 

I've rewritten it with the help of referring to this forum. However, I'm still having a problem with the admin section.

 

Basically, all of the admin interface images are incorrectly referenced.

For example:

 

The location of one image should be:

http://www.datamouse.biz/catalog/admin/ima...tatus_green.gif

 

It's actually referred to as:

http://www.datamouse.biz/catalog/images/ic...tatus_green.gif

 

I'm 99% sure that this is due to an incorrect pointer in the configure.php file. Can anyone help, please?

 

Here's my configure.php file:

 define('HTTP_SERVER', 'http://www.datamouse.biz'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
define('HTTPS_SERVER', ''); // eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers
define('ENABLE_SSL', false); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.datamouse.biz');
define('HTTPS_COOKIE_DOMAIN', '');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '');
define('DIR_WS_ADMIN', '/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/admin/'); // absolute pate required
define('DIR_WS_HTTP_CATALOG', '/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', '/kunden/homepages/1/d163279975/htdocs/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Link to comment
Share on other sites

Thanks.

I've already ben through the search and used that document to rebuild my file (very handy).

 

However, I still cannot get this admin thing to work.

It also stops me from uploading images etc.

 

The store is all OK - so I know it's how I'm defining admin driectory info that must be incorrect.

 

Can anyone help with this, please? :rolleyes:

Link to comment
Share on other sites

  define('HTTP_SERVER', 'http://www.datamouse.biz'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.datamouse.biz');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/kunden/homepages/1/d163279975/htdocs/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/kunden/homepages/1/d163279975/htdocs/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', '/kunden/homepages/1/d163279975/htdocs/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/');

Link to comment
Share on other sites

Thanks for the suggestion - but no joy, I'm afraid.

 

It hasn't fixed the admin panel (which still works the same, and has now stopped all subpages working.

They now appear as:

 

http://www.datamouse.bizdir_ws_http_catalo...products_id=168

 

Rather than

 

http://www.datamouse.biz/catalog/product_i...products_id=168

 

:'(

Link to comment
Share on other sites

My previous post only where intended to show how the catalog/admin/includes/configure.php file can be configured, not the catalog/includes/configure.php file!

 

Fantastic!

Thanks ever so much for your help!

:thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...