Posted - 03/29/2021 : 06:22:21
Hi Vince, Thanks for the tip. We have found the problem to be corrupt data in our SQL database. Several tables incl. cart, orders, ratings and customerlogin have corrupted records causing a SQL Fatal error 824. So we are forced to take drastic actions. We have renamed all old tables and with the SQL Server tables creation script created an all new set of tables. After this we executed all updaters we have secured starting at 7.0 and up to 7.2.5. The whole admin of the site is now working again. We noted 2 minor issues in these updaters. Updater 7.1.6 checks for 'Orders Loyalty Points upgrade'. Here the script stopped. I checked the orders table and at start there is only one order with OrdID=501. I changed line 364 to '…. OrdID>0' and after this the script would execute fine. Updater 7.2.4 has a section that created the adminshipping table. This table was created but no record was being entered. Second time executing this updater all seems fine. And we also found one major issue in all updaters. Some sections in the updater scripts check to see of a returned error is not 0. If so do something or skip a section. When the SQL database has big problems like we experience the error returned is also not 0, but when executing some code based on this you might run in to more errors as a table is corrupted. Or as we also experienced a 2nd table of the same name can be created based on the user of the SQL database. For example we found two adminshipping tables. [dbo].[adminshipping] and [ourusername].[adminshipping]. And the same with the customerlogin table, which is quite essential for all shop scripts to work. I am not sure if this is the reason why our database got corrupted, but might be worth looking in to. We will now try to get the storefront of our shop working again. And when this all is working we will copy all stored orders etc into the new tables. Greetings, Jaap jaapg@promanent.comPromanent b.v. www.promanent.com | www.vaarwinkel.nl
|