I am trying to restore a backup through my admin side but it's complaining and fatal errors.
I did check the file paths to be correct.
Tried on local test server and live server
That is because of server SQL Mode - NO_ZERO_DATE.
From the reference: NO_ZERO_DATE - In strict mode, doesn't allow '0000-00-00' as a valid date. You can still insert zero dates with the IGNORE option. When not in strict mode, the date is accepted but a warning is generated.
I am not here to build for you.
I am here to build with you. Let's help each other.
Pierre_P wrote: ↑Tue Dec 31, 2024 11:23 am
Where to fix?
I'd try the table definition in the SQL. Try running the table definition SQL manually in phpMyAdmin or similar to see if it gives better error messages. If that runs without errors, try the inserts with date_added.
Or turn off NO_ZERO_DATE or strict mode on the database.