Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

image problem


candlesbysarah

Recommended Posts

Posted

Hi all,

 

have finally managed to get the ssl working for my shop woohoo :) but am unable to see images in the admin area :(

 

the shop is ok but its hard to set up in admin area when i cant see my images.

 

any idea why this is ?

 

many thanks

Sarah

Posted
Hi all,

 

have finally managed to get the ssl working for my shop woohoo :) but am unable to see images in the admin area :(

 

the shop is ok but its hard to set up in admin area when i cant see my images.

 

any idea why this is ?

 

many thanks

Sarah

 

you;'re porobably having path issues in your configure.php file .

since the file is in the admin directory, simply keep the paths relative :

 

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

 

 

Corrina

Posted
you;'re porobably having path issues in your configure.php file .

since the file is in the admin directory, simply keep the paths relative :

 

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

Corrina

 

 

Hi Corrina,thanks for the reply, i have the above settings already in place. My shop works fine its only in admin i cant see images, although the icons are ok.

 

when i right click on the image placeholder and select properties it gives the URL as

 

https://ssl5.servage.net/images/almond-cookie.jpg

 

whereas if i do the same on an icon the URL is

 

https://ssl5.servage.net/~sc15647-BGUZ/cand...n/images/header

 

i know it must just be an error in one of my paths but i just seem to find it, been trying for hours now its doing my head in lol

 

this is what i have the /admin/includes/configure.php set as

 

define('HTTP_SERVER', 'https://ssl5.servage.net/~sc15647-BGUZ/candlesbysarah.co.uk/'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.candlesbysarah.co.uk/');

define('HTTPS_CATALOG_SERVER', 'https://ssl5.servage.net/~sc15647-BGUZ/candlesbysarah.co.uk/');

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

define('DIR_FS_DOCUMENT_ROOT', '/home8/sub004/sc15647-BGUZ/candlesbysarah.co.uk/'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', '/home8/sub004/sc15647-BGUZ/candlesbysarah.co.uk/'); // absolute pate required

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

define('DIR_FS_CATALOG', '/home8/sub004/sc15647-BGUZ/candlesbysarah.co.uk/'); // 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', 'mysql1024.servage.net'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'xxxxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxxxx');

define('DB_DATABASE', 'xxxxxxxx');

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

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

?>

 

If any of you OSC gurus out there can see the problem i would be forever in debt :)

 

Thanks for reading

Sarah

Posted
Is ok have managed to get it fixed guys :D

 

Hi Sarah - please post your resolution for others that may be having the same problem.

 

Thanks!

Corrina

Posted

Hi corrina,

 

I wish i could post my solution but i have changed so much in the config files i wouldnt really know where to start. Thats where all my problems seem to lie, i cant find any good information on how to set them up other than what others have posted.

 

best regards

Sarah

Archived

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

×
×
  • Create New...