Page 1 of 1

piclens.js problems with SSL / HTTPS

Posted: 18 May 2011, 14:12
by tvdonop
Phocagallary is a great tool - I love it! I run Joomla 1.523 with PhocaGallary 2.7.8.
I had to move to HTTPS and successfully did so. The only problem left ist a warning/error in IE9 and Chrome on mixed (secure / unsecure) content on my site.

So far I have identified the following:
<script type="text/javascript" src="http://lite.piclens.com/current/piclens.js"></script>
The page at https://donop.info:8081/Joomla/ ran insecure content from http://lite.piclens.com/current/piclens.js.

It seems as if piclens.js is loaded / included without using HTTPS... I have searched for 2 days and can not find a solution. Any chance to get this solved?
I have tried to disable Cooliris in Joomla/Phoca without success...

Thanks for any help

Re: piclens.js problems with SSL / HTTPS

Posted: 20 May 2011, 17:25
by Jan
Hi, did you try to set crossdomain.xml :idea:

https://www.phoca.cz/documents/2-phoca-g ... ll-piclens

Jan

Re: piclens.js problems with SSL / HTTPS

Posted: 23 May 2011, 17:42
by tvdonop
yes - I did - no change...
Below is the code as displayed in the browser. I guess the line
"<script type="text/javascript" src="http://lite.piclens.com/current/piclens.js"></script>"
is the problem for the mixed content warning... Any chance to change the http://... to https://...??


Thanks for your help!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de-de" lang="de-de">

<head>
<base href="https://donop.info:8081/Joomla/" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow" />
<meta name="keywords" content="toennies, donop, berlin, matterhornstr, zehlendorf, schlachtensee, QNAP, Accenture, Technologie, Computer" />
<meta name="description" content="Homepage der Familie von Donop Berlin Schlachtensee Vorträge präsentationen interviews Tönnies von Donop" />
<meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />
<title>Homepage</title>
<link href="/Joomla/index.php?format=feed&type=rss" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
<link href="/Joomla/index.php?format=feed&type=atom" rel="alternate" type="application/atom+xml" title="Atom 1.0" />
<link href="/Joomla/templates/ja_purity/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link rel="stylesheet" href="/Joomla/components/com_phocagallery/assets/phocagallery.css" type="text/css" />
<link rel="stylesheet" href="/Joomla/media/system/css/modal.css" type="text/css" />
<link rel="stylesheet" href="/Joomla/components/com_phocagallery/assets/js/highslide/highslide.css" type="text/css" />
<link rel="stylesheet" href="/Joomla/modules/mod_phocagallery_image/assets/phocagallery_module_image.css" type="text/css" />
<script type="text/javascript" src="/Joomla/plugins/system/mtupgrade/mootools.js"></script>
<script type="text/javascript" src="/Joomla/media/system/js/caption.js"></script>
<script type="text/javascript" src="/Joomla/media/system/js/modal.js"></script>
<script type="text/javascript" src="/Joomla/components/com_phocagallery/assets/js/highslide/highslide-full.js"></script>
<script type="text/javascript" src="http://lite.piclens.com/current/piclens.js"></script>
<script type="text/javascript">
window.addEvent("domready", function() {
SqueezeBox.initialize({});
$$("a.modal-button").each(function(el) {
el.addEvent("click", function(e) {
new Event(e).stop();
SqueezeBox.fromElement(el);
});
});
});

[SOLVED] piclens.js problems with SSL / HTTPS

Posted: 25 May 2011, 15:59
by tvdonop
... I have found the problem.

[/share/Web/Joomla] # find . -type f -print | xargs grep -sli "piclens.js"
listed 3 files with hard coded http//lite.piclens.com/current/piclens.js

These files are:
./plugins/content/phocagallery.php
./plugins/system/piclens_sys.php
./administrator/components/com_phocagallery/libraries/phocagallery/render/renderfront.php

I have changed the them to 'https' and now the mixed content warning is gone!

Re: piclens.js problems with SSL / HTTPS

Posted: 27 May 2011, 14:56
by Jan
Ok