Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2007
    Posts
    56
    Plugin Contributions
    0

    Default Installing SQL patches

    Under Tools > Install SQL Patches,

    what's the purpose of the "upload file" and when files are uploaded, where are they placed?

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Installing SQL patches

    The upload file option allows you to point the SQL patch installer to a file rather than pasting instructions into the box above. The files uploaded are executed, rather than "placed".
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jul 2007
    Posts
    154
    Plugin Contributions
    0

    Default Removing SQL patches

    I have the HoverBox patch installed and I want it removed. Here is the initial code used for installation:
    1. Copy & Paste the following SQL statement into "Enter the query to be executed"
      1. INSERT INTO `configuration_group` VALUES (50, 'HoverBox<sup>2</sup>', 'Settings for your HoverBox<sup>2</sup>', 4.50, 1);
        INSERT INTO `configuration` VALUES (721, 'Should I display the title of your product?', 'HOVERBOX_DISPLAY_TITLE', 'Yes', 'This let''s me know whether or not I should display the title of your product. Either select yes or no. I''ll handle the rest.', 50, 2, NULL, '0001-01-01 00:00:00', NULL, 'zen_cfg_select_option(array(''Yes'',''No''), ');
        INSERT INTO `configuration` VALUES (720, 'Would you like to put me to work for you?', 'HOVERBOX_ENABLED', 'Yes', 'This let''s me know if I should be taking control over the display of your product images.', 50, 1, '2007-07-15 02:14:06', '0001-01-01 00:00:00', NULL, 'zen_cfg_select_option(array(''Yes'', ''No''), ');
        INSERT INTO `configuration` VALUES (722, 'And lastly, should I display your product''s price to your customers?', 'HOVERBOX_DISPLAY_PRICE', 'Yes', 'This one just lets me know if I should be displaying the price of your products to your customers.', 50, 3, NULL, '0001-01-01 00:00:00', NULL, 'zen_cfg_select_option(array(''Yes'', ''No''),');
    I removed all the mode's files already but it still shows up in Admin. I want my ZenCart as "clean" as possible... Anyone could help?

  4. #4
    Join Date
    Aug 2007
    Location
    Tampa FL.
    Posts
    142
    Plugin Contributions
    0

    Default Re: Removing SQL patches

    Hello,
    Paste this in your sql patches and it will remove hover cart please modify it if you use and prefixes for you database

    HTML Code:
    DELETE FROM `configuration_group` WHERE `configuration_group`, `configuration_group_id`=50 LIMIT 1
    DELETE FROM `configuration` WHERE `configuration`, `configuration_group_id`=721 LIMIT 1
    DELETE FROM `configuration` WHERE `configuration`, `configuration_group_id`=720 LIMIT 1
    DELETE FROM `configuration` WHERE `configuration`, `configuration_group_id`=722 LIMIT 1
    Hope this helps

    Rich

  5. #5
    Join Date
    Jul 2007
    Posts
    154
    Plugin Contributions
    0

    Default Re: Installing SQL patches

    Thanks, I will try it tomorrow.

  6. #6
    Join Date
    Jul 2007
    Posts
    154
    Plugin Contributions
    0

    Default Re: Removing SQL patches

    Quote Originally Posted by poolprorich View Post
    Hello,
    Paste this in your sql patches and it will remove hover cart please modify it if you use and prefixes for you database

    HTML Code:
    DELETE FROM `configuration_group` WHERE `configuration_group`, `configuration_group_id`=50 LIMIT 1
    DELETE FROM `configuration` WHERE `configuration`, `configuration_group_id`=721 LIMIT 1
    DELETE FROM `configuration` WHERE `configuration`, `configuration_group_id`=720 LIMIT 1
    DELETE FROM `configuration` WHERE `configuration`, `configuration_group_id`=722 LIMIT 1
    Hope this helps

    Rich
    Since I'm not sure what a prefix is - I think I understood the concept from the code you provided and went directly to database via Heidi and manually removed ids 50, 720,721 and 722. I made a backup first just in case. The HoverBox entries from Admin are gone and everything seems to be working fine. Could you please confirm if what I did was acceptable way to handle this issue? instead of the patch?

  7. #7
    Join Date
    Aug 2007
    Location
    Tampa FL.
    Posts
    142
    Plugin Contributions
    0

    Default Re: Installing SQL patches

    Yep That works That is the same as the Statement
    Good job

    For future a prefix would be
    database table
    customers
    would look like this with a prefix
    Zen_customers

    so you would have had to add zen_ to the front of configuration
    hope it helps

    Rich

 

 

Similar Threads

  1. How do I run the stock_attribute.sql via Install SQL Patches in admin
    By vivaraquel in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 9 Apr 2007, 01:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg