Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Broken images in admin


Recommended Posts

I am having trouble with the images being displayed in the admin. They work just fine in the product catalog.


When I check the image properties the file path is incorrect. It shows this:




when it should show this:




These are the settings in my admin configure.php file, if it helps:


define('HTTP_SERVER', 'https://websvr6.mn1.fasturl.net/ssl2/mydomain.com'); // eg, http://localhost or - https://localhost should not be empty for productive servers

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

define('HTTPS_CATALOG_SERVER', 'https://websvr6.mn1.fasturl.net/ssl2/mydomain.com');

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

define('DIR_FS_DOCUMENT_ROOT', '/home2/mydomain.com/www'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', '/home2/mydomain.com/www/mycartadmin/'); // absolute pate required

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

define('DIR_FS_CATALOG', '/home2/mydomain.com/www/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/');





Awana Grand Prix and Pinewood Derby racing - Where a child, an adult and a small block of wood combine for a lot of fun and memories.

Link to comment
Share on other sites

I think it should be


define('DIR_WS_CATALOG', '/mydomain.com/catalog/'); // absolute path required

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites

This is what I use on a similar server:

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

 define('HTTPS_SERVER', 'https://websvr5.mn1.fasturl.net/ssl2/webmakers.com'); // eg, https://localhost - should not be NULL for productive servers

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

 define('HTTPS_CATALOG_SERVER', 'https://websvr5.mn1.fasturl.net/ssl2/webmakers.com');

 define('ENABLE_SSL', true); // secure webserver for administration tool

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

 define('DIR_FS_DOCUMENT_ROOT', '/home2/webmakers.com/www'); // where the pages are located on the server

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

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

 define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_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_PAYMENT_MODULES', DIR_FS_CATALOG . 'includes/modules/payment/');

 define('DIR_FS_SHIPPING_MODULES', DIR_FS_CATALOG . 'includes/modules/shipping/');

 define('DIR_FS_CACHE', '/tmp/');


Link to comment
Share on other sites


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

  • Create New...