Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

broken image links on ssl


azbrat3

Recommended Posts

I recently changed hosting providers, loaded the files and the new db. so everything is setup there. I changed catalog/includes/configure.php and anyways I have broken image links on

 

https://castbakery.com/catalog/

 

I have been looking on this forum searching for a couple hours now in various threads. Please help! -- thanks in advance.

 

oh yea my permissions are set 777 on the images folder and directory.

 

here is my configure.php

  define('HTTP_SERVER', 'http://castbakery.com');
 define('HTTPS_SERVER', 'https://castbakery.com');
 define('ENABLE_SSL', true);
 define('HTTP_COOKIE_DOMAIN', '.castbakery.com');
 define('HTTPS_COOKIE_DOMAIN', '.castbakery.com');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/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/content/c/b/m/cbmain/html/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

here is my admin/includes/configure.php

 

  define('HTTP_SERVER', 'http://castbakery.com');
 define('HTTP_CATALOG_SERVER', 'http://castbakery.com');
 define('HTTPS_CATALOG_SERVER', 'https://castbakery.com');
 define('ENABLE_SSL_CATALOG', 'true');
 define('DIR_FS_DOCUMENT_ROOT', '/home/content/c/b/m/cbmain/html/catalog/');
 define('DIR_WS_ADMIN', '/catalog/admin/');
 define('DIR_FS_ADMIN', '/home/content/c/b/m/cbmain/html/catalog/admin/');
 define('DIR_WS_CATALOG', '/catalog/');
 define('DIR_FS_CATALOG', '/home/content/c/b/m/cbmain/html/catalog/');
 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

Might be the same thing as this :

 

Click me

 

And with folder permissions at 777 it's only a matter of time till you get hacked.

 

It's just a question of when, and how bad...

:o

 

Folder permissions should not be higher than 755

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Might be the same thing as this :

 

Click me

 

And with folder permissions at 777 it's only a matter of time till you get hacked.

 

It's just a question of when, and how bad...

:o

 

Folder permissions should not be higher than 755

 

 

I set it only to 777 because I read that thread already and was awaiting a fast response from you!! Thanks btw :P

 

 

I did change the permissions on the images folder to 755 but still no luck with them loading.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...