Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2008
    Posts
    34
    Plugin Contributions
    0

    Default [Done v155] PHP Fatal error: 1062:Duplicate entry for key 'PRIMARY' :: db_cache

    Would really appreciate some guidance on trying to resolve the below PHP Fatal Error:

    [20-Jan-2016 13:29:44 EST5EDT] PHP Fatal error: 1062: Duplicate entry 'zc_6ec65decb95a7741ada473af0fde76e1' for key 'PRIMARY' :: insert into zen_db_cache set cache_entry_name = 'zc_6ec65decb95a7741ada473af0fde76e1',
    cache_data = 'XXXXXXXXXXXXXXXXXX',
    cache_entry_created = '1453314584' ==> (as called by) /public_html/store/includes/classes/cache.php on line 131 <== in /public_html/store/includes/classes/db/mysql/query_factory.php on line 155

    XXXXXXXXXXXX in the cache_data = section take the place of a very long list of random characters.

    Thank you in advance.
    Last edited by RJR; 21 Jan 2016 at 07:46 PM. Reason: mis-spelled words

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

    Default Re: PHP Fatal error: 1062:Duplicate entry for key 'PRIMARY' :: insert into zen_db_ca

    See: http://www.zen-cart.com/showthread.p...s)-with-v1-5-4

    For that and other known issues/fixes...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Feb 2008
    Posts
    34
    Plugin Contributions
    0

    Default Re: PHP Fatal error: 1062:Duplicate entry for key 'PRIMARY' :: insert into zen_db_ca

    Thank you so very much for the information and the very quick reply. Installed all of DrByte's code revisions. Will test some more and see what happens? Thanks again.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: PHP Fatal error: 1062:Duplicate entry for key 'PRIMARY' :: insert into zen_db_ca

    Quote Originally Posted by RJR View Post
    Thank you so very much for the information and the very quick reply. Installed all of DrByte's code revisions. Will test some more and see what happens? Thanks again.
    Welcome. BTW, there are some other "updates" (Security fixes) that were identified in November of 2015 and can be found at: https://www.zen-cart.com/forumdispla...-Announcements While there, should subscribe to it so that can get other recent update notifications etc...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Replies: 34
    Last Post: 24 Mar 2016, 08:06 PM
  2. v151 [Done v1.6.0] 1062:Duplicate entry for key 1 in db_cache
    By rayw1679 in forum General Questions
    Replies: 68
    Last Post: 16 Feb 2015, 05:32 PM
  3. Replies: 2
    Last Post: 11 Dec 2012, 03:58 AM
  4. v151 PHP Fatal error:1062:Duplicate entry '1-1' for key 'PRIMARY'
    By Dopefish in forum General Questions
    Replies: 14
    Last Post: 19 Oct 2012, 02:58 AM

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