Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

What Process should be used to upgrade http to https (ssl)

9 years 9 months ago
  • Nigel's Avatar
    Topic Author
  • Nigel
  • Offline
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
Licenses:
JomSocial Active iSEO Expired Socialize Expired

I have a hosting account at Freeola and recently decided to give my site users a little extra protection, so i purchased an ssl certificate from them and freeola prepared the htdocs secure folder to put my site and administrator files into it

I went to the backend and swith site server settings to ssl and suffered a complete loss of site front end and back end.

To get back in i edited the configuration.php file and adjusted the var$ Site address to https://zringy,com and also edited the ht access file with a little joomla 3 code.

What happened was. I could log into the back end but all the images were missing from the entire site even thou they were in the secure folder.

So before i risk loosing everything Im asking very politley. Can anyone assist with providing a guide to implementing the site that works on the ssl i have at freeola. So that the sign in options all work without showing unecassery errors and throwing faults

all the file permissions are the right settings on the configuration files

Kind regards Nigel from Zringy


If I ask you for help. Then please ensure you are going to help. Do not create further problems. If you are thinking of conducting system updates.

***ASK FIRST. DO NOT UNDER ANY CIRCUMSTANCES CONDUCT SYSTEM UPDATES TO TRY TO OVERCOME MINOR BUGGS ****

Nigel
9 years 9 months ago
Licenses:

Hi, Zringy.

Missing styling is caused by your browser that blocks so called "mixed content". Mixed content means non https url (a "non secure" as browser threats it) to files.. Note that when you're in https, a small lock is showed in URL field of browser. Next to it is a small, half, grayed shield - click on it and you'll see information about blocked content: prntscr.com/464ixv

Read about it more here: support.mozilla.org/en-US/kb/how-does-co...ure-affect-my-safety

JomSocial has known bug in url links that will cause issues on sites with https. It's fixed in in our repo but not released yet.
You may try to fix it yourself. It's just changing small part of code but in many files:

ROOT/administrator/components/com_community/controllers/controller.php
ROOT/administrator/components/com_community/controllers/mailqueue.php
ROOT/administrator/components/com_community/controllers/photos.php
ROOT/administrator/components/com_community/controllers/users.php
ROOT/administrator/components/com_community/defines.php
ROOT/administrator/components/com_community/elements/twitter.php
ROOT/administrator/components/com_community/elements/users.php
ROOT/administrator/components/com_community/libraries/cadminactivity.php
ROOT/administrator/components/com_community/models/network.php
ROOT/administrator/components/com_community/views/activities/tmpl/default.php
ROOT/administrator/components/com_community/views/activities/view.html.php
ROOT/administrator/components/com_community/views/community/tmpl/default.php
ROOT/administrator/components/com_community/views/configuration/view.html.php
ROOT/administrator/components/com_community/views/events/tmpl/default.php
ROOT/administrator/components/com_community/views/groups/tmpl/default.php
ROOT/administrator/components/com_community/views/mailqueue/view.html.php
ROOT/administrator/components/com_community/views/photos/tmpl/default.php
ROOT/administrator/components/com_community/views/photos/view.html.php
ROOT/administrator/components/com_community/views/reports/tmpl/childs.php
ROOT/administrator/components/com_community/views/users/tmpl/edit.php
ROOT/administrator/components/com_community/views/users/view.html.php
ROOT/administrator/components/com_community/views/videos/tmpl/default.php
ROOT/administrator/components/com_community/views/videos/view.html.php
ROOT/administrator/components/com_community/community.php
ROOT/administrator/components/com_community/controllers/controller.php
ROOT/components/com_community/controllers/apps.php
ROOT/components/com_community/controllers/connect.php
ROOT/components/com_community/controllers/events.php
ROOT/components/com_community/controllers/groups.php
ROOT/components/com_community/controllers/inbox.php
ROOT/components/com_community/controllers/photos.php
ROOT/components/com_community/controllers/profile.php
ROOT/components/com_community/controllers/system.php
ROOT/components/com_community/controllers/twitter.php
ROOT/components/com_community/events/events.trigger.php
ROOT/components/com_community/events/groups.trigger.php
ROOT/components/com_community/helpers/template.php
ROOT/components/com_community/helpers/url.php
ROOT/components/com_community/libraries/activities.php
ROOT/components/com_community/libraries/akismet.php
ROOT/components/com_community/libraries/assets.php
ROOT/components/com_community/libraries/bookmarks.php
ROOT/components/com_community/libraries/core.php
ROOT/components/com_community/libraries/facebook.php
ROOT/components/com_community/libraries/featured.php
ROOT/components/com_community/libraries/mailq.php
ROOT/components/com_community/libraries/path.php
ROOT/components/com_community/libraries/storage/file.php
ROOT/components/com_community/libraries/streamer.php
ROOT/components/com_community/libraries/template.php
ROOT/components/com_community/libraries/twitter.php
ROOT/components/com_community/libraries/videos.php
ROOT/components/com_community/libraries/wall.php
ROOT/components/com_community/models/photos.php
ROOT/components/com_community/tables/album.php
ROOT/components/com_community/tables/multiprofile.php
ROOT/components/com_community/tables/photo.php
ROOT/components/com_community/tables/video.php
ROOT/components/com_community/views/apps/view.html.php
ROOT/components/com_community/views/events/view.html.php
ROOT/components/com_community/views/groups/view.html.php
ROOT/components/com_community/views/photos/view.feed.php
ROOT/components/com_community/views/photos/view.html.php
ROOT/components/com_community/views/profile/view.html.php
ROOT/components/com_community/views/views.php
ROOT/components/com_community/templates/default/activities.actions.php
ROOT/components/com_community/templates/default/activities.photos.cover.php
ROOT/components/com_community/templates/default/activities.profile.avatar.upload.php
ROOT/components/com_community/templates/default/developer.core.php
ROOT/components/com_community/templates/default/photos.htmlmultiuploader.php
ROOT/components/com_community/templates/default/email.html.php
ROOT/components/com_community/templates/default/events.eventcalendar.php
ROOT/components/com_community/templates/default/facebook.inviteframe.php
ROOT/components/com_community/templates/default/files.multiupload.php
ROOT/components/com_community/templates/default/frontpage.guests.php
ROOT/components/com_community/templates/default/groups.joingroup.php
ROOT/components/com_community/templates/default/inbox.read.php
ROOT/components/com_community/templates/default/photos.album.featured.php
ROOT/components/com_community/templates/default/photos.album.php
ROOT/components/com_community/templates/default/photos.htmluploader.php
ROOT/components/com_community/templates/default/profile.index.php
ROOT/components/com_community/templates/default/profile.linkvideo.php
ROOT/components/com_community/templates/default/profile.uploadavatar.php
ROOT/components/com_community/templates/default/status.form.php
ROOT/components/com_community/templates/default/status.photo.php
ROOT/components/com_community/templates/default/videos.add.php
ROOT/components/com_community/templates/default/videos.flowplayer.php
ROOT/components/com_community/templates/default/videos.link.php
ROOT/components/com_community/templates/default/wall.content.php
ROOT/components/com_community/templates/default/wall.form.php

Modules:

mod_activegroups/mod_activegroups.php
mod_activitystream/mod_activitystream.php
mod_community_events/mod_community_events.php
mod_community_groups/mod_community_groups.php
mod_community_members/mod_community_members.php
mod_community_photos/mod_community_photos.php
mod_community_quicksearch/mod_community_quicksearch.php
mod_community_videos/mod_community_videos.php
mod_community_whosonline/mod_community_whosonline.php
mod_hellome/mod_hellome.php
mod_latestdiscussion/mod_latestdiscussion.php
mod_notify/mod_notify.php
mod_photocomments/mod_photocomments.php
mod_statistics/mod_statistics.php
mod_topmembers/mod_topmembers.php
mod_videocomments/mod_videocomments.php

Plugins:

plg_events/events.php
plg_feeds/feeds.php
plg_jomsocialredirect/jomsocialredirect.php
plg_jomsocialupdate/jomsocialupdate.php
plg_mycontacts/mycontacts.php
plg_walls/walls.php
azrul/azrul.system.php
azrul/pc_includes/helper.php

In ALL those files you'll need to change:

JURI::root()

to

JURI::root(true)

This will make JomSocial to display correctly under https... but you may have issues with other extensions that uses JURI::root() instead of JURI::root(true) and this is just how modern browser works...


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 9 months ago
  • Nigel's Avatar
    Topic Author
  • Nigel
  • Offline
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
Licenses:
JomSocial Active iSEO Expired Socialize Expired

What items on that list would be the best ones to secure to make my members information secure. Can i secure the entire back end and then the components that are for my profile users separate.


If I ask you for help. Then please ensure you are going to help. Do not create further problems. If you are thinking of conducting system updates.

***ASK FIRST. DO NOT UNDER ANY CIRCUMSTANCES CONDUCT SYSTEM UPDATES TO TRY TO OVERCOME MINOR BUGGS ****

Nigel
9 years 9 months ago
Licenses:

Hi, Zringy.

Those file have nothing to do with site security. It's all about proper url (a relative url) so files will not be blocked.
You have "Force SSL" in Joomla! Global Configuration.
The rest is your server settings - JomSocial has nothing to do about it and will follow Joomla! and server settings.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW