News:

Wondering if this will always be free?  See why free is better.

Main Menu

Problems upgrading 2.0.19 to 2.1.4

Started by zappaDPJ, June 14, 2024, 09:57:21 AM

Previous topic - Next topic

zappaDPJ

A while ago I created a test site and upgraded from 2.0.19 to 2.1.3 with zero issues and then at a later date applied patch 2.1.4, updated PHP from 7.4 to 8.2 again with no problems.

Today I've had two attempts at updating our live site from 2.0.19 directly to 2.1.4 and on both occasions I've encountered the same problems.

The upgrade tool reports I'm trying to install 2.1.4 but there's a later version 2.1.4. It also say I'm missing js.script or it's outdated.

When I run the upgrade I get an unknown error when it starts to upgrade the database but continues on to the end of the upgrade procedure.

After the upgrade it's skipped the avatar file changes/move but I've fixed that.

My current problem that I can't solve is when I switch from PHP 7.4 to 8.2 I get an error... Connection Problems
Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.


I not sure how to proceed so any help would be appreciated.

Doug Heffernan

Quote from: zappaDPJ on June 14, 2024, 09:57:21 AMThe upgrade tool reports I'm trying to install 2.1.4 but there's a later version 2.1.4.

Can you please post the full error message about this?

Quote from: zappaDPJ on June 14, 2024, 09:57:21 AMIt also say I'm missing js.script or it's outdated.

That missing js.script might be caused by the theme's paths and urls no tpointing to the right location. Can you run What is repair_settings.php? to confirm that that all paths and urls are pointeing to the right location?

Quote from: zappaDPJ on June 14, 2024, 09:57:21 AMWhen I run the upgrade I get an unknown error when it starts to upgrade the database but continues on to the end of the upgrade procedure.

Is there any specific error logged in at the Server Error log page pertaining to this?

Quote from: zappaDPJ on June 14, 2024, 09:57:21 AMMy current problem that I can't solve is when I switch from PHP 7.4 to 8.2 I get an error Connection Problems
Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.

A change in php version shouldn't cause that error. The connection error usually happens either if the database details don't match in the Settings.php file, if there is a permission issue with the database user, or if there is a problem with the server configuration. 

Aleksi "Lex" Kilpinen

That's a load of different things, and I'm not really sure where to start.

If the upgrader reports errors, it's best to try and fix them then and there before continuing.
Errors about files usually indicate you haven't actually uploaded all the files from the upgrade package - Possibly because upload has failed for some reason (file permissions?) The exact error you gave doesn't make much sense to me though, could you get a screenshot next time?

https://wiki.simplemachines.org/smf/SMF2.1:Requirements_and_recommendations
https://wiki.simplemachines.org/smf/Upgrading

EDIT: Ninja'd by Doug :P
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

zappaDPJ

Thanks. I'll restore from backup (database and files) and post back with the errors.

shawnb61

Yes, it looks like files are missing.

This is sometimes due to permissions,  and sometimes due to mod_security.  Your host may need to check if mod_security is triggering.
A question worth asking is born in experience & driven by necessity. - Fripp

zappaDPJ

The attachment shows two of the errors as they appear on the screen. I did download the 'Large upgrade' package again to ensure that was OK.

Just to be clear I'm using the exact same procedures, installation and database used to create our test site. Nothing has changed since then, just a few more members and posts. The only difference was the upgrade package used was 2.1.3.

I'll run repair_settings and see if I can post the result. I'll also check the error log although I guess I'll have to run the upgrade tool first.

zappaDPJ

Quote from: shawnb61 on June 14, 2024, 10:35:45 AMYes, it looks like files are missing.

This is sometimes due to permissions,  and sometimes due to mod_security.  Your host may need to check if mod_security is triggering.

OK, thanks, I can check that.

zappaDPJ

#7
repair_settings finds 'Value not found!' in the following:
  • SSI Username
  • SSI Password
  • Tasks Directory
  • Packages Directory
  • Exports Directory
  • Cache System
  • Enable Caching
  • Memcache Servers

