Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Strona nie działa prawidłowo pod https://

Optymalizacja  Założony przez  blokers.

wersja skryptu MyBB:1.6.1.5
adres forum: csgdansk.pl
na czym polega problem (screen, opis, komunikaty):Zakupiłem cerfyfikat SSL na moja strone. Na poczatku wymusilem połaczenie w .htaccess, ale nie działałao. Ustawiłem w ACP, stonrę startowa na https, lecz wyskakuje bład. Błędem jest całkowicie nie pukładana strona. Zadnego ładu. Czcionka zmienila sie na standardowa.
W tej chwli mam ustawione na zwykły http, ale mozna zobaczyc problem na https://csgdansk.pl/


Przepraszam, z rozmachu dodalem post do wersji 1.8
Z tego co widzę to wszystko wymusza ci użycie po http a nie HttpS:
Logi z konsoli:
Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure script 'http://csgdansk.pl/jscripts/prototype.js?ver=1603'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure script 'http://csgdansk.pl/jscripts/general.js?ver=1603'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure script 'http://csgdansk.pl/jscripts/popup_menu.js?ver=1600'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure resource 'http://csgdansk.pl/jscripts/whcookies.js'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure resource 'http://csgdansk.pl/jscripts/slide.js'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure resource 'http://csgdansk.pl/jscripts/serversboard.js'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure resource 'http://csgdansk.pl/cache/themes/theme5/global.css'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure resource 'http://csgdansk.pl/cache/themes/theme5/Perelka_V2.css'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure resource 'http://csgdansk.pl/cache/themes/theme5/hint.css'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure resource 'http://csgdansk.pl/css.php?stylesheet=32'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure resource 'http://csgdansk.pl/css.php?stylesheet=31'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure resource 'http://code.jquery.com/jquery-1.7.2.min.js'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure resource 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://cyryko.joi.pl/status/s.php?serwer=only'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://pichoster.net/images/2014/08/19/cstrike.gif'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://www.gametracker.com/server_info/79.133.192.48:27029/b_350_20_692108_381007_FFFFFF_000000.png'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://pichoster.net/images/2014/08/19/cstrike.gif'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://cache.www.gametracker.com/server_info/v86.svoice.pl:9987/b_350_20_692108_381007_FFFFFF_000000.png'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://pichoster.net/images/2014/08/19/ts3.png'. This content should also be served over HTTPS.
Musisz zmienić odwołania aby były po HTTPS
Czyli jak mam to zrobic?

gloverek - ustwailem adres w acp jak piszesz, ale sa wlasne takie bledy jak mowie.
w htaccess co mialbym ustawic?
Certyfikat nie jest darmowy, Comodo.
Sprawdź .htaccess, bo to tam właśnie może masz wymuszenie.
.htaccess mam puste wlasnie.
Ustaw adres w acp po https a .htaccess ustaw tak:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS}  off
RewriteRule ^(.*)$ https://csgdansk.pl/$1 [R=301,L]

