Originally Posted by
Jarkko
Current
1. Make a new Zen Cart 1.53 installation
2. Copy Database from 1.3.9 to this installation, except Admin-table (to recreate the error in the query)
3. Go to zc_install/index.php
4. Start doing Database upgrade from 1.39 to 1.53
Actually, when I delete the admin table, I can't even start the upgrade because the inspection process discovers that there's no admin table when checking whether the various version steps need to be run, and throws a blank screen when it tests whether it needs to pre-check the v150 box. Not even a 500 Internal Server Error. And doesn't trigger ErrorMsg() at all ... just "Call to a member function MoveNext() on boolean".
Further, your first post quoted line 686, but then your SQL query later (UPDATE admin SET admin_profile = 1 WHERE admin_id = ) is from the query on 728.
I'd still like to be able to understand the order of steps which consistently trigger the problem where your admin table is gone.
I toyed with the idea that maybe you had emptied your admin table, but that theory failed too, because you can't even start the upgrade process without providing a valid admin password. So, there had to be a valid admin user in the database already, else you couldn't have started the upgrade, and thus couldn't have triggered the error.
Bookmarks