As far as I'm aware those settings have always been vacant. Everything else is using the recommend value and looks to be correct.

The error log is a bit of a horror show and I'm still waiting on a call back from our host provider.
[14-Jun-2024 14:24:51 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:24:51 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:24:51 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:24:51 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:25:50 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:25:50 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:25:50 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:25:50 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:25:51 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:25:51 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:25:51 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:25:51 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:25:53 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:25:53 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:25:53 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:25:53 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:26:38 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:26:38 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:26:38 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:26:38 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:26:54 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:26:54 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:26:54 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:26:54 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:26:57 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:26:57 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:26:57 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:26:57 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:27:12 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:27:12 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:27:12 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:27:12 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:27:13 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:27:13 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:27:13 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:27:13 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:27:39 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:27:39 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:27:39 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:27:39 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:28:57 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:28:57 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:28:57 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:28:57 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:29:39 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:29:39 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:29:39 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:29:39 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:30:03 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:30:03 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:30:03 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:30:03 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:30:11 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:30:11 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:30:11 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:30:11 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:30:21 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:30:21 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:30:21 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:30:21 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:30:47 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:30:47 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:30:47 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:30:47 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:31:11 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:31:11 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:31:11 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:31:11 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:31:14 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:31:14 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:31:14 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:31:14 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:31:14 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:31:14 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:31:14 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:31:14 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:31:24 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:31:24 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:31:24 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:31:24 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:31:25 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:31:25 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:31:25 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:31:25 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:31:30 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:31:30 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:31:30 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:31:30 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:32:25 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:32:25 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:32:25 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:32:25 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:32:27 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:32:27 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:32:27 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:32:27 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:33:34 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:33:34 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:33:34 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:33:34 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:34:28 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:34:28 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:34:28 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:34:28 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 14:34:32 UTC] PHP Warning:  set_error_handler() expects the argument (error_handler) to be a valid callback in /home/idnetter/public_html/forums/index.php on line 69
[14-Jun-2024 14:34:32 UTC] PHP Warning:  Use of undefined constant MYSQL_TITLE - assumed 'MYSQL_TITLE' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Subs-Db-mysql.php on line 55
[14-Jun-2024 14:34:32 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 82
[14-Jun-2024 14:34:32 UTC] PHP Warning:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' (this will throw an Error in a future version of PHP) in /home/idnetter/public_html/forums/Sources/Load.php on line 91
[14-Jun-2024 15:35:36 Europe/London] PHP Fatal error:  Uncaught Error: Call to undefined function template_css() in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code:122
Stack trace:
#0 /home/idnetter/public_html/forums/Sources/Load.php(1984): template_html_above()
#1 /home/idnetter/public_html/forums/Sources/Subs.php(3479): loadSubTemplate('html_above', true)
#2 /home/idnetter/public_html/forums/Sources/Subs.php(2844): template_header()
#3 /home/idnetter/public_html/forums/Sources/Errors.php(337): obExit(NULL, true, false, true)
#4 /home/idnetter/public_html/forums/Sources/Errors.php(161): setup_fatal_error_context('Call to undefin...')
#5 /home/idnetter/public_html/forums/index.php(130): fatal_error('Call to undefin...', 'critical')
#6 [internal function]: {closure}(Object(Error))
#7 {main}
  thrown in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code on line 122
[14-Jun-2024 15:35:47 Europe/London] PHP Fatal error:  Uncaught Error: Call to undefined function template_css() in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code:122
Stack trace:
#0 /home/idnetter/public_html/forums/Sources/Load.php(1984): template_html_above()
#1 /home/idnetter/public_html/forums/Sources/Subs.php(3479): loadSubTemplate('html_above', true)
#2 /home/idnetter/public_html/forums/Sources/Subs.php(2844): template_header()
#3 /home/idnetter/public_html/forums/Sources/Errors.php(337): obExit(NULL, true, false, true)
#4 /home/idnetter/public_html/forums/Sources/Errors.php(161): setup_fatal_error_context('Call to undefin...')
#5 /home/idnetter/public_html/forums/index.php(130): fatal_error('Call to undefin...', 'critical')
#6 [internal function]: {closure}(Object(Error))
#7 {main}
  thrown in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code on line 122
[14-Jun-2024 15:36:42 Europe/London] PHP Fatal error:  Uncaught Error: Call to undefined function template_css() in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code:122
Stack trace:
#0 /home/idnetter/public_html/forums/Sources/Load.php(1984): template_html_above()
#1 /home/idnetter/public_html/forums/Sources/Subs.php(3479): loadSubTemplate('html_above', true)
#2 /home/idnetter/public_html/forums/Sources/Subs.php(2844): template_header()
#3 /home/idnetter/public_html/forums/Sources/Errors.php(337): obExit(NULL, true, false, true)
#4 /home/idnetter/public_html/forums/Sources/Errors.php(161): setup_fatal_error_context('Call to undefin...')
#5 /home/idnetter/public_html/forums/index.php(130): fatal_error('Call to undefin...', 'critical')
#6 [internal function]: {closure}(Object(Error))
#7 {main}
  thrown in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code on line 122
[14-Jun-2024 15:37:43 Europe/London] PHP Fatal error:  Uncaught Error: Call to undefined function template_css() in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code:122
Stack trace:
#0 /home/idnetter/public_html/forums/Sources/Load.php(1984): template_html_above()
#1 /home/idnetter/public_html/forums/Sources/Subs.php(3479): loadSubTemplate('html_above', true)
#2 /home/idnetter/public_html/forums/Sources/Subs.php(2844): template_header()
#3 /home/idnetter/public_html/forums/Sources/Errors.php(337): obExit(NULL, true, false, true)
#4 /home/idnetter/public_html/forums/Sources/Errors.php(161): setup_fatal_error_context('Call to undefin...')
#5 /home/idnetter/public_html/forums/index.php(130): fatal_error('Call to undefin...', 'critical')
#6 [internal function]: {closure}(Object(Error))
#7 {main}
  thrown in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code on line 122
[14-Jun-2024 15:37:47 Europe/London] PHP Fatal error:  Uncaught Error: Call to undefined function template_css() in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code:122
Stack trace:
#0 /home/idnetter/public_html/forums/Sources/Load.php(1984): template_html_above()
#1 /home/idnetter/public_html/forums/Sources/Subs.php(3479): loadSubTemplate('html_above', true)
#2 /home/idnetter/public_html/forums/Sources/Subs.php(2844): template_header()
#3 /home/idnetter/public_html/forums/Sources/Errors.php(337): obExit(NULL, true, false, true)
#4 /home/idnetter/public_html/forums/Sources/Errors.php(161): setup_fatal_error_context('Call to undefin...')
#5 /home/idnetter/public_html/forums/index.php(130): fatal_error('Call to undefin...', 'critical')
#6 [internal function]: {closure}(Object(Error))
#7 {main}
  thrown in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code on line 122
[14-Jun-2024 15:38:03 Europe/London] PHP Fatal error:  Uncaught Error: Call to undefined function template_css() in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code:122
Stack trace:
#0 /home/idnetter/public_html/forums/Sources/Load.php(1984): template_html_above()
#1 /home/idnetter/public_html/forums/Sources/Subs.php(3479): loadSubTemplate('html_above', true)
#2 /home/idnetter/public_html/forums/Sources/Subs.php(2844): template_header()
#3 /home/idnetter/public_html/forums/Sources/Errors.php(337): obExit(NULL, true, false, true)
#4 /home/idnetter/public_html/forums/Sources/Errors.php(161): setup_fatal_error_context('Call to undefin...')
#5 /home/idnetter/public_html/forums/index.php(130): fatal_error('Call to undefin...', 'critical')
#6 [internal function]: {closure}(Object(Error))
#7 {main}
  thrown in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code on line 122
[14-Jun-2024 15:38:35 Europe/London] PHP Fatal error:  Uncaught Error: Call to undefined function template_css() in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code:122
Stack trace:
#0 /home/idnetter/public_html/forums/Sources/Load.php(1984): template_html_above()
#1 /home/idnetter/public_html/forums/Sources/Subs.php(3479): loadSubTemplate('html_above', true)
#2 /home/idnetter/public_html/forums/Sources/Subs.php(2844): template_header()
#3 /home/idnetter/public_html/forums/Sources/Errors.php(337): obExit(NULL, true, false, true)
#4 /home/idnetter/public_html/forums/Sources/Errors.php(161): setup_fatal_error_context('Call to undefin...')
#5 /home/idnetter/public_html/forums/index.php(130): fatal_error('Call to undefin...', 'critical')
#6 [internal function]: {closure}(Object(Error))
#7 {main}
  thrown in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code on line 122
[14-Jun-2024 15:38:46 Europe/London] PHP Fatal error:  Uncaught Error: Call to undefined function template_css() in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code:122
Stack trace:
#0 /home/idnetter/public_html/forums/Sources/Load.php(1984): template_html_above()
#1 /home/idnetter/public_html/forums/Sources/Subs.php(3479): loadSubTemplate('html_above', true)
#2 /home/idnetter/public_html/forums/Sources/Subs.php(2844): template_header()
#3 /home/idnetter/public_html/forums/Sources/Errors.php(337): obExit(NULL, true, false, true)
#4 /home/idnetter/public_html/forums/Sources/Errors.php(161): setup_fatal_error_context('Call to undefin...')
#5 /home/idnetter/public_html/forums/index.php(130): fatal_error('Call to undefin...', 'critical')
#6 [internal function]: {closure}(Object(Error))
#7 {main}
  thrown in /home/idnetter/public_html/forums/Sources/Load.php(2272) : eval()'d code on line 122
[14-Jun-2024 14:54:27 UTC] PHP Fatal error:  Cannot redeclare clean_cache() (previously declared in /home/idnetter/public_html/forums/Sources/Subs.php:3992) in /home/idnet

Kindred

Please use code tags to enclose a wall of error text
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

zappaDPJ

Quote from: Kindred on June 14, 2024, 12:18:28 PMPlease use code tags to enclose a wall of error text

Apologies, it's been a long day.

shawnb61

The 2.1 files properly define and use those constants.  This is another clue that the files aren't getting copied over. 

Not sure why, but it appears that lots of important files are not 2.1 files.

A question worth asking is born in experience & driven by necessity. - Fripp

zappaDPJ

Quote from: shawnb61 on June 14, 2024, 12:46:49 PMThe 2.1 files properly define and use those constants.  This is another clue that the files aren't getting copied over. 

Not sure why, but it appears that lots of important files are not 2.1 files.



OK thanks for that, at the moment it sounds like the only rational explanation. I've still had no feedback from the host provider so we are back running on 2.0.19 until I hear from them.

Thanks again to everyone who has tried to help.

Steve

Please get back to us and let us know the status after they respond  ...
My pet rock is not feeling well. I think it's stoned.

zappaDPJ

Quote from: Steve on June 15, 2024, 06:55:28 AMPlease get back to us and let us know the status after they respond  ...

I will do. In the interim we are attempting to run the upgrade again from another location using a different FTP client.

zappaDPJ

So to update, we did finally manage to run the upgrade without errors using a different FTP client from another location. I still need to establish the cause of the initial failure but our host won't have those answers until Monday.

Unfortunately although the upgraded forum appears to function correctly, switching for PHP 7.4 to 8.2 results in an unable to connect to database error.

Bizarrely this didn't happen on our test environment until we added an SMF 2.1.4 compliant theme. I'm currently looking to see if there's anything obvious in the log files.

Advertisement: