Page 11 of 26 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 258
  1. #101
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    you notify them by making the necessary changes, and submit an updated version
    Quote Originally Posted by grantopt View Post
    So I assume this all can be deleted as it is not supposed to be here?

    Code:
    INSERT INTO `configuration` VALUES (NULL, 'Product option type Select', 'PRODUCTS_OPTIONS_TYPE_SELECT', '0', 'The number representing the Select type of product option.', 0, NULL, NULL, now(), NULL, NULL);
    INSERT INTO `configuration` VALUES (NULL, 'Upload prefix', 'UPLOAD_PREFIX', 'upload_', 'Prefix used to differentiate between upload options and other options', 0, NULL, NULL, now(), NULL, NULL);
    INSERT INTO `configuration` VALUES (NULL, 'Text prefix', 'TEXT_PREFIX', 'txt_', 'Prefix used to differentiate between text option values and other option values', 0, NULL, NULL, now(), NULL, NULL);
    INSERT INTO `configuration` VALUES (NULL, 'Image Handler Version', 'IH_VERSION', '2.0', 'This is used by image handler to check if the database is up to date with uploaded image handler files.', 0, 100, NULL, now(), NULL, 'zen_cfg_textarea_small(');
    I went back to the plugins section and downloaded a fresh copy of the v1.5.4. Checking the uninstall.sql, the same 4 inserts were present. I then figured I would check other uploaded versions. I downloaded the latest v1.5.5 and 2 other older versions v1.5.3d and v 1.5.2. To my surprise, ALL of them have these same 4 inserts.

    To help others who may do a uninstall how do I notify the zencart team that the uploaded uninstall.sql needs to be changed?
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  2. #102
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Quote Originally Posted by grantopt View Post
    So I assume this all can be deleted as it is not supposed to be here?

    Code:
    INSERT INTO `configuration` VALUES (NULL, 'Product option type Select', 'PRODUCTS_OPTIONS_TYPE_SELECT', '0', 'The number representing the Select type of product option.', 0, NULL, NULL, now(), NULL, NULL);
    INSERT INTO `configuration` VALUES (NULL, 'Upload prefix', 'UPLOAD_PREFIX', 'upload_', 'Prefix used to differentiate between upload options and other options', 0, NULL, NULL, now(), NULL, NULL);
    INSERT INTO `configuration` VALUES (NULL, 'Text prefix', 'TEXT_PREFIX', 'txt_', 'Prefix used to differentiate between text option values and other option values', 0, NULL, NULL, now(), NULL, NULL);
    INSERT INTO `configuration` VALUES (NULL, 'Image Handler Version', 'IH_VERSION', '2.0', 'This is used by image handler to check if the database is up to date with uploaded image handler files.', 0, 100, NULL, now(), NULL, 'zen_cfg_textarea_small(');
    I went back to the plugins section and downloaded a fresh copy of the v1.5.4. Checking the uninstall.sql, the same 4 inserts were present. I then figured I would check other uploaded versions. I downloaded the latest v1.5.5 and 2 other older versions v1.5.3d and v 1.5.2. To my surprise, ALL of them have these same 4 inserts.

    To help others who may do a uninstall how do I notify the zencart team that the uploaded uninstall.sql needs to be changed?
    The extra inserts resolve a potential problem of running the uninstall as it currently is programmmed. If on uninstall the 'Testimonials Manager' group is not found, then the configuration_id will be set to zero. Then when the delete is run, those values will be removed. (IH4 also installs at that location.) Ideally the deletions would include a statement in the WHERE clause that the configuration_id (or if I used the wrong spelling.) !=0

    This is something that has been reported as a potential issue. Again though the fix was to restore the four known items that could get deleted, rather than prevent the deletion in the first place.

    In regards to "letting the ZC Team" know about an update, well, easy to do. Make the changes, then upload the change to the forum, explain in the documentation why the change was made, how to install it, what file(s) changed, etc... And the ZC staff will be notified to activate the change, which will happen after a review.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #103
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Well how about this.. those extra inserts are the WRONG SOLUTION to the problem.. the RIGHT SOLUTION is to FIX the uninstall SQL..
    Quote Originally Posted by mc12345678 View Post
    The extra inserts resolve a potential problem of running the uninstall as it currently is programmmed. If on uninstall the 'Testimonials Manager' group is not found, then the configuration_id will be set to zero. Then when the delete is run, those values will be removed. (IH4 also installs at that location.) Ideally the deletions would include a statement in the WHERE clause that the configuration_id (or if I used the wrong spelling.) !=0

    This is something that has been reported as a potential issue. Again though the fix was to restore the four known items that could get deleted, rather than prevent the deletion in the first place.

    In regards to "letting the ZC Team" know about an update, well, easy to do. Make the changes, then upload the change to the forum, explain in the documentation why the change was made, how to install it, what file(s) changed, etc... And the ZC staff will be notified to activate the change, which will happen after a review.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #104
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    You do not want to remove these configuration_keys:
    PRODUCTS_OPTIONS_TYPE_SELECT
    UPLOAD_PREFIX
    TEXT_PREFIX

    Those are important to leave in your configuration table as they are used by Zen Cart, regardless of your add-ons ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #105
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Quote Originally Posted by DivaVocals View Post
    Well how about this.. those extra inserts are the WRONG SOLUTION to the problem.. the RIGHT SOLUTION is to FIX the uninstall SQL..
    Quote Originally Posted by Ajeh View Post
    You do not want to remove these configuration_keys:
    PRODUCTS_OPTIONS_TYPE_SELECT
    UPLOAD_PREFIX
    TEXT_PREFIX

    Those are important to leave in your configuration table as they are used by Zen Cart, regardless of your add-ons ...
    *nodding in agreement* correctly repairing the uninstall.sql so that only data specifically associated with the install is deleted/modified, which means not to remove the three ZC default values and the one that is added by another plugin.

    Just deleting the four inserts will not fully resolve the situation.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #106
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Quote Originally Posted by mc12345678 View Post
    *nodding in agreement* correctly repairing the uninstall.sql so that only data specifically associated with the install is deleted/modified, which means not to remove the three ZC default values and the one that is added by another plugin.

    Just deleting the four inserts will not fully resolve the situation.
    and the actual solution is SOOOOOO simple.. Remove the 4 extra insert statements (it was NEVER the right solution..) then just remove this line:
    Code:
    SET @configuration_group_id=0;
    and you are left with the RIGHT uninstall script..

    Code:
    #Testimonials Manager SQL Uninstall
    
    SELECT @configuration_group_id:= `configuration_group_id`
    FROM configuration_group
    WHERE configuration_group_title= 'Testimonials Manager'
    LIMIT 1;
    
    DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id;
    DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id;
    DELETE FROM configuration WHERE configuration_key = 'DEFINE_TESTIMONIAL_STATUS';
    
    DROP TABLE IF EXISTS `testimonials_manager`;
    
    DELETE FROM admin_pages WHERE page_key = 'configTestimonialsManager' LIMIT 1;
    DELETE FROM admin_pages WHERE page_key = 'TestimonialsManager' LIMIT 1;
    Now if anyone wants to "notify the admin" by updating the package and submitting an update.. feel free..
    Last edited by DivaVocals; 3 Apr 2014 at 06:38 AM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  7. #107
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,507
    Plugin Contributions
    88

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Quote Originally Posted by DivaVocals View Post
    and the actual solution is SOOOOOO simple.. Remove the 4 extra insert statements (it was NEVER the right solution..) then just remove this line:
    Code:
    SET @configuration_group_id=0;
    and you are left with the RIGHT uninstall script..

    Code:
    #Testimonials Manager SQL Uninstall
    
    SELECT @configuration_group_id:= `configuration_group_id`
    FROM configuration_group
    WHERE configuration_group_title= 'Testimonials Manager'
    LIMIT 1;
    
    DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id AND @configuration_group_id != 0;
    DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id AND @configuration_group_id != 0;
    DELETE FROM configuration WHERE configuration_key = 'DEFINE_TESTIMONIAL_STATUS';
    
    DROP TABLE IF EXISTS `testimonials_manager`;
    
    DELETE FROM admin_pages WHERE page_key = 'configTestimonialsManager' LIMIT 1;
    DELETE FROM admin_pages WHERE page_key = 'TestimonialsManager' LIMIT 1;
    Now if anyone wants to "notify the admin" by updating the package and submitting an update.. feel free..
    Just a couple of minor updates, shown in red above.

  8. #108
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Quote Originally Posted by lat9 View Post
    Just a couple of minor updates, shown in red above.
    HA! Good catch!!
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  9. #109
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Quote Originally Posted by DivaVocals View Post
    HA! Good catch!!
    Yup.

    Just a little explanation for those that may like to understand more:
    That additional code will categorically prevent the need for the four inserts that were a part of the previous uninstall.sql and will prevent the deletion of the three values pointed out by ajeh.

    As previously written if the @configuration_group_id wasn't present for the searched title, then it was possible that the return value would be 0, and the subsequent delete's would delete items having a value of 0 (at least the three identified by ajeh, and as well one value from the IH4 install and any other modified code that chose to use a configuration_group_id of 0) which would end up causing problems for the store if the first three were deleted.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #110
    Join Date
    Apr 2014
    Posts
    5
    Plugin Contributions
    0

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    I have this installed and i got a Install Success but it is not showing in the Layout Box Controller so I cant turn it on so it is not showing up on my site...any help would be welcome.

 

 
Page 11 of 26 FirstFirst ... 91011121321 ... LastLast

Similar Threads

  1. Link Manager 3.0 Support Thread
    By clydejones in forum Addon Sideboxes
    Replies: 1987
    Last Post: 6 Aug 2021, 02:56 PM
  2. Testimonial Manager Support Thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 1500
    Last Post: 4 Feb 2021, 04:12 PM
  3. Poll Manager Support Thread
    By boudewijn in forum Addon Sideboxes
    Replies: 148
    Last Post: 27 Jan 2016, 09:53 AM
  4. Empty Cart Manager [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 26 May 2010, 10:26 AM
  5. [Support Thread] Simple Video Manager
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 1 Nov 2008, 02:44 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR