Author Topic: Problem - URLs show https - should be http  (Read 3260 times)

0 Members and 1 Guest are viewing this topic.

Offline nunoms

Problem - URLs show https - should be http
« on: 18. November 2008, 23:44:10 »
Hi,

I installed the version RC2.9.0.2.
As part of the backoffice and the frontoffice are not well.

In the source code i see url: "https://localhost/site/components/com_sobi2/includes/com_sobi2.css"
In the paths of the images also appears with https

There can be "https" but only "http"

How to fix this problem?


compliments, excuse my English



Moderator note: edited subject for clarity
 
« Last Edit: 19. November 2008, 02:25:51 by kenmcd »
Country: Portugal Portugal |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline neo

  • Sobi Team
  • Development
  • Sobi Hero
  • *
  • Posts: 8088
  • Reviews:

    What is it?

    • Sobi Team Member
Re: Problem - URLs show https - should be http
« Reply #1 on: 19. November 2008, 07:22:47 »
I guess you are using M$ IIS instead of Apache. Am I wrong?
Support SobiPro - Submit a review on JED
If you want ongoing development for SobiPro and new applications being developed we need your review for SobiPro in the Joomla Extensions Directory.
Thank you very much :w00t:
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile 

Do you want continued ongoing development, new features and active support?
Please write a review or just vote for SOBI on JED.

Offline nunoms

Re: Problem - URLs show https - should be http
« Reply #2 on: 19. November 2008, 11:55:55 »
Yes, i used Windows with IIS.
Country: Portugal Portugal |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline neo

  • Sobi Team
  • Development
  • Sobi Hero
  • *
  • Posts: 8088
  • Reviews:

    What is it?

    • Sobi Team Member
Re: Problem - URLs show https - should be http
« Reply #3 on: 19. November 2008, 14:09:49 »
SOBI2 is not released to use it with M$ IIS:

Quote from: http://www.sigsiu.net/download/components/sigsiu_online_business_index_2.html
Quote
Requirements:
Requires at least Joomla! 1.0.12, Joomla 1.5.3, Mambo 4.6.2 or MiaCMS 4.6.5, PHP4 (> 4.4.X), MySQL4, Apache Webserver, Safe Mode off, GD Library installed, Java Script activated. Also ECMA standard encoding (ISO/IEC 8859 and UTF-8) needed. For Non-UTF-8 sites with special characters: Iconv library or mbstring module installed.

You can try to change the config key "use_mos_conf_livesite" in the section "compat" in registry editor.

Regards,
Neo
Support SobiPro - Submit a review on JED
If you want ongoing development for SobiPro and new applications being developed we need your review for SobiPro in the Joomla Extensions Directory.
Thank you very much :w00t:
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile 

Offline nunoms

Re: Problem - URLs show https - should be http
« Reply #4 on: 19. November 2008, 15:02:37 »
Hello,

Apparently solved the problem, I do not know if it was the right way.

In the file "config.class.php" inside the folder com_sobi2 on line 996 are:

else (
$ protocol = ((sobi2Config:: request ($ _SERVER, "SERVER_PORT", 0) == 443) | | sobi2Config:: request ($ _SERVER, "HTTPS", false))? "https": "http";


and moved to:

else (
$ protocol = ((sobi2Config:: request ($ _SERVER, "SERVER_PORT", 0) == 443) | | sobi2Config:: request ($ _SERVER, "HTTPS", false))? "http": "http";


I took the https, I do not know if it is safe to draw this, but solved the problem.

Regards,
Country: Portugal Portugal |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline neo

  • Sobi Team
  • Development
  • Sobi Hero
  • *
  • Posts: 8088
  • Reviews:

    What is it?

    • Sobi Team Member
Re: Problem - URLs show https - should be http
« Reply #5 on: 19. November 2008, 15:08:48 »
I do not know if it was the right way.

It's not. Read please what I wrote before.
Support SobiPro - Submit a review on JED
If you want ongoing development for SobiPro and new applications being developed we need your review for SobiPro in the Joomla Extensions Directory.
Thank you very much :w00t:
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile 

Offline michele00

  • Sobi Newbie
  • *
  • Posts: 2
Re: Problem - URLs show https - should be http
« Reply #6 on: 19. November 2010, 15:15:25 »
Hi,
I have the same problem using microsoft server using IIS 6

I have read
" You can try to change the config key "use_mos_conf_livesite" in the section "compat" in registry editor. "

Where can I find the file to edit?

Thanks
Michele
Country: Italy Italy |  OS: Mac OS X 10.5.8 Mac OS X 10.5.8 |  Browser: Safari 5.0.1 Safari 5.0.1 | View Profile

Offline michele00

  • Sobi Newbie
  • *
  • Posts: 2
Re: Problem - URLs show https - should be http
« Reply #7 on: 19. November 2010, 15:24:26 »
I resolve it!
Now sobi2 on IIS 6 works!

To do this: Open \components\com_sobi2\includes\inc\config.ini. At about 229 line, Change use_mos_conf_livesite = 0 to use_mos_conf_livesite = 1.


Bye
michele
Country: Italy Italy |  OS: Mac OS X 10.5.8 Mac OS X 10.5.8 |  Browser: Safari 5.0.1 Safari 5.0.1 | View Profile

Offline aboututila

Re: Problem - URLs show https - should be http
« Reply #8 on: 19. November 2010, 21:37:13 »
Yes, i used Windows with IIS.
May I also suggest that you read the 'For Microsoft IIS' notes shown here http://www.joomla.org/technical-requirements.html

Regards - Mark
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.6.12 Firefox 3.6.12 | View Profile

Tags: