Re: Recover Cart
This seems like a very simple problem, but I can't figure out why only one other responder has said that their site has the same problem.
Since my problems seem to be prefix related, I courageously changed the beginning of the install script to be:
(Please note: <PREFIX> is replaced with my actual prefix; and <DATABASE> is replaced by the name of my database)
DROP TABLE IF EXISTS <PREFIX>_scart;
CREATE TABLE <PREFIX>_scart (
scartid int(11) NOT NULL auto_increment,
customers_id int(11) NOT NULL default '0',
dateadded varchar(8) NOT NULL default '',
datemodified varchar(8) NOT NULL default '',
PRIMARY KEY (scartid),
UNIQUE KEY customers_id (customers_id),
UNIQUE KEY scartid (scartid)
) ENGINE=MyISAM;
When I run this amended SQL statement, it errors out with:
MySQL said:
#1146 - Table '<DATABASE>.configuration_group' doesn't exist
Well duh silly Zen Cart, I know that table doesn't exist because the actual table is: <DATABASE>.<PREFIX>_configuration_group.
Since I am rather SequIlliterate (for those who humour is not as warped as mine, that means illiterate when it comes to all things SQL), I have no idea how I could, or more importantly whether I should, further edit this SQL statement.
Is there some other place in my admin settings where perhaps my prefix name should be stored but it isn't? Surely the fact that I have a prefix would not be unusual, but perhaps for some unknown reason some 'processes' may not be 'seeing' that a prefix exists???? This might explain some other dramas I am experiencing . . . your insights would be majorly appreciated!
Sean M - Sydney, Australia