Problem converting from 2.0.22 to PHPBB3

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
JasonDeva
Registered User
Posts: 18
Joined: Sun Apr 06, 2014 7:55 am

Problem converting from 2.0.22 to PHPBB3

Post by JasonDeva »

Hello, I have this forum which is still stuck at ver 2.0.22 so I have been trying to update it to the latest version so that i can change the PHP version something newer. However, using the Conversion tool at /install, nothing seems to happen when i click on Submit (attached a screenshot). Why is this happening? Been trying very long to fix this but still cant find a solution. Any help would be really appreciated.

Old forum:
http://www.ktmrailwayfan.com/forum/

New forum:
https://www.ktmrailwayfan.com/phpBB3/
phpbb1.png
User avatar
AmigoJack
Registered User
Posts: 6108
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Problem converting from 2.0.22 to PHPBB3

Post by AmigoJack »

JasonDeva wrote: Sun Sep 26, 2021 8:32 pmnothing seems to happen when i click on Submit
Enable and allow JavaScript and XHR.
  • "The problem is probably not my English but you do not want to understand correctly. ... We will not come anybody anyway, nevertheless, it's best to shit this." Affin, 2018-11-20
  • "But this shit is not here for you. You can follow with your. Maybe the question, instead, was for you, who know, so you shoved us how you are." axe70, 2020-10-10
  • "My reaction is not to everyone, especially to you." Raptiye, 2021-02-28
JasonDeva
Registered User
Posts: 18
Joined: Sun Apr 06, 2014 7:55 am

Re: Problem converting from 2.0.22 to PHPBB3

Post by JasonDeva »

Im sorry, where and how can enable it, Amigo?
User avatar
AmigoJack
Registered User
Posts: 6108
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Problem converting from 2.0.22 to PHPBB3

Post by AmigoJack »

Wherever you disabled it. Nowadays all internet browsers have JavaScript enabled by default, so if you have no IT skills then just install a new internet browser.

If you have installed extensions/plug-ins/add-ons that primarily want to protect you then chances are one of those also disables JavaScript and/or XHR - extensions like uBlock or uMatrix. It's up to you to re-allow parts of that per website.

Because: I'm able to click your "Submit" button and then things happen. But if you chose the wrong words and you actually mean "something happens but it's not what I wanted/expected" then please describe what you expected.
  • "The problem is probably not my English but you do not want to understand correctly. ... We will not come anybody anyway, nevertheless, it's best to shit this." Affin, 2018-11-20
  • "But this shit is not here for you. You can follow with your. Maybe the question, instead, was for you, who know, so you shoved us how you are." axe70, 2020-10-10
  • "My reaction is not to everyone, especially to you." Raptiye, 2021-02-28
JasonDeva
Registered User
Posts: 18
Joined: Sun Apr 06, 2014 7:55 am

Re: Problem converting from 2.0.22 to PHPBB3

Post by JasonDeva »

Sorry for not being clear, when i click on submit, it just reloads the page. I have made a screen record for your reference in the attachment:
28.09.2021_01.43.01_REC.mp4
(318.66 KiB) Downloaded 9 times
If there was an error message, then I know there might be something wrong but this only reloads. Is this because my old forum cannot load because it doesnt support the new PHP version?
User avatar
AmigoJack
Registered User
Posts: 6108
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Problem converting from 2.0.22 to PHPBB3

Post by AmigoJack »

(For those not being able to watch the video)
  • the page is filled just like in the screenshot (with database name, username, password, table prefix and board path filled)
  • button "Submit" is clicked
  • as expected, the form is submitted, the AJAX "loading" graphics is displayed
  • the same page is reloaded again, but not one editbox is filled with anything
  • the internet browser automatically fills username and password with what seems to be the board account credentials.
This is so not "nothing seems to happen". Really!

Are you sure both database name (that's where all database tables reside in) and database username (that's your name to authenticate against the database) are the same? That's higly unlikely.
  • "The problem is probably not my English but you do not want to understand correctly. ... We will not come anybody anyway, nevertheless, it's best to shit this." Affin, 2018-11-20
  • "But this shit is not here for you. You can follow with your. Maybe the question, instead, was for you, who know, so you shoved us how you are." axe70, 2020-10-10
  • "My reaction is not to everyone, especially to you." Raptiye, 2021-02-28
JasonDeva
Registered User
Posts: 18
Joined: Sun Apr 06, 2014 7:55 am

Re: Problem converting from 2.0.22 to PHPBB3

Post by JasonDeva »

Yes, i copied the info from the old forum's config.php directly. Is there any other way to convert from version 2 to 3? Really wished i did this earlier :oops: .
oldforumdatabase.png
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: Problem converting from 2.0.22 to PHPBB3

Post by 3Di »

The problem here is that your phpBB2 is running HTTP: http://www.ktmrailwayfan.com/forum/
therefore you can not continue since it is blocked by
Blocked loading mixed active content "http://www.ktmrailwayfan.com/"
You should first force to HTTPS your old forum, then the conversion will continue its progress.
Attachments
2021-10-02 10_43_47-Settings — Mozilla Firefox.png
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
JasonDeva
Registered User
Posts: 18
Joined: Sun Apr 06, 2014 7:55 am

Re: Problem converting from 2.0.22 to PHPBB3

Post by JasonDeva »

I tried forcing https using this tutorial. I insert this code in root .htaccess:

Code: Select all

RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
and this in /forum .htaccess:

Code: Select all

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteCond %{REQUEST_URI} forum
RewriteRule ^(.*)$ https://www.ktmrailwayfan.com/forum/$1 [R=301,L]
However, that made no difference. Is this the correct way to force https?
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: Problem converting from 2.0.22 to PHPBB3

Post by 3Di »

JasonDeva wrote: Sat Oct 02, 2021 10:22 am ....

and this in /forum .htaccess:

Code: Select all

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteCond %{REQUEST_URI} forum
RewriteRule ^(.*)$ https://www.ktmrailwayfan.com/forum/$1 [R=301,L]
However, that made no difference. Is this the correct way to force https?
Try replacing all of the above in /forum .htaccess with

Code: Select all

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
</IfModule>
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
JasonDeva
Registered User
Posts: 18
Joined: Sun Apr 06, 2014 7:55 am

Re: Problem converting from 2.0.22 to PHPBB3

Post by JasonDeva »

Update:

I removed all the codes from the previous post and used the mentioned cpanel method in the tutorial but still same thing, the convert page just reloads without anything.
cpanelredirect.png
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Problem converting from 2.0.22 to PHPBB3

Post by warmweer »

JasonDeva wrote: Sun Sep 26, 2021 8:32 pm Old forum:
http://www.ktmrailwayfan.com/forum/

New forum:
https://www.ktmrailwayfan.com/phpBB3/
Why don't you try converting on localhost (personal webserver) and avoid the whole https hassle?
Once converted you can upload the result and reapply https.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
JasonDeva
Registered User
Posts: 18
Joined: Sun Apr 06, 2014 7:55 am

Re: Problem converting from 2.0.22 to PHPBB3

Post by JasonDeva »

warmweer wrote: Sat Oct 02, 2021 2:09 pm
JasonDeva wrote: Sun Sep 26, 2021 8:32 pm Old forum:
http://www.ktmrailwayfan.com/forum/

New forum:
https://www.ktmrailwayfan.com/phpBB3/
Why don't you try converting on localhost (personal webserver) and avoid the whole https hassle?
Once converted you can upload the result and reapply https.
Any tutorial how to do this?
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Problem converting from 2.0.22 to PHPBB3

Post by warmweer »

JasonDeva wrote: Mon Oct 04, 2021 4:16 am Any tutorial how to do this?
Installing and Setting Up Your Own Web Server
You'll need a PWS with a php version suitable for phpBB 2.0.22 and phpBB 3.0.14.
Old versions of XAMPP (or EasyPHP, Wampserver) can be found on internet.
Once you have a 3.0.14 phpBB database, either upgrade on PWS (you'll then need a version with at least php 7.2 for phpBB 3.3.5) or directly on your host.
have a look at the Knowledge Base, specifically:

Transferring Your Board to a New Host or Domain

The first hurdle may be getting your phpBB2 working on your PC.
It may seem complicated but take it one step at a time, don't panic, if something goes wrong you have the phpBB2 database to fall back on.
Once your 3.0.14 is in working order, keep a database backup of that and continue on a copy.

Don't rush and if you encounter a problem: ask precise and specific questions. The Support Team (and quite a few knowledgeable members here) have gone through the process a number of times.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: Problem converting from 2.0.22 to PHPBB3

Post by 3Di »

JasonDeva wrote: Sat Oct 02, 2021 10:33 am I removed all the codes from the previous post and used the mentioned cpanel method in the tutorial but still same thing, the convert page just reloads without anything.
Have you read this? viewtopic.php?p=15763276#p15763276
Remove any redirections from cPanel and use .htaccess rules.
warmweer wrote: Mon Oct 04, 2021 7:10 am The first hurdle may be getting your phpBB2 working on your PC.
You do not need it to be working, just you need the files and the dump of the database.
Then you can go straight to phpBB 3.3.5. No need to install 3.0.14, BTW phpBB2 runs fine on PHP 5.6.x AFAIR.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
Post Reply

Return to “[3.3.x] Support Forum”