VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: winfreepcs on May 20, 2008, 14:49:48 pm

Title: [TRACKER 2102] Some VM links not HTTPS
Post by: winfreepcs on May 20, 2008, 14:49:48 pm
I've posted this annoyance on May 14 and to date there's been no assistance. I'm not the only one reporting this bug. Others are so can someone please look into this?

http://forum.virtuemart.net/index.php?topic=35142.0
http://forum.virtuemart.net/index.php?topic=36394.0
http://forum.virtuemart.net/index.php?topic=39970.0
http://forum.virtuemart.net/index.php?topic=36696.0
http://forum.virtuemart.net/index.php?topic=39800.0

Here's the issue:

I identify the culprit is this part in virtuemart.cfg.php:
Quote
<div class="quote">define( 'URL', $mosConfig_live_site.$app );
define( 'SECUREURL', 'https://www.domain.com/' );

if ( @$_SERVER'HTTPS' == 'on' ) {
define( 'IMAGEURL', SECUREURL .'components/com_virtuemart/shop_image/' );
} else {
define( 'IMAGEURL', URL .'components/com_virtuemart/shop_image/' );
}
define( 'VM_THEMEPATH', $mosConfig_absolute_path.'/components/com_virtuemart/themes/default/' );
define( 'VM_THEMEURL', $mosConfig_live_site.'/components/com_virtuemart/themes/default/' );
</div>/QUOTE

/components/com_virtuemart/themes/default/ DOES NOT turn to HTTPS !!!

How can I make this folder https??

Thank you for looking into this.
Title: Re: [TRACKER 2102] Some VM links not HTTPS - SOLVED!!!
Post by: winfreepcs on May 25, 2008, 03:22:32 am
We have a solution!!! 

http://forum.virtuemart.net/index.php?topic=36696.msg128907#msg128907

Finally!