Convert to SSL
Posted by Svirvic
Convert to SSL February 24, 2025 09:18AM |
Registered: 15 years ago Posts: 40 |
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
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 |
Registered: 15 years ago Posts: 40 |
Re: Convert to SSL February 24, 2025 04:59PM |
Admin Registered: 19 years ago Posts: 575 |
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...
"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 |
Registered: 15 years ago Posts: 40 |
Re: Convert to SSL February 25, 2025 12:45AM |
Registered: 15 years ago Posts: 40 |
Hi!
I tried to rewrite http -> https,
I tried to rewrite http -> https,
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.”Quote
RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^ [https://]%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
Re: Convert to SSL February 25, 2025 09:00AM |
Admin Registered: 19 years ago Posts: 575 |
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
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 |
Admin Registered: 19 years ago Posts: 575 |
Re: Convert to SSL February 25, 2025 10:08AM |
Registered: 15 years ago Posts: 40 |
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
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 |
Registered: 15 years ago Posts: 40 |
Re: Convert to SSL February 26, 2025 01:42AM |
Registered: 15 years ago Posts: 40 |
Re: Convert to SSL March 03, 2025 09:52AM |
Admin Registered: 19 years ago Posts: 575 |
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.
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
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.
Put it in your phorum directory, Run it from the urlbar.Language: PHP<?php phpinfo(); ?>
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 |
Registered: 15 years ago Posts: 40 |
Re: Convert to SSL March 23, 2025 06:14AM |
Registered: 15 years ago Posts: 40 |
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?
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 |
Registered: 15 years ago Posts: 40 |
Sorry, only registered users may post in this forum.