I tried to install this module, but ran into difficulties and opted to uninstall. It would seem that although I did a "full backup" using my hosting companies Full Backup Wizard, the SQL database was not backed up. Live and learn. Live and learn.
Happily, because for every file being overwritten I kept the original file and just renamed it "bak", I could restore those files.
However, I don't know enough SQL commands to counter-act the SQL code provided in the instructions:
CREATE TABLE free_gifts (
gift_id tinyint(4) NOT NULL auto_increment,
threshold mediumint(9) NOT NULL default '0',
products_id mediumint(9) NOT NULL default '0',
PRIMARY KEY (gift_id)
) TYPE=MyISAM;
insert into configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) values (1200, 'Gifts Image Width', 'GIFTS_IMAGE_WIDTH', '90', 'The pixel width of heading images', '4', '25', now(), now(), NULL, NULL);
insert into configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) values (1201, 'Gifts Image Height', 'GIFTS_IMAGE_HEIGHT', '100', 'The pixel height of heading images', '4', '26', now(), now(), NULL, NULL);
ALTER TABLE products ADD products_carrot tinyint(1) default '0' AFTER products_status ;
Could someone please provide me with the SQL commands to remove this and its configurations?
I'm going to try this module on another site that is not so modified. So, I'll look forward to that.
The directions regarding the new table's name tripped me up. I didn't know how to find out what my SQL database prefix was until I generated the first error message. Then I tried to "drop" the table and ran into syntax errors.
Help would be greatly appreciated!:frusty:
PS - it turns out that my database name was "judy9328_zc1" and the error message I got said > TABLE 'judy9328_zc1.zen_free_gifts" doesn't exist and actually when I was clicking around cPanel, it seemed a table called 'judys9328_zc1.judy9328_zc1.zen_free_gifts" was actually created.
This is when I decided to bail on this module, as things were getting to complex for someone with no SQL and very, very little PHP knowledge.
Using 1.3.8a / MySQL 5.0.89 / PHP Version: 5.2.11 (Zend: 2.2.0)