Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: [done 1.3.6] Meta Tag 1062 Duplicate Entry Error - Category Metatags

    All,

    Using v1.3.7

    I am experiencing something simular.

    In the admin screen whenever I click on a link I get

    1062 Duplicate entry '2498' for key 1 in:

    [insert into zen_admin_activity_log (access_date, admin_id, page_accessed, page_parameters, ip_address) values (now(), '1', 'categories.php', '', '217.231.151.126')]

    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.


    Of course the file changes each time I use a different link.

    Any thoughts?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: [done 1.3.6] Meta Tag 1062 Duplicate Entry Error - Category Metatags

    stacy,
    Your problem is a little different.

    You are likely a missing auto-increment setting on the admin_activity_log table.
    You could try fixing that by running this command via phpMyAdmin:
    Code:
    ALTER TABLE admin_activity_log CHANGE log_id log_id int(15) NOT NULL auto_increment;
    The auto-increment setting usually doesn't get lost unless moving databases from one host to another and going from MySQL v3.x to v4.x and selecting the wrong combination of compatibility settings.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Mar 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: [done 1.3.6] Meta Tag 1062 Duplicate Entry Error - Category Metatags

    Dr. B

    I will try that.. but I really am new at this.

    When you say Run this via Myphpadmin.. what do you mean exactly?

    I opened MyPHPAdmin but I am at a loss how to "run" this.

    Stacy

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: [done 1.3.6] Meta Tag 1062 Duplicate Entry Error - Category Metatags

    Quote Originally Posted by stacy View Post
    I opened MyPHPAdmin but I am at a loss how to "run" this.
    1. Select your Zen Cart database from the pulldown list
    2. Click on the SQL tab
    3. Paste the code I posted above into the input area, and click Go
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Mar 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: [done 1.3.6] Meta Tag 1062 Duplicate Entry Error - Category Metatags

    Error

    SQL query:
    ALTER TABLE admin_activity_log CHANGE log_id log_id int( 15 ) NOT NULL AUTO_INCREMENT
    MySQL said:
    #1146 - Table 'redhell4_zc1.admin_activity_log' doesn't exist

    That is all I got.... :-)

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: [done 1.3.6] Meta Tag 1062 Duplicate Entry Error - Category Metatags

    Slight change required because your site is using "table prefixes" of "zen_", like this:
    Code:
    ALTER TABLE zen_admin_activity_log CHANGE log_id log_id int(15) NOT NULL auto_increment;
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Mar 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: [done 1.3.6] Meta Tag 1062 Duplicate Entry Error - Category Metatags

    Yep, saw that and fixed it...

    Thanks.. I would not have gotten it without you.

    Stacy

  8. #8
    Join Date
    Mar 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: [done 1.3.6] Meta Tag 1062 Duplicate Entry Error - Category Metatags

    For the love God.. now I am getting this when I try and look at the products. Only 2 catagories come up.. 1 and 4.

    1030 Got error 134 from storage engine
    in:
    [select count(*) as total from zen_products p, zen_products_to_categories p2c where p.products_id = p2c.products_id and p.products_status = 1 and p2c.categories_id = '1']


    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

 

 

Similar Threads

  1. v150 I am getting jscript errors in IE - HELP!!!
    By pityocamptes in forum General Questions
    Replies: 6
    Last Post: 31 May 2012, 09:58 AM
  2. SSL configured correctly but getting Database errors??
    By Kmacandrew in forum General Questions
    Replies: 1
    Last Post: 30 Jan 2009, 05:46 PM
  3. Getting errors?
    By bfwdesigns in forum Basic Configuration
    Replies: 2
    Last Post: 30 Dec 2006, 11:20 PM
  4. Getting errors on cart page
    By AlexM in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 4 Dec 2006, 09:22 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