Page 4 of 4 FirstFirst ... 234
Results 31 to 35 of 35
  1. #31
    Join Date
    Feb 2016
    Posts
    58
    Plugin Contributions
    0

    Default Re: PHP Fatal error: 1062uplicate entry '0' for key 'PRIMARY'

    also ran the query again this is all i could get out of it

    ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION

  2. #32
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: PHP Fatal error: 1062uplicate entry '0' for key 'PRIMARY'

    Quote Originally Posted by mydakota View Post
    magically i get home and start playing and it is fixed hmmmm seems someone has fixed it very strange must have been the hosting company i will try find out what they did to fix it but i guess you guys probably know what they did anyhow but I would like to confirm it .
    Quote Originally Posted by mydakota View Post
    also ran the query again this is all i could get out of it

    ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
    Ya, it looks like they turned off the NO_AUTO_VALUE_ON_ZERO setting.


    FWIW Zen Cart v1.5.5 will include changes to minimize the risk of triggering problems if
    NO_AUTO_VALUE_ON_ZERO is enabled. (I can't guarantee plugins won't try to use 0-value inserts, but ZC core code should be less likely to trigger that starting with v155).
    .

    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. #33
    Join Date
    Feb 2016
    Posts
    58
    Plugin Contributions
    0

    Default Re: PHP Fatal error: 1062uplicate entry '0' for key 'PRIMARY'

    Thank you guys for all your help really appreciate it

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

    Default Re: PHP Fatal error: 1062uplicate entry '0' for key 'PRIMARY'

    Quote Originally Posted by mydakota View Post
    magically i get home and start playing and it is fixed hmmmm seems someone has fixed it very strange must have been the hosting company i will try find out what they did to fix it but i guess you guys probably know what they did anyhow but I would like to confirm it .
    Darn... I was really looking forward to seeing DrByte's proposed solution of how to tell the server to "ignore" this setting.. :) Ohh well, maybe the issue was addressed for webmanstudios as well??? If not, @webmanstudios, suggest having a similar discussion with the host to see if this can be resolved for you as well... No sense in working with ZC in a disabled state when so much more could be possible...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #35
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: PHP Fatal error: 1062uplicate entry '0' for key 'PRIMARY'

    Quote Originally Posted by mc12345678 View Post
    Darn... I was really looking forward to seeing DrByte's proposed solution of how to tell the server to "ignore" this setting.. :)
    See: https://github.com/zencart/zencart/c...63400b2c42f4ac
    .

    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.

 

 
Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. Replies: 3
    Last Post: 21 Jan 2016, 10:35 PM
  2. v151 PHP Fatal error 1062: Duplicate entry '2147483647' for key 1
    By NoobGal in forum General Questions
    Replies: 5
    Last Post: 20 Jan 2013, 05:36 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