Some images HTTPS some not...

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
WarMace
Forum Members
Forum Members
Posts: 30
Joined: Tue Sep 25, 2007 5:15 pm
Location: Boston, MA, USA

Some images HTTPS some not...

Post by WarMace »

I'm going to try my best to explain this one.

I'm tidying up the adding of content to my new CMSMS 1.1.3.1 server and the security certificate expired.  Causing half of my photos to not show unless you accept the expired cert'.

I did not recall anywhere turning on HTTPS, I want the site to be available to viewers without needing certificates.

Image
I am accessing my server from across the LAN, and not locally fyi.

If I'm missing any critical troubleshooting info let me know, thank you.
User avatar
WarMace
Forum Members
Forum Members
Posts: 30
Joined: Tue Sep 25, 2007 5:15 pm
Location: Boston, MA, USA

Re: Some images HTTPS some not...

Post by WarMace »

*Bump*

I'm still trying things on my end, and open to suggestions.
alby

Re: Some images HTTPS some not...

Post by alby »

WarMace wrote: I'm going to try my best to explain this one.

I'm tidying up the adding of content to my new CMSMS 1.1.3.1 server and the security certificate expired.  Causing half of my photos to not show unless you accept the expired cert'.

I did not recall anywhere turning on HTTPS, I want the site to be available to viewers without needing certificates.

Image
I am accessing my server from across the LAN, and not locally fyi.

If I'm missing any critical troubleshooting info let me know, thank you.
Check url path of your photo in DB, Have you insert in site via https?

Alby
User avatar
WarMace
Forum Members
Forum Members
Posts: 30
Joined: Tue Sep 25, 2007 5:15 pm
Location: Boston, MA, USA

Re: Some images HTTPS some not...

Post by WarMace »

The path of the photo is
https://10.12.3.135/CMS/uploads/images/News/Subway.jpg

When I delete and re-add the photo it is always HTTPS and not HTTP like the old photos.
User avatar
WarMace
Forum Members
Forum Members
Posts: 30
Joined: Tue Sep 25, 2007 5:15 pm
Location: Boston, MA, USA

Re: Some images HTTPS some not...

Post by WarMace »

If i manually add the photo, removing the 's' from 'https' it works.  But why, by default, is the img unloader adding images as https all of a sudden I am wondering...
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Some images HTTPS some not...

Post by calguy1000 »

check your config.php for https
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
WarMace
Forum Members
Forum Members
Posts: 30
Joined: Tue Sep 25, 2007 5:15 pm
Location: Boston, MA, USA

Re: Some images HTTPS some not...

Post by WarMace »

calguy1000 wrote: check your config.php for https
This is the only section with HTTPS
-----------
#Path Settings
#-------------

#Document root as seen from the webserver.  No slash at the end
#If page is requested with https use https as root url
#e.g. http://blah.com
$config['root_url'] = 'http://10.12.3.135/CMS';
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on')
{
$config['root_url'] = str_replace('http','https',$config['root_url']);
}

#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = 'C:\xampp\htdocs\cms';

#Name of the admin directory
$config['admin_dir'] = 'admin';

#Where do previews get stored temporarily?  It defaults to tmp/cache.
$config['previews_path'] = 'C:\xampp\htdocs\cms\tmp\cache';

#Where are uploaded files put?  This defaults to uploads.
$config['uploads_path'] = 'C:\xampp\htdocs\cms\uploads';

#Where is the url to this uploads directory?
$config['uploads_url'] = $config['root_url'] . '/uploads';
alby

Re: Some images HTTPS some not...

Post by alby »

WarMace wrote: This is the only section with HTTPS
What is your url address of admin area (look in browser)? There is https://............. ?

Alby
Last edited by alby on Fri Dec 07, 2007 3:46 pm, edited 1 time in total.
User avatar
WarMace
Forum Members
Forum Members
Posts: 30
Joined: Tue Sep 25, 2007 5:15 pm
Location: Boston, MA, USA

Re: Some images HTTPS some not...

Post by WarMace »

The login page is http, but once you log in its https.
User avatar
WarMace
Forum Members
Forum Members
Posts: 30
Joined: Tue Sep 25, 2007 5:15 pm
Location: Boston, MA, USA

Re: Some images HTTPS some not...

Post by WarMace »

So I am guessing this stems from the admin area being HTTPS, which is odd because none of my other sites use HTTPS in the admin area.

Where could this be disabled?
Post Reply

Return to “CMSMS Core”