Originally Posted by
flyingbrick
the following error occured when going from 1.3.0.1 to 1.3.0.2. Any ideas what would cause this error?
1062 Duplicate entry 'Administrator' for key 2
in:
[INSERT INTO zen_query_builder ( query_category , query_name , query_description , query_string ) VALUES ('email,newsletters', 'Administrator', 'Just the email account of the current administrator', 'select \'ADMIN\' as customers_firstname, admin_name as customers_lastname, admin_email as customers_email_address from TABLE_ADMIN where admin_id = $SESSION:admin_id');]
That means that when the upgrade script tried to run the indicated SQL command as part of the things needed for that step, it found that it had already been done ... presumably by having already run that part of the script already.
Run this via phpMyAdmin and then redo that upgrade step:
Code:
DELETE FROM zen_query_builder where query_name = 'Administrator';
Bookmarks