When i create multiple links to the same URL in an article entry, a postgresql error complaining violation of uniqueness is shown. Only one of the links is being saved (which is not so a big problem)
[...]
Warning: pg_query() [function.pg-query]: Query failed: ERROR: duplicate key violates unique ...
Search found 22 matches
- Tue Jun 19, 2007 4:35 pm
- Forum: Bugs
- Topic: multiple links with same URL make problems
- Replies: 1
- Views: 2385
- Thu May 24, 2007 11:12 am
- Forum: Bugs
- Topic: Bug in Freetag
- Replies: 1
- Views: 2178
Bug in Freetag
Hi!
I get a SQL error in freetag when previewing an article.
ERROR: syntax error at or near ")" at character 66
STATEMENT: SELECT entryid, tag from serendipity_entrytags WHERE entryid IN () order by entryid, tag
It comes from the query in line 1221 of plugins/serendipity_event_freetag ...
I get a SQL error in freetag when previewing an article.
ERROR: syntax error at or near ")" at character 66
STATEMENT: SELECT entryid, tag from serendipity_entrytags WHERE entryid IN () order by entryid, tag
It comes from the query in line 1221 of plugins/serendipity_event_freetag ...
- Wed May 16, 2007 2:47 pm
- Forum: Plugins
- Topic: Counting top exits doesn't work for me
- Replies: 31
- Views: 17728
- Tue May 15, 2007 12:40 pm
- Forum: Plugins
- Topic: Counting top exits doesn't work for me
- Replies: 31
- Views: 17728
- Mon May 14, 2007 4:53 pm
- Forum: Plugins
- Topic: Counting top exits doesn't work for me
- Replies: 31
- Views: 17728
- Mon May 14, 2007 4:31 pm
- Forum: Plugins
- Topic: Counting top exits doesn't work for me
- Replies: 31
- Views: 17728
- Mon May 14, 2007 1:04 am
- Forum: Plugins
- Topic: Counting top exits doesn't work for me
- Replies: 31
- Views: 17728
- Wed May 09, 2007 8:14 pm
- Forum: Bugs
- Topic: Violated Constraint in nightlies
- Replies: 6
- Views: 5751
The problem is rather easy. The value in the type column is NULL by default and it is not set, when a value is inserted which specifies no type. '' (empty string) and NULL are two distinct values. I think mysql does not distinguish these two values.
Replacing "type = ''" with "type IS NULL" works ...
Replacing "type = ''" with "type IS NULL" works ...
- Wed May 09, 2007 10:59 am
- Forum: Bugs
- Topic: Violated Constraint in nightlies
- Replies: 6
- Views: 5751
- Tue May 08, 2007 4:18 pm
- Forum: Bugs
- Topic: Violated Constraint in nightlies
- Replies: 6
- Views: 5751
I put the full sql log of a "save new entry" session at http://evilazrael.net/pg_error.log . I hope this helps you.
Just for curiosity, is it normal that the user information is retrieved multiple times?
Just for curiosity, is it normal that the user information is retrieved multiple times?
- Tue May 08, 2007 4:16 pm
- Forum: Plugins
- Topic: Counting top exits doesn't work for me
- Replies: 31
- Views: 17728
- Mon May 07, 2007 4:42 pm
- Forum: Plugins
- Topic: Counting top exits doesn't work for me
- Replies: 31
- Views: 17728
- Mon May 07, 2007 4:34 pm
- Forum: Bugs
- Topic: Violated Constraint in nightlies
- Replies: 6
- Views: 5751
Violated Constraint in nightlies
Hi
I get the following error since the Nightly version of 2007-05-03. It happens when saving a new entry. Looks like it uses an generated id multiple times.
Sitemap Update an www.google.com gemeldet.
Warning: pg_query() [function.pg-query]: Query failed: ERROR: duplicate key violates unique ...
I get the following error since the Nightly version of 2007-05-03. It happens when saving a new entry. Looks like it uses an generated id multiple times.
Sitemap Update an www.google.com gemeldet.
Warning: pg_query() [function.pg-query]: Query failed: ERROR: duplicate key violates unique ...
- Mon May 07, 2007 4:21 pm
- Forum: Plugins
- Topic: Counting top exits doesn't work for me
- Replies: 31
- Views: 17728
- Mon May 07, 2007 4:03 pm
- Forum: Plugins
- Topic: Counting top exits doesn't work for me
- Replies: 31
- Views: 17728