1. To build all the correct settings for your test environment, first do a full regular install. This will build your configure.php files as needed.
2. Then import your old data into the same database you just did your fresh install into.
3. Then run zc_install to upgrade your database.
It appears you're running MySQL 5 in strict mode. As such, you will probably need to insert this line into one of the SQL files in order to avoid the error you mentioned.
Make this change before running step 3 above:
/zc_install/sql/mysql_upgrade_zencart_1301_to_1302.sql
approx line 21 says:
Code:
REPLACE INTO query_builder ( query_category , query_name , query_description , query_string, query_keys_list) 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', '');
add this on a blank line ABOVE it:
Code:
ALTER TABLE query_builder CHANGE COLUMN query_keys_list query_keys_list TEXT NOT NULL;
Bookmarks