ton van lil Posted November 6, 2020 Report Share Posted November 6, 2020 Hello I am running my website under TNG V13.01. My backup does not work under PHP 7.4. If I downgrade to PHP 5.6 backup works. Am I doing something wrong? Greetings Ton van Lil Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted November 6, 2020 Report Share Posted November 6, 2020 Backup works fine on my hosting service running PHP 7.4.9 Do you have any mods that might make changes to admin_backup.php You can find that in the Mod Manager - Analyze TNG Files tab. If the tab is not shown, click the Options tab, expand the Display Settings, and change the Show Analyze TNG Files tab: to Yes Quote Link to comment Share on other sites More sharing options...
ton van lil Posted November 6, 2020 Author Report Share Posted November 6, 2020 Ken Thanks for your quick replay. Indeed I have three mods changing admin_backup.php. Sosa_mod, Censusplus mod an Validations_check mod. I will try and switch these of and see if its works. Greetings Ton van Lil Quote Link to comment Share on other sites More sharing options...
ton van lil Posted November 6, 2020 Author Report Share Posted November 6, 2020 Ken, Uninstalled Sosa_mod, Censusplus mod an Validations_check mod. No effect. Still no backing up under PHP 7.4.7. Back to PHP 5.6 no problems backing up. Greetings Ton van Lil Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted November 6, 2020 Report Share Posted November 6, 2020 I run the first two but not the Validations Check, and have no problem with backup. Something else must be at play Quote Link to comment Share on other sites More sharing options...
tngrlkrz Posted November 6, 2020 Report Share Posted November 6, 2020 Which backup are you referring to? The TNG Admin:Utilities Backup & Restore? If so, what specific errors are you encountering when you run the backup? I have seen older versions of the Validation checks mod, even if uninstalled, leaving a table in the database, which the backup will not like and display an error. However, the rest of the tables backup OK, as evidenced by looking at your designated backup folder and the display of dates tables were backed up. Quote Link to comment Share on other sites More sharing options...
ton van lil Posted November 7, 2020 Author Report Share Posted November 7, 2020 Indead I try to use the TNG Admin:Utilities Backup & Restore. I get the HTTP Error 500. The funny thing is that it works under PHp 5.6. Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted November 7, 2020 Report Share Posted November 7, 2020 PHP error reporting changed between PHP 5.6 and 7.4, so you are likely getting a fatal error or something. You could try uninstalling the mods that update admin_backup.php and then replacing that module with the one provided by TNG and see if you can create your backup before re-installing your mods Quote Link to comment Share on other sites More sharing options...
ton van lil Posted November 7, 2020 Author Report Share Posted November 7, 2020 Thanks for all your input. I will try after the weekend. Greetings Ton van Lil Quote Link to comment Share on other sites More sharing options...
ton van lil Posted November 9, 2020 Author Report Share Posted November 9, 2020 Ken Tried your suggestion. Alas it did not work. There must be something else wrong. Greetings Ton Quote Link to comment Share on other sites More sharing options...
Bernard Posted December 30, 2020 Report Share Posted December 30, 2020 Ton, I had the same problem when switching tot PHP 7. I had to change the following extensions used by the server: unselect 'mysqli' select 'nd_mysqli You can't use both. MySQL_ND and MySQL PHP extensions are different sets of drivers. They are provided by the different teams of developers (MySQL and PHP, respectively). The most important is the fact that they are mutually exclusive - you can not select them both simultaneously or mix them in any way. Otherwise, the php code will throw errors about the connection to the MySQL database. Don't ask me why but that worked for me with kind regards, Bernard Wortelboer Quote Link to comment Share on other sites More sharing options...
ton van lil Posted December 30, 2020 Author Report Share Posted December 30, 2020 Bernard That worked. Bedankt Ton Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.