upgrade from 3.1 to 3.3

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
BF79
Registered User
Posts: 522
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

upgrade from 3.1 to 3.3

Post by BF79 »

Hello my friend :)
I just followed the instruction of

Make a backup of the original files

Make a backup of the database

Deactivate all styles except for prosilver

Deactivate any extensions which are not compatible with phpBB 3.3. Check with the extension author to find out if an extension is compatible or not.

Set British English as the only language pack

Download the phpBB 3.3 Full Package archive

Extract the contents of the archive to your computer and open the phpBB3 directory

Delete the following files from the package:

The config.php file

The images/ directory

The files/ directory

The store/ directory

On your website, delete all files from your board EXCEPT for:

The config.php file

The ext/ directory

The images/ directory

The files/ directory

The store/ directory
--------------------
at the end
I got error
You are running an unsupported PHP version (5.6.37). Please upgrade to PHP 7.2.0 or higher before trying to install or update to phpBB 3.3

I got support from admin server.. he upgraded the php to 7.2.xx
now I have this error
General Error
SQL ERROR [ mysqli ]

Unknown column 'user_last_active' in 'field list' [1054]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.




need help guys girls !!
User avatar
janus_zonstraal
Registered User
Posts: 6588
Joined: Sat Aug 30, 2014 1:30 pm

Re: upgrade from 3.1 to 3.3

Post by janus_zonstraal »

I got support from admin server.. he upgraded the php to 7.2.xx
Go to php8.x
7.2 is very old and not safe to use.
Sorry! My English is bat ;) !!!
BF79
Registered User
Posts: 522
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: upgrade from 3.1 to 3.3

Post by BF79 »

janus_zonstraal wrote: Sat Jul 20, 2024 10:53 am
I got support from admin server.. he upgraded the php to 7.2.xx
Go to php8.x
7.2 is very old and not safe to use.
ok..I will do
but what about

General Error
SQL ERROR [ mysqli ]

Unknown column 'user_last_active' in 'field list' [1054]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
User avatar
janus_zonstraal
Registered User
Posts: 6588
Joined: Sat Aug 30, 2014 1:30 pm

Re: upgrade from 3.1 to 3.3

Post by janus_zonstraal »

Go to php8.x first and than update the database, maybe the error is gone at that time.
Sorry! My English is bat ;) !!!
BF79
Registered User
Posts: 522
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: upgrade from 3.1 to 3.3

Post by BF79 »

janus_zonstraal wrote: Sat Jul 20, 2024 11:31 am Go to php8.x first and than update the database, maybe the error is gone at that time.
can you tell me where or how to upgrade..
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26825
Joined: Fri Aug 29, 2008 9:49 am

Re: upgrade from 3.1 to 3.3

Post by Mick »

Upgrading from 3.1 to 3.3 or are you just wanting to upgrade the database?

If it’s just the database and you have up to date files upload the /install folder from the upgrade package then browse to it and run update database.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
BF79
Registered User
Posts: 522
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: upgrade from 3.1 to 3.3

Post by BF79 »

Mick wrote: Sat Jul 20, 2024 1:26 pm Upgrading from 3.1 to 3.3 or are you just wanting to upgrade the database?

If it’s just the database and you have up to date files upload the /install folder from the upgrade package then browse to it and run update database.
I upgraded my files..
now to install I have this msg

The installer detected a timeout
The installer has detected a timeout, you may try to refresh the page, which may lead to data corruption. We suggest that you either increase your timeout settings or try to use the CLI.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6285
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: upgrade from 3.1 to 3.3

Post by thecoalman »

Look in your hosting control panel for anything related to php.ini, if it's cpanel find MultiPHP INI Editor. On the basic tab select the location and find the entry for max_execution_time and Increase it.

Restore your DB backup and after completing the update go back to hosting control panel and edit in the default max_execution_time. This should be low for normal operations, it's there for a reason.

If you don't have this in your hosting control panel consult hosts documentation or contact them.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
BF79
Registered User
Posts: 522
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: upgrade from 3.1 to 3.3

Post by BF79 »

I got support from server host admin.. and my forum is ok from 3.1 to 3.3
now I cleared cache..... and I wanted to upload backup.. when I click i got this msg

Code: Select all

General Error
SQL ERROR [ mysqli ]

Table './ftsiempr_bb318/phpbb_statistics_online' is marked as crashed and last (automatic?) repair failed [144]

SQL

SHOW CREATE TABLE phpbb_statistics_online

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 1031
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 211
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/extractor/mysql_extractor.php
LINE: 190
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/db/extractor/mysql_extractor.php
LINE: 64
CALL: phpbb\db\extractor\mysql_extractor->new_write_table()

FILE: [ROOT]/includes/acp/acp_database.php
LINE: 90
CALL: phpbb\db\extractor\mysql_extractor->write_table()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: acp_database->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
User avatar
warmweer
Jr. Extension Validator
Posts: 11627
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: upgrade from 3.1 to 3.3

Post by warmweer »

BF79 wrote: Mon Jul 22, 2024 9:59 pm I got support from server host admin.. and my forum is ok from 3.1 to 3.3
now I cleared cache..... and I wanted to upload backup.. when I click i got this msg

General Error
SQL ERROR [ mysqli ]

Table './ftsiempr_bb318/phpbb_statistics_online' is marked as crashed and last (automatic?) repair failed [144]
If your board was successfully upgraded from 3.1 to 3.3, then why would you restore a backup (either files or database)?

Also... where is that table phpbb_statistics_online coming from? It's not a default phpBB 3.1 nor 3.3 table.
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
janus_zonstraal
Registered User
Posts: 6588
Joined: Sat Aug 30, 2014 1:30 pm

Re: upgrade from 3.1 to 3.3

Post by janus_zonstraal »

[ got support from server host admin.. and my forum is ok from 3.1 to 3.3
now I cleared cache..... and I wanted to upload backup.. when I click i got this msg/quote]
So your files are 3.3.12 and you want to restore your 3.1 database :shock:
Sorry! My English is bat ;) !!!
BF79
Registered User
Posts: 522
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: upgrade from 3.1 to 3.3

Post by BF79 »

no no .. I wanted just to save backup not restore
BF79
Registered User
Posts: 522
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: upgrade from 3.1 to 3.3

Post by BF79 »

warmweer wrote: Mon Jul 22, 2024 10:18 pm
BF79 wrote: Mon Jul 22, 2024 9:59 pm I got support from server host admin.. and my forum is ok from 3.1 to 3.3
now I cleared cache..... and I wanted to upload backup.. when I click i got this msg

General Error
SQL ERROR [ mysqli ]

Table './ftsiempr_bb318/phpbb_statistics_online' is marked as crashed and last (automatic?) repair failed [144]


Also... where is that table phpbb_statistics_online coming from? It's not a default phpBB 3.1 nor 3.3 table.
lol I dont know !!
maybe extension.. but I delete al ext
User avatar
warmweer
Jr. Extension Validator
Posts: 11627
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: upgrade from 3.1 to 3.3

Post by warmweer »

BF79 wrote: Mon Jul 22, 2024 11:29 pm
warmweer wrote: Mon Jul 22, 2024 10:18 pm
Also... where is that table phpbb_statistics_online coming from? It's not a default phpBB 3.1 nor 3.3 table.
lol I dont know !!
maybe extension.. but I delete al ext
Did you disable and delete extension data before removing the files?
As mentioned in the 3.1 to 3.3 upgrade instructions:

5. Deactivate any extensions which are not compatible with phpBB 3.3. Check with the extension author to find out if an extension is compatible or not.
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.
BF79
Registered User
Posts: 522
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: upgrade from 3.1 to 3.3

Post by BF79 »

warmweer wrote: Tue Jul 23, 2024 12:16 am
BF79 wrote: Mon Jul 22, 2024 11:29 pm
lol I dont know !!
maybe extension.. but I delete al ext
Did you disable and delete extension data before removing the files?
As mentioned in the 3.1 to 3.3 upgrade instructions:

5. Deactivate any extensions which are not compatible with phpBB 3.3. Check with the extension author to find out if an extension is compatible or not.
I just disable not deleted..
I just deleted data when I am now 3.3 and also remove totaly
:?

Return to “[3.3.x] Support Forum”