Jump to content
php.lv forumi

Datsogallery


laucinieks

Recommended Posts

Uzliku, tagad rādās, kad balsoju par bildēm, par kurām jau esmu nobalsojis -

 

DB function failed with error number 1062

Duplicate entry '8-81.198.30.248' for key 1 SQL=INSERT INTO jos_datsogallery_votes VALUES ( 8, '81.198.30.248', now() )

Edited by laucinieks
Link to comment
Share on other sites

tavā screenshot ir arī redzama daļa "Indeksi" paņem nospied uz zīmuļa pie vpic unikālā indeksa un nākamajā skatā pieliec klāt tikko pievienoto kolonu.

 

Tā kļūda, ko tu dabū, nozīmē, ka kāds par konkrēto bildi no konkrētās ip adreses jau ir nobalsojis. Palielinot unikālo indeksu uz 3 laukiem, vajadzētu atļaut balsot no vienas ip reizi dienā.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...