Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Debug log please help

    The install script (the one giving the errors) is telling us that your DB tables have a prefix "zen_"
    The uninstall script has no such prefix which means it isn't uninstalling what it needs to.
    The zencart sqlpatch code normally takes care of this (I think) but if you are running it via phpmyadmin (or similar) you'll need to edit the uninstall script by adding the prefix.
    Not difficult. Where the script reads
    FROM xxxxxxxx
    Change them to read
    FROM zen_xxxxxxx
    There are five lines that you'll need to change.
    The 500 error is another story. Although it can be caused by many things one of the most common causes is folder or file permission. Only your host will be able to tell you the exact cause.

  2. #2
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default Re: Debug log please help

    Quote Originally Posted by RodG View Post
    The install script (the one giving the errors) is telling us that your DB tables have a prefix "zen_"
    The uninstall script has no such prefix which means it isn't uninstalling what it needs to.
    The zencart sqlpatch code normally takes care of this (I think) but if you are running it via phpmyadmin (or similar) you'll need to edit the uninstall script by adding the prefix.
    Not difficult. Where the script reads
    FROM xxxxxxxx
    Change them to read
    FROM zen_xxxxxxx
    There are five lines that you'll need to change.
    The 500 error is another story. Although it can be caused by many things one of the most common causes is folder or file permission. Only your host will be able to tell you the exact cause.
    do you mean like this ?

    SET @configuration_group_id=0;
    SELECT @configuration_group_id:=configuration_group_id
    FROM configuration_group
    WHERE configuration_group_title= 'Google Merchant Center Feeder Configuration'
    LIMIT 1;
    DELETE FROM zen_ configuration WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0;
    DELETE FROM zen_ configuration_group WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0;

    #Zen Cart v1.5.0+ only Below! Skip if using an older version!
    DELETE FROM zen_ admin_pages WHERE page_key = 'configGoogleMerchantFeed' LIMIT 1;
    DELETE FROM zen_ admin_pages WHERE page_key = 'toolsGoogleMerchantFeed' LIMIT 1;
    We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out www.AD-DiscountPerformance.com

  3. #3
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default Re: Debug log please help

    when I run the install SQL in myphpadmin it gives me this error. I think this is why im getting a http500 error in the zen admin

    Error

    SQL query:

    #Google Merchant Center FEEDER
    #
    ALTER TABLE products_options_values MODIFY products_options_values_name varchar( 150 ) ;



    MySQL said: Documentation
    #1146 - Table '*********.products_options_values' doesn't exist
    We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out www.AD-DiscountPerformance.com

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Debug log please help

    Quote Originally Posted by Dashizna View Post
    when I run the install SQL in myphpadmin it gives me this error. I think this is why im getting a http500 error in the zen admin

    Error

    SQL query:

    #Google Merchant Center FEEDER
    #
    ALTER TABLE products_options_values MODIFY products_options_values_name varchar( 150 ) ;



    MySQL said: Documentation
    #1146 - Table '*********.products_options_values' doesn't exist
    This is similar to the uninstall problem. The table name is missing the zen_ prefix.
    The http 500 error is still another matter that is unrelated to the SQL issues.

  5. #5
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Debug log please help

    [QUOTE=Dashizna;1225605]do you mean like this ? [/QUOTE ]

    Yes, exactly like that, but you have missed one (line #3)

 

 

Similar Threads

  1. Replies: 4
    Last Post: 19 Jan 2013, 05:47 AM
  2. Help deciphering my Debug Log
    By scosio in forum Basic Configuration
    Replies: 4
    Last Post: 3 Jul 2010, 02:57 AM
  3. Reading Debug error log
    By billscheltema in forum General Questions
    Replies: 18
    Last Post: 2 Feb 2009, 11:17 PM
  4. My Debug Error Log
    By chris32882 in forum General Questions
    Replies: 2
    Last Post: 13 Nov 2008, 10:26 AM
  5. how to debug email problem, urgent, please help
    By Jiancai in forum General Questions
    Replies: 3
    Last Post: 6 Mar 2007, 03:23 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