1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

page failure on user typing duplicate tag

Discussion in 'General Troubleshooting' started by atddoug, Mar 19, 2012.

  1. atddoug

    atddoug New Member

    I had a page failure when a user apparently typed a duplicate tag that resulted in a white screen with two error lines and this email sent to the admin:

    SQL query:
    INSERT INTO hotaru_tags SET tags_post_id = 61, tags_date = CURRENT_TIMESTAMP, tags_word = 'newt_gingrich', tags_updateby = 2

    PHP error log:
    Duplicate entry '61-newt_gingrich' for key 1

    Wondering if there is/should be logic to check the tags entered instead of resulting in a page failure?

    Thanks. :)
  2. PuckRobin

    PuckRobin New Member

    Try to repair the table.
  3. blinger187

    blinger187 New Member

    i have this same issue.. then again i also receive emails regarding sql errors
  4. alfbrand

    alfbrand Active Member

    I get these duplicate tag errors all the time too. Has anyone found a fix?
  5. alfbrand

    alfbrand Active Member

    I found a great little jQuery script that makes entering tags a bit more elegant and Bonus - it checks for duplicates. I've got it running on my hotaru site - Awesome Cream - if you want to give it a try.

Share This Page