TinyPortal

Development => Support => Topic started by: PoML on April 26, 2023, 11:40:53 PM

Title: Upgrade 2.2.2 to 2.3.0 "Database error"?
Post by: PoML on April 26, 2023, 11:40:53 PM
Hi!

tried to upgrade version 2.2.2 to 2.3.0 after I had to deactivate tiny calendar after my provider upgraded PHP to 8.2

I read that you "might" need to apply a patch before, sp I attempted first without it, but got this database error when upgrading:

"Database error:
Invalid default value for 'item_type'
File: /customers/c/c/a/c5jnzrz36/webroots/r538174/medlemmer/forum/Packages/temp/install.php
Line: 354
"
Link to my forum: https://smbergen.org/medlemmer/forum
SMF version: SMF 2.1.3
TP version: 2.3.0
Default Forum Language: Norwegian / English
Theme name and version: Default Curve 2
Browser Name and Version: Chrome  112.0.5615.138
Mods installed: NA
Related Error messages: Database error, see above
Title: Re: Upgrade 2.2.2 to 2.3.0 "Database error"?
Post by: PoML on April 27, 2023, 12:06:05 AM
Started to get "too many redirects" when trying to log in after the failed upgrade-attempt.  Maybe the upgrade did some changes before it stopped?  Any advise?

UPDATE:  managed to install the fix and re-attempt upgrade from a still-logged in cell phone.
That did the trick. Now I "only" have 33000 errors in the log (and counting) to deal with.
Title: Re: Upgrade 2.2.2 to 2.3.0 "Database error"?
Post by: @rjen on April 27, 2023, 04:35:51 AM
What are these error messages?

I suggest you read this thread...
https://www.tinyportal.net/index.php?topic=36832.0