jbovlaste
jbovlaste copied to clipboard
troci lo ka jmina lu sa'ei zei valsi li'u
error: DBD::Pg::db do failed: ERROR: duplicate key value violates unique constraint "valsi_word_key"
DETAIL: Key (word)=(sa'ei zei valsi) already exists. at /srv/jbovlaste/current/dict/adddef.html line 122.
context:
...
118: </%perl>
119: <p>Ok, I'm adding the word to the database.</p>
120:
121: <%perl>
122: $dbh->do("INSERT INTO valsi (word, typeid, userid, time)
123: VALUES (?, (SELECT typeid FROM valsitypes WHERE descriptor=?), ?, ?)",
124: {}, $valsiword, $type, $session{'userid'}, time()) or $dbh->errstr;
125:
126:
...
code stack: /srv/jbovlaste/current/dict/adddef.html:122
/usr/share/perl5/vendor_perl/HTML/Mason/Request.pm:948
/srv/jbovlaste/mason-data-dir/obj/3214073370/jbovlaste/dict/adddef.html.obj:17
/srv/jbovlaste/current/autohandler:4