I'm getting many PHP errors since the restoration. It seems like maybe a different version of PHP is on the server, or some INI file settings may be different.
We've had to comment out a line in SuperTracker, and I just did a couple test orders. The first order was using a PO (temporarily enabled for testing the order), and that was fine.
The second order was with my credit card, and the order went fine, however, when I went to try to delete the order from my Zen Cart, I got this:
[10-Jul-2017 16:10:43 UTC] PHP Fatal error: 1292:Incorrect datetime value: '' for column 'last_modified' at row 1 :: insert into so_payments (orders_id, payment_number, payment_name, payment_amount, payment_type, date_posted, last_modified) values ('4704', '4704-', 'My Name', '8.24', '', '2017-07-10 16:09:33', '') ==> (as called by) /home/xxxxxxxx/public_html/MY_ADMIN/includes/functions/database.php on line 53 <== in /home/xxxxxxxx/public_html/includes/classes/db/mysql/query_factory.php on line 155
The previous error I got with SuperTracker was VERY similar, crashing again in "query_factory.php", and was this:
[10-Jul-2017 15:46:29 UTC] PHP Fatal error: 1364:Field 'cart_contents' doesn't have a default value :: INSERT INTO supertracker (ip_address, browser_string, country_code, referrer, referrer_query_string, landing_page, landing_page_name, exit_page, exit_page_name, time_arrived, last_click, products_viewed) VALUES ('nnn.nnn.nnn.nnn', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36', 'us', '', '', '/', 'Home', '/', 'Home', NOW(), NOW(), '') ==> (as called by) /home/xxxxxxxx/public_html/includes/classes/supertracker.php on line 231 <== in /home/xxxxxxxx/public_html/includes/classes/db/mysql/query_factory.php on line 155
(Note: I've changed some info above for security, such as "MY_ADMIN" and directory name to "xxxxxxxx")
Anyone know why this could be happening? It was all OK before the crash. Seems to me like a PHP setting or some defaults that are no longer what they used to be.
Thanks.