Jak zmienisz tak jak ci napisałem to daj znać wtedy będę mógł głębiej zobaczyć gdzie tkwi problem.
Ustawilem.
Brak czcionki i slidera.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure resource 'http://code.jquery.com/jquery-1.7.2.min.js'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure resource 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://cyryko.joi.pl/status/s.php?serwer=only'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://pichoster.net/images/2014/08/19/cstrike.gif'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://www.gametracker.com/server_info/79.133.192.48:27029/b_350_20_692108_381007_FFFFFF_000000.png'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://pichoster.net/images/2014/08/19/cstrike.gif'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://cache.www.gametracker.com/server_info/v86.svoice.pl:9987/b_350_20_692108_381007_FFFFFF_000000.png'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://pichoster.net/images/2014/08/19/ts3.png'. This content should also be served over HTTPS.
4(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://csgdansk.pl/admin/styles/default/images/default_avatar.gif'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://csgdansk.pl/dd2/only.jpg'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://cyryko.joi.pl/status/s.php?serwer=only'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://csgdansk.pl/dd2/ts3.jpg'. This content should also be served over HTTPS.
3(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://csgdansk.pl/admin/styles/default/images/default_avatar.gif'. This content should also be served over HTTPS.
https://csgdansk.pl/css.php?stylesheet=32 Failed to load resource: the server responded with a status of 404 (Not Found)
https://csgdansk.pl/css.php?stylesheet=31 Failed to load resource: the server responded with a status of 404 (Not Found)
(index):30 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300&subset=latin,latin-ext'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure script 'http://code.jquery.com/jquery-1.7.2.min.js'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure script 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'. This request has been blocked; the content must be served over HTTPS.
(index):86 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure resource 'http://csgdansk.pl/ogloszenia/index2.html'. This request has been blocked; the content must be served over HTTPS.
(index):242 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://cyryko.joi.pl/status/s.php?serwer=only'. This content should also be served over HTTPS.
(index):244 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://pichoster.net/images/2014/08/19/cstrike.gif'. This content should also be served over HTTPS.
(index):253 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://www.gametracker.com/server_info/79.133.192.48:27029/b_350_20_692108_381007_FFFFFF_000000.png'. This content should also be served over HTTPS.
(index):255 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://pichoster.net/images/2014/08/19/cstrike.gif'. This content should also be served over HTTPS.
(index):264 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://cache.www.gametracker.com/server_info/v86.svoice.pl:9987/b_350_20_692108_381007_FFFFFF_000000.png'. This content should also be served over HTTPS.
(index):266 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://pichoster.net/images/2014/08/19/ts3.png'. This content should also be served over HTTPS.
(index):300 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://csgdansk.pl/admin/styles/default/images/default_avatar.gif'. This content should also be served over HTTPS.
(index):306 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://csgdansk.pl/admin/styles/default/images/default_avatar.gif'. This content should also be served over HTTPS.
(index):318 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://csgdansk.pl/admin/styles/default/images/default_avatar.gif'. This content should also be served over HTTPS.
(index):324 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://csgdansk.pl/admin/styles/default/images/default_avatar.gif'. This content should also be served over HTTPS.
(index):695 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://csgdansk.pl/dd2/only.jpg'. This content should also be served over HTTPS.
(index):696 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://cyryko.joi.pl/status/s.php?serwer=only'. This content should also be served over HTTPS.
(index):725 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://csgdansk.pl/dd2/ts3.jpg'. This content should also be served over HTTPS.
(index):838 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://csgdansk.pl/admin/styles/default/images/default_avatar.gif'. This content should also be served over HTTPS.
(index):931 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://csgdansk.pl/admin/styles/default/images/default_avatar.gif'. This content should also be served over HTTPS.
(index):1087 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://csgdansk.pl/admin/styles/default/images/default_avatar.gif'. This content should also be served over HTTPS.
serversboard.js:19 Uncaught TypeError: undefined is not a function
9jquery.min.js:5 Mixed Content: The page at 'https://csgdansk.pl/' was loaded over HTTPS, but requested an insecure image 'http://csgdansk.pl/admin/styles/default/images/default_avatar.gif'. This content should also be served over HTTPS.
https://csgdansk.pl/css.php?stylesheet=32 Failed to load resource: the server responded with a status of 404 (Not Found)
https://csgdansk.pl/css.php?stylesheet=31 Failed to load resource: the server responded with a status of 404 (Not Found)
Poszukaj w szablonie czy nie ma tam na sztywno w plikach wpisanego adresu po http i zmień na https
w indexie?
W plikach szablonu wszystkich
Wyłącz też modyfikacje i zobacz jak forum wygląda bo możliwe że i w nich jest też gdzieś wymuszanie po zwykłym http

Widzę że wszystko już OK.
No sa jeszcze jakies bledy w konsoli, ale chyba sie uporam z nimi. Jak nie bede wiedzial czegos to odpisze w tym temacie, prosze nie zamykac.

Troche głuie pytanie, gdzie sie znajduje index.php stylu?
w szablonach stylu strona główna.
nie o ten. Przez ACP nie rozwiążę problemu.
Bo jak mam w index w ACP znależc linie 300 jak on tyle nie ma. Tu przykład z konsoli.
<tr><td class="trow3">
            <img src="http://csgdansk.pl/admin/styles/default/images/default_avatar.gif" alt="" style="float: left;width: 32px;margin-right: 5px;"/>
            <a href="showthread.php?tid=1051">Elo</a><br />
            <a href="https://csgdansk.pl/member.php?action=profile&amp;uid=648"><span style="color: black;"><strong>zaba</strong></span></a><span style="float: right;widthmargin-right: 5px;">02-12-2014 13:13</span>
            </td></tr>
Co to za styl?
Jest to styl autorski.



Użytkownicy przeglądający ten wątek:

1 gości