Sudden problems with HTTPS links (on non-SSL site)

16 years 7 months ago #44238 by piotrtrzeciak
I posted the following message on the main Joomla site:

I have been running my site on hostmonster.com for a while with no problems.
Last weekend, I noticed two things:
1. I started receiving a certificate mismatch message on the main page (but the front page still displayed ok): the cert was from my hosting company, not my domain, because I did not ask for one :-) .
2. All links on my Joomla 1.0.13 - powered site were replaced by "https" links, and they could not be followed.

So, I looked into the index.php file and found the SSL code, which I replaced with hard-coded "http". That helped with the front end. However, a few problems still remained:
1. Logging, using Community Builder v1.1, gets "page not found?
2. When I start JoomlaExplorer from back end, it displays the root directory, but any other clicks give me "page not found".
I also noticed that in case of the above problems, the links with my domain, are actually replaced with ones containg the IP address of the host.

So, my question is:
1. Is this something related to Joomla??? Seems to be, because I'm running a phpBB installation on the side, and it does not have these issues. But why did it start coming up now???
2. Is this something my hosting provided did (weekend timeframe could suggest some update). However, I run another domain on the same provider and it seems to be ok (but it runs Mambo 4.5.4 installation).

If there is a better forum for this question, please feel free to move this message there.

Thanks!!!!


As an added piece of information, I upgraded to CB 1.1 on Fri, but the site seemed to be ok after that. It was Sat when I noticed the problem, so I upgraded to Joomla 1.0.13 (thinking most likely falsely that I got hacked), by replacing all files with the full new version. Any ideas??? Thanks!!!

Please Log in to join the conversation.

16 years 7 months ago #44279 by rskolnick
hi
i had the same problem.
i reported the problem to siteground (my web host).
they informed me that it was a problem with sef.
they fixed it for me.
if you have sef inabled i can find out what they did and post it for you.
let me know.

Robert

Secret to a Better Life.
Stay one step outside of reality looking in!

Please Log in to join the conversation.

16 years 7 months ago #44364 by piotrtrzeciak
Replied by piotrtrzeciak on topic Re:Sudden problems with HTTPS links (on non-SSL si
Please, let me know if you can. I disabled SEF, but it did not help. The only way for me to run Joomla now is to change the SSL check in all index.php files to hardcoded "http" (no "https"). The only thing I upgraded Fri was CB, but it worked fine until Sat, and then the problems started. I think for some reason $_SERVER variables have something to do with it, but I'm not sure what's going on. I also had to disable the CB logging module, since it's getting "page not found" after the login... but then the user is logged in ok... weird.

Post edited by: piotrtrzeciak, at: 2007/08/29 15:47

Please Log in to join the conversation.

16 years 7 months ago #44368 by rskolnick
hi this is the response i got from siteground:

This is an well known Joomla bug caused by the Joomla sef/seo components. Fortunately there is a sollution we have already applied on your web site.

We have edited includes/joomla.php and replaced:

header( 'HTTP/1.1 301 Moved Permanently' );

with:

header( 'Status: 301 Moved Permanently' );

We have made the same changes in the following file:

components/com_sef/sef.php

it works fine now and also fixed some problems with the https switching.

hope this helps

robert.................

Secret to a Better Life.
Stay one step outside of reality looking in!

Please Log in to join the conversation.

16 years 7 months ago #44393 by piotrtrzeciak
Replied by piotrtrzeciak on topic Re:Sudden problems with HTTPS links (on non-SSL si
Thanks!!! I will test it out tonight!

Please Log in to join the conversation.

16 years 7 months ago #44472 by piotrtrzeciak
Replied by piotrtrzeciak on topic Re:Sudden problems with HTTPS links (on non-SSL si
Unfortunately, that's a no-go as well.
I'm trying to figure it out, but the code that reads $_SERVER variable, always returns true and forces the site to go into the https mode. I can't directly attribute it to any changes I made, so I assume it's the PHP setup on the hosting side. Any suggestions still appreciated!!!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.244 seconds

Facebook Twitter LinkedIn