Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

troci lo ka jmina lu sa'ei zei valsi li'u #196

Open
lagleki opened this issue Dec 29, 2015 · 0 comments
Open

troci lo ka jmina lu sa'ei zei valsi li'u #196

lagleki opened this issue Dec 29, 2015 · 0 comments
Labels

Comments

@lagleki
Copy link
Contributor

lagleki commented Dec 29, 2015

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

@lagleki lagleki added the bug label Dec 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant