TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

June 26, 2024, 09:11:20 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,280
  • Total Topics: 21,227
  • Online today: 319
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 271
  • Total: 271

Issues after SMF upgrade from 2.0.19 to 2.1.4 / TP 1 to TP 3 lots if index error

Started by GhostRider2110, June 17, 2024, 01:48:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GhostRider2110

Current:
SMF 2.1.4 TP 3

Migrating and Upgraded from SMF 2.0.19/TP 1 to current.  Error log getting a lot of errors when am trying to modify panels and blocks.

QuoteToday at 20:27:19
 Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?action=tpadmin&sa=editblock&id=34;d27e9647c=4491c5fd5b9710f70cce35f2ec571fbb
/home/usscalem/public_html/forumsmf2/Themes/default/TPBlockLayout.template.php (Line 652)  Backtrace information

Type of error: Undefined
Error messageSelect
8: Undefined index: panelstyle
70

Today at 20:27:19
Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?action=tpadmin&sa=editblock&id=34;d27e9647c=4491c5fd5b9710f70cce35f2ec571fbb
/home/usscalem/public_html/forumsmf2/Themes/default/TPBlockLayout.template.php (Line 643)  Backtrace information

Type of error: Undefined
Error messageSelect
8: Undefined index: panelstyle
69

Today at 20:27:04
Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?
/home/usscalem/public_html/forumsmf2/Themes/default/TPsubs.template.php(601) : eval()'d code (Line 99)  Backtrace information

Type of error: General
Error messageSelect
2: sizeof(): Parameter must be an array or an object that implements Countable
68

Today at 20:27:04
Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?
/home/usscalem/public_html/forumsmf2/Themes/default/TPsubs.template.php(601) : eval()'d code (Line 99)  Backtrace information

Type of error: General
Error messageSelect
8: Trying to access array offset on value of type null
67

Today at 20:27:04
Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?
/home/usscalem/public_html/forumsmf2/Themes/default/TPsubs.template.php(601) : eval()'d code (Line 99)  Backtrace information

Type of error: Undefined
Error messageSelect
8: Undefined index: tpmodules
66

Today at 20:27:04
Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?
/home/usscalem/public_html/forumsmf2/Themes/default/TPsubs.template.php(601) : eval()'d code (Line 51)  Backtrace information

Type of error: General
Error messageSelect
2: implode(): Invalid arguments passed
65

Today at 20:27:04
Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?
/home/usscalem/public_html/forumsmf2/Themes/default/TPsubs.template.php(601) : eval()'d code (Line 51)  Backtrace information

Type of error: Undefined
Error messageSelect
8: Undefined index: fader_news_lines
64

Today at 20:27:04
Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?
/home/usscalem/public_html/forumsmf2/Sources/TPortal.php (Line 1956)  Backtrace information

Type of error: Undefined
Error messageSelect
8: Undefined index: block_author
63

Today at 20:27:04
Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?
/home/usscalem/public_html/forumsmf2/Sources/TPortal.php (Line 1955)  Backtrace information

Type of error: Undefined
Error messageSelect
8: Undefined index: block_height
62

Today at 20:27:04
Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?
/home/usscalem/public_html/forumsmf2/Themes/default/TPsubs.template.php(601) : eval()'d code (Line 21)  Backtrace information

Type of error: General
Error messageSelect
8: Trying to access array offset on value of type null
61

Today at 20:27:04
Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?
/home/usscalem/public_html/forumsmf2/Themes/default/TPsubs.template.php(601) : eval()'d code (Line 21)  Backtrace information

Type of error: Undefined
Error messageSelect
8: Undefined variable: settings
60

Today at 20:27:04
Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?
/home/usscalem/public_html/forumsmf2/Themes/default/TPsubs.template.php(601) : eval()'d code (Line 21)  Backtrace information

Type of error: General
Error messageSelect
8: Trying to access array offset on value of type null
59

Today at 20:27:04
Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?
/home/usscalem/public_html/forumsmf2/Themes/default/TPsubs.template.php(601) : eval()'d code (Line 21)  Backtrace information

Type of error: Undefined
Error messageSelect
8: Undefined variable: settings
58

Today at 20:27:04
Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?
/home/usscalem/public_html/forumsmf2/Themes/default/TPsubs.template.php(601) : eval()'d code (Line 21)  Backtrace information

Type of error: General
Error messageSelect
8: Trying to access array offset on value of type null
57

Today at 20:27:04
Mitchell Baker
50.104.3.143
4491c5fd5b9710f70cce35f2ec571fbb
https://usscalemasters.net/forumsmf2/index.php?
/home/usscalem/public_html/forumsmf2/Themes/default/TPsubs.template.php(601) : eval()'d code (Line 21)  Backtrace information

Type of error: Undefined
Error messageSelect
8: Undefined variable: settings

Not sure what is going on.

Any help greatly appreciated.  Let me know if more info is needed.

Thanks
Mitch
Mitchell Baker

davo88


davo88

Also, what other mods do you have installed? And what backups were made of the 2.0.19 site prior to conversion?

GhostRider2110

Pretty much followed these steps:
https://wiki.simplemachines.org/smf/How_do_I_move_my_SMF_board_to_a_different_host

Some of it was difficult, Package Manager was a mess, and told me most everything was not even installed.  But I did follow the step to upload a fresh step of files:
https://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files

Most everything went smooth, but now I am running into a few issues after the install of TP 3.  It didn't give any errors during the install. But now running across a few issues like this and my other post:

https://www.tinyportal.net/index.php?topic=36938.0

Thanks
Mitch


Mitchell Baker

GhostRider2110

Current Mods


SMF Downloads Directory 1.3
SMFPacks Multimedia Gallery 2.0.4
TinyPortal 3.0.0
SMFPacks: SEO Pro Mod 2.4.8

Pretty much have several different backups and the original site is still up and running.

Using the default SMF theme 

Thanks
Mitch
Mitchell Baker

davo88



davo88

OK, so it looks like your original site is still active and the errors are occurring on a test site.
My suggestion would as follows:
- Wipe the current test site and start again.
- Install a fresh copy of 2.0.19 in the test space (no mods) and import the database.
- Run repair_settings.php and make sure the forum all works correctly without errors
- Make a backup of this test site - files and database
- Run the 2.1.4 major upgrade package on this test site
- Make sure it all works correctly
- Make a backup of the converted 2.1.4 database
- Now install your mods one by one and check for errors after installing each one
- If you get problems at any stage, sort out the problems before going to the next step.
- Make backups after every successful step so you can roll back if needed.
- When you finally get the test site all working properly, use that database to build your production site.

- To build your production site...
- Install a fresh copy of 2.1.4
- Import your 2.1.4 database and run repair_settings.php
- Make sure SMF is working properly before proceeding
- Install your mods one by one and check for errors at each step.
- Make backups after every successful step so you can roll back if needed.
- Finally you will have a good, error free production site.

The idea is to work in small measured steps and discover all the little issues in a controlled environment. Then you can roll back at any stage, get it right before proceeding to the next step.

GhostRider2110

I'll give it a shot.. One more time.. with feeling LOL  

Thanks
Mitch
Mitchell Baker

GhostRider2110

Thanks for the help davo88.  

I am up to the point of testing the upgrade to 2.1.4 and have an error showing in the error log:

QuoteError
Type of error
Cron
Error message
8: Trying to access array offset on value of type null
File
/home/usscalem/public_html/forumsmf2/Sources/Subs-Db-mysql.php
Line
590
URL of page causing the error
https://usscalemasters.net/forumsmf2/index.phphttps://usscalemasters.net/forumsmf2/cron.php
Backtrace information
#0: smf_error_handler_cron()
Called from /home/usscalem/public_html/forumsmf2/Sources/Subs-Db-mysql.php on line 590
#1: smf_db_error()
Called from /home/usscalem/public_html/forumsmf2/Sources/Subs-Db-mysql.php on line 494
#2: smf_db_query()
Called from /home/usscalem/public_html/forumsmf2/Sources/Subs-Db-mysql.php on line 802
#3: smf_db_insert()
Called from /home/usscalem/public_html/forumsmf2/Sources/Subs.php on line 529
#4: updateSettings()
Called from /home/usscalem/public_html/forumsmf2/Sources/Subs.php on line 7484
#5: set_tld_regex()
Called from /home/usscalem/public_html/forumsmf2/Sources/tasks/UpdateTldRegex.php on line 31
#6: execute()
Called from /home/usscalem/public_html/forumsmf2/cron.php on line 249
#7: perform_task()
Called from /home/usscalem/public_html/forumsmf2/cron.php on line 131

I ran into this the first time but now can't remember how I fixed this one.  

Can you point me where to look? I know this is kinda out of scope from this forum.

Thanks
Mitch
Mitchell Baker