Forums / General Questions / SSL images don't work at all...

SSL images don't work at all...

Locked

Views: 1,414

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
13 Mar 2007, 3:47 PM
#1
valaroopie avatar

valaroopie

New Zenner

Join Date:
Mar 2007
Posts:
27
Plugin Contributions:
0

SSL images don't work at all...

This is probably so obvious, but I've been up for waaaaaay too long :blink:

I've just got my (shared) SSL working, and none of the images are showing up. I don't think this is related to the problem SSL has with absolute paths, since I'm talking about the images in Zen's images directory (images root, no subdir's).

When viewing the image properties, the image path is referencing the shop directory twice (EX: http://www.mydomain.com/shop/shop/images/mypic.jpg)

I've been fiddling with both configure.php files for about an hour now, and cannot for the life of me figure out where the shop/ path might be doubling up...

Does this sound familiar to anyone?

13 Mar 2007, 4:03 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: SSL images don't work at all...

Please post your includes/configure.php without your password

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

13 Mar 2007, 4:33 PM
#3
valaroopie avatar

valaroopie

New Zenner

Join Date:
Mar 2007
Posts:
27
Plugin Contributions:
0

Re: SSL images don't work at all...

:blush: Please excuse my generic~ness, I don't have all the security in place yet.

shop/includes/configure.php

  define('HTTP_SERVER', 'http://www.mydomain.com');
  define('HTTPS_SERVER', 'https://www.mydomain.com');

  define('ENABLE_SSL', 'true');

  define('DIR_WS_CATALOG', '/shop/');
  define('DIR_WS_HTTPS_CATALOG', '/shop/');

  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_INCLUDES', 'includes/');
  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', DIR_WS_CATALOG . 'pub/');
  define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

  define('DIR_WS_PHPBB', '/path_to/board/');

  define('DIR_FS_CATALOG', '/path_to/shop/');

  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
  define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
  define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
  define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
....

**shop/admin/includes/configure.php
**```
define('HTTP_SERVER', 'http://www.mydomain.com');
define('HTTPS_SERVER', 'https://www.mydomain.com');
define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com');
define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com');

define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');

define('DIR_WS_ADMIN', '/shop/admin/');
define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_ADMIN', '/shop/admin/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
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', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_ADMIN', '/path_to/shop/admin/');
define('DIR_FS_CATALOG', '/path_to/shop/');

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_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
....

14 Mar 2007, 2:00 AM
#4
valaroopie avatar

valaroopie

New Zenner

Join Date:
Mar 2007
Posts:
27
Plugin Contributions:
0

Re: SSL images don't work at all...

bump ... anyone?

14 Mar 2007, 2:16 AM
#5
valaroopie avatar

valaroopie

New Zenner

Join Date:
Mar 2007
Posts:
27
Plugin Contributions:
0

Re: SSL images don't work at all...

NVM, got it!