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
piclens.js problems with SSL / HTTPS
- Jan
- Phoca Hero

- Posts: 49191
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: piclens.js problems with SSL / HTTPS
If you find Phoca extensions useful, please support the project
-
tvdonop
- Phoca Newbie

- Posts: 3
- Joined: 18 May 2011, 13:58
Re: piclens.js problems with SSL / HTTPS
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);
});
});
});
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);
});
});
});
-
tvdonop
- Phoca Newbie

- Posts: 3
- Joined: 18 May 2011, 13:58
[SOLVED] piclens.js problems with SSL / HTTPS
... 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!
[/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!
- Jan
- Phoca Hero

- Posts: 49191
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: piclens.js problems with SSL / HTTPS
Ok
If you find Phoca extensions useful, please support the project