[ic] problem with Product tree only in SSL ?? ( SOLVED )

Sean Benton manager at bgsn.net
Fri Jul 23 05:03:48 EDT 2004


My many thanks have to go to Mike Heins for helping find the solution to 
this bug
After some discussion and testing the problem was narrowd down to the 
[image] tag
not working as it should under ssl.

Here is the PATCH for others out there , this is now added to the CSV 
foundation 5.4
----------------------------------------------------------------------------------------
 --- /d/code/SystemTag/image.tag 2004-05-09 14:28:10.000000000 -0400
 +++ /st/image.tag       2004-07-22 23:39:50.952599144 -0400
 @@ -194,7 +194,7 @@
                 }
         } else {
                 $imagedir               = $Vend::Cfg->{ImageDir};
 -               $imagedirsecure = $Vend::Cfg->{ImageDirSecure};
 +               $imagedirsecure = $Vend::Cfg->{ImageDirSecure} || 
$imagedir ;
         }
 
         # make sure there's a trailing slash on directories

-----------------------------------------------------------------------------------------

Best Regards to all
Sean Benton


Ed LaFrance (New Media E.M.S.) wrote:

> At 08:45 AM 7/15/2004, you wrote:
>
>> Thanks Ed for you quick responce,
>> The SSL has the same document root , and runs on all the same 
>> directives as the shop config
>> only difference is that one runs http://shop.neurometrics.net and the 
>> other is https://secure.neurometrics.net
>> its online so try the login page and you can see the menu loose it .
>> thanks
>> Sean
>
>
> It even looses the images when you do this:
> https://shop.neurometrics.net/
>
> I have not looked at the code for the tree, but it certainly appears 
> as if it does know where the images are or how to locate them in SSL 
> mode, so you made need to poke through the sources for this function 
> to see what the trouble is, perhaps you need to set a catalog variable 
> for the secure image directory.
>
> - Ed
>
>
>
>
>> Ed LaFrance (New Media E.M.S.) wrote:
>>
>>> At 10:56 PM 7/14/2004, you wrote:
>>>
>>>> Hello all ....
>>>>
>>>> I have a problem with the product tree and cant seem to find much 
>>>> on it ....
>>>> I'm using the the standard IC foundation demo 5.2 prity recient one
>>>> and the product_tree was built in UI
>>>>
>>>> Here is the strange thing eveything else is working at the moment 
>>>> SSL wise, the apache SSL side is configured with exactly the same 
>>>> format as the non SSL side, so its not that
>>>>
>>>> Anyhow ... the product_tree losses the icons ( little folders ) in 
>>>> ssl but works fine on the same page non ssl.
>>>>
>>>> Inside the page SSL this happened :  (BROKEN)
>>>> _________________________________________________
>>>> var mv_specific_image_base = '';
>>>> var mv_specific_image_link;
>>>> var mv_image_link_extra = 'border=0';
>>>> var mv_toggle_class = '';
>>>> var mv_toggle_anchor_clear = '';
>>>> var mv_toggle_anchor_closed = '';
>>>> var mv_toggle_anchor_open = '';
>>>> var mv_treebox = document.getElementById('mv_treebox');
>>>> if(mv_image_link_extra)
>>>>    mv_image_link_extra = ' ' + mv_image_link_extra;
>>>> var alert_shown;
>>>> ________________________________________________
>>>>
>>>>
>>>> Inside the same page NON SSL it is : (WORKS)
>>>> ________________________________________
>>>> var mv_specific_image_base = '';
>>>> var mv_specific_image_link;
>>>> var mv_image_link_extra = 'border=0';
>>>> var mv_toggle_class = '';
>>>> var mv_toggle_anchor_clear = '<img src="/foundation/images/bg.gif" 
>>>> border=0 height=1 width=20>';
>>>> var mv_toggle_anchor_closed = '<img src="/foundation/images/fc.gif" 
>>>> width=20 height=22 border=0 align=absbottom>';
>>>> var mv_toggle_anchor_open = '<img src="/foundation/images/fo.gif" 
>>>> width=27 height=22 border=0 align=absbottom>';
>>>> var mv_treebox = document.getElementById('mv_treebox');
>>>> if(mv_image_link_extra)
>>>>    mv_image_link_extra = ' ' + mv_image_link_extra;
>>>> var alert_shown;
>>>> __________________________________________
>>>>
>>>>
>>>> Any Idea to why this is happening ???
>>>>
>>>> Thanks
>>>> Sean
>>>
>>>
>>>
>>> Is your http server configured for separate SSL/non-SSL document 
>>> roots for this domain?
>>>
>>> - Ed
>>>
>>>
>>> ===============================================================
>>> New Media E.M.S.              Technology Solutions for Business
>>> 11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
>>> Fair Oaks, CA  95628          Ed.LaFrance at newmediaems.com
>>> (916) 961-0446                http://www.newmediaems.com
>>> (866) 519-4680 Toll-Free      (916) 961-0447 Fax
>>> ===============================================================
>>> _______________________________________________
>>> interchange-users mailing list
>>> interchange-users at icdevgroup.org
>>> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>>
>>
>> _______________________________________________
>> interchange-users mailing list
>> interchange-users at icdevgroup.org
>> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
>
> ===============================================================
> New Media E.M.S.              Technology Solutions for Business
> 11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
> Fair Oaks, CA  95628          Ed.LaFrance at newmediaems.com
> (916) 961-0446                http://www.newmediaems.com
> (866) 519-4680 Toll-Free      (916) 961-0447 Fax
> ===============================================================
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>



More information about the interchange-users mailing list