Firefox PHP

Convert to SSL

Posted by Svirvic 
Convert to SSL
February 24, 2025 09:18AM
Hi to everybody!

For the first, thanks and my respect for perfect job – the Phorum.

I have version 5.2.20, it worked OK up to time, but recently I asked my hosters to convert my site into SSL, changed all http with https and suddenly detected that I cannot do any correction and add something: no new theme, no registration… And no message on error. It seems to me there is no connection with database, but I have no idea how to improve the situation.

Please, help, if it is possible
Re: Convert to SSL
February 24, 2025 03:26PM
I should add that really my forum is fully readable but unchangeable, that is the problem
Re: Convert to SSL
February 24, 2025 04:59PM
Go to admin / General Settings / scroll to
"File/Path Settings"
HTTP Path in the box>>> [www.yourwebsite.]??????


Change or add the .htaccess (or Windows equivalent) to rewrite http:// to https://

NOTE *Linux is case sensitive, be sure to match path & directory names exactly...
Re: Convert to SSL
February 24, 2025 06:04PM
Thanks, Scott/

1. HTTP Path = [https://]...

2. Unfortunately I cannot rewrite http:// cause there are some outgoing links

Nevertheless tnk u



Edited 1 time(s). Last edit at 02/24/2025 09:46PM by Svirvic.
Re: Convert to SSL
February 25, 2025 12:45AM
Hi!

I tried to rewrite http -> https,
Quote

RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^ [https://]%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
then attempted to change a post, after Enter has been put I have became notification “Possible hack attempt detected. The posted form data was rejected.”
Re: Convert to SSL
February 25, 2025 09:00AM
Clear the cache from (admin), make sure it is pointed at a directory you can access.
May take multiple tries, times out.
Check that the cache directory is empty.

Event logging turned on in admin? Details usually point to line of code, and or module.

PHP logging available and enabled in the php config, and sent to a directory you can access ?
Event logging in phorum doesn't log everything.

Turn modules off, test, and enable one at a time.

Scott
Re: Convert to SSL
February 25, 2025 09:52AM
If you are using the Spam Hurdles module see attachment.


Re: Convert to SSL
February 25, 2025 10:08AM
Done, but nothing changed :(

In section MODS of Admin
=============
Warning: file_exists(): open_basedir restriction in effect. File(./mods/mod_tidy.php/info.txt) is not within the allowed path(s) /include/api/modules.php on line 119
=============
It's somewhat misty for me...

In addition to it:
- Post Previews does not work
- Avatars are invisible
Re: Convert to SSL
February 25, 2025 10:56AM
Oh, tnx.

Put on Event Logging - format_edit_notification Module PHP notice: Undefined index: mod_readable_dates
Re: Convert to SSL
February 26, 2025 01:42AM
Logged out, now cannot log in to the forum neither as a member nor as admin. Forum became just only readable
Re: Convert to SSL
March 03, 2025 09:52AM
Sorry my computer was down since last Wed.

Create a text file, insert the code below. Name the file ????phpinfo.php where the ???? is replaced with something you choose that will prevent robots from running it, and getting access to things robots should not have access to.
Language: PHP
<?php phpinfo(); ?>
Put it in your phorum directory, Run it from the urlbar.

Version of php matters? (So we can locate the correct change log at php.net)
Changes have been made by php.net developers that broke phorum code.
Class names may need to be fixed.
Quotes may need to be changed.
Brackets and parentheses may be treated differently.


Version of MySql matters
MySql changed default storage engine from myisam to ???. Search won't work if it was converted.
"Strict" may need to be turned off.

For both php and MySql reserved words have been added.

Browser(s) treat default page handling differently than the old browsers. >> doctype
Re: Convert to SSL
March 19, 2025 12:32AM
Thanks Scott! Just changed server and tariff plan, now all is OK
Re: Convert to SSL
March 23, 2025 06:14AM
Beg your pardon, Scott, I was too hasty - not everything is OK, problems appeared with mods:

1. User Avatar (version 3.0.4) - no avatars (pictures) is displayed, instead just only appropriate Alt,
though pict is loading with no error (Phorum v. 5.2.20)

2. Embed Images (version 1.1.5) - no pict (3.8 Kb) as well, debugging shows:
Image error
Debug info:
Load local file: 3212
Load local image file
Create thumbnail using 80x80 boundary
Original image was 100x100
Thumbnail created at 80x80
Thumbnail MIME type: image/png
OK 100x100 80x80
open image URL" .

When open image URL only small square is displayed. I use jQuery FancyBox, Download test (tries to load [www.google.com]) is "NOT OK".

I tried to change all other image viewers, result was the same... Is there any idea?
Re: Convert to SSL
March 25, 2025 05:51AM
Hi!

Removed "ON" in Tidy Output mod and all the problems disappeared. I'm happy...

Thanks for great Phorum!
Sorry, only registered users may post in this forum.

Click here to login