Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Https icons missing & admin issues


Guest

Recommended Posts

Posted

Hi,

 

The issue is like this;

 

when it goes into https mode the icons disappear. The paths look ok, but the icons & images are not visable.

 

If i go http:// icons and images are back again. I tried the myenv.php and ssl seems to be running correctly.

 

Also when i go http://mysite.com/admin no images, but when i go http://mysite.com/admin/ images are visible.

 

Any suggestions or pointers to posts would be helpful.

Posted

Post your two configure.php files here, minus db user name and password and then people will be more able to help.

 

Vger

Posted

[Root config file]

 

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

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

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

define('HTTP_COOKIE_DOMAIN', 'store.palspalace.com.au');

define('HTTPS_COOKIE_DOMAIN', 'store.palspalace.com.au');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_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', '/home/storepa/public_html/');

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

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

 

[admin config]

 

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

define('HTTP_CATALOG_SERVER', 'http://store.palspalace.com.au');

define('HTTPS_CATALOG_SERVER', 'https://store.palspalace.com.au');

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

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

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

define('DIR_FS_ADMIN', '/home/storepa/public_html/admin/'); // absolute pate required

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

define('DIR_FS_CATALOG', '/home/storepa/public_html/'); // 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/');

Posted

They look fine, and they are not the source of your problem. If you go to this link:

https://store.palspalace.com.au/

then you will see that none of your images are showing in https.

 

I have to admit to being baffled. If your host was using a two-folder system, one for httpdocs and one for httpsdocs then it wouldn't just be the images that don't show up.

 

Only thing I can think of is to check if this line is correct, and that it's not the pathway for a full domain instead of a subdomain:

'/home/storepa/public_html/

 

Vger

Posted

Hi

 

If the absolute path was incorrect, would I not see images when https:// is not used? Images are visable using http://store.palspalace.com.au

 

Any idea why ssl would be having trouble accessing the subdirectories?

 

P

Posted

The only thought that comes to mind would be if your host uses a two folder system, one for httpdocs and one for httpsdocs, and your folders have different permissions for images in the httpsdocs folders.

 

The recommended setting for the images folder is full permissions (777) but perhaps your host does not allow this level of permissions in secure mode? If the images folder and sub-folders are set to 777 try 755.

 

Vger

Posted

The problem was with the .htaccess file. we had a rewrite for the http and not the https.

 

Problem resolved. Thank you.

 

P

Archived

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

×
×
  • Create New...