News:

Join the Facebook Fan Page.

Main Menu

SSL Problem

Started by iLearner, November 18, 2017, 02:20:07 PM

Previous topic - Next topic

a10

Yes, test the proxy and be sure it's working.

Got a perfect working proxy on my forum, but anyway did (for fun) a http 'cleanup' in smf_members table. phpmyadmin, Export (with drop\create table set), open in notepad++ find\replace http > https, save, Import.

Rectified a few thousands non-ssl links, just a few minutes work all in all (can probably be done directly in phpmyadmin as well). As always, backup db before doing anything.
2.0.19, php 8.0.23, MariaDB 10.5.15. Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

iLearner

Same behaviour, I tick the image proxy thing and it unticks again.

Also I verified that its actually not working (e.g: https does not work on private messages page)

a10: Yes I did, but members eventually update their avatars again... I can't do that every time nor I think I am supposed to

a10

Quote from: iLearner on November 23, 2017, 07:43:24 AM
I can't do that every time nor I think I am supposed to
Indeed, fixing links was just an experiment. So the image proxy is definitely not active, am supposing you click 'save' after doing the settings, got free space on the server, and set a good size (just to get all that out of the equation). & in ftp any cache folder in the forum directory?
2.0.19, php 8.0.23, MariaDB 10.5.15. Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

LiroyvH

Quote from: iLearner on November 23, 2017, 07:43:24 AM
Same behaviour, I tick the image proxy thing and it unticks again.

Also I verified that its actually not working (e.g: https does not work on private messages page)

a10: Yes I did, but members eventually update their avatars again... I can't do that every time nor I think I am supposed to


Please try it twice in succession.
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

iLearner

I am not a scripting expert or something, but i noticed something strange in my settings.php which was:


I removed the ?> ./AnonGhost<p>AnonGhost</p>YOUR DEFACE PAGE HERE =)
and it started working fine.

LiroyvH

Well umm... That doesn't look good.
I'd scan your website for (past) compromises...
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

a10

! remnants of some hack. Good find, congrats with a working ssl \ proxy.
2.0.19, php 8.0.23, MariaDB 10.5.15. Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

iLearner

Hey, I am sorry if I shouldn't reply here and make new thread, but imo it was the best to post here.

I solved the issue above by enabling image proxy, however now there's a problem that images posted with [img] no longer show, I mean there's no image preview.

iLearner

bump, any images that are hosted on a http:// site do not view within img tags.

Shambles

If you manually load one of the "missing" images in another browser tab, does refreshing the original browser tab then show the image?

Reason for asking is that the original proxy.php was miscoded in a way that prevented uncached images loaded via http:// from showing up, until the browser had cached them elsewhere.

iLearner

Still, doesn't fix the problem?

Shambles

Can you attach your live current copy of proxy.php to your next post (just so we can check it's ok) ?

iLearner

there you go my friend.

Shambles

There's an obscure semicolon near the end of your file. Try this.

No guarantees. No promises.

lurkalot

#34
Quote from: sǝๅqɯɐɥS on December 02, 2017, 05:47:05 PM
There's an obscure semicolon near the end of your file. Try this.

No guarantees. No promises.

That "obscure" semicolon is present in a fresh install too.  ;)  This is from the SMF 2.0.15 full install zip I just downloaded.  And obviously the large upgrade also.

))) === false ? 1 : null;;

Arantor

The extra semicolon should be perfectly legal, if weird.

Shambles


Aleksi "Lex" Kilpinen

Hi, is this still an issue? Have you tried the suggestions given? :)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: