[horde] wicked 2.0.1: error while saving page

Jan Schneider jan at horde.org
Wed Mar 26 07:42:46 UTC 2014


Zitat von Andreas Schulze <sca at andreasschulze.de>:

> Hello,
>
> I get the following error when saving the page "Wiki/Home" for the  
> *second time*:
>
> 2014-03-25T21:53:30+01:00 ERR: HORDE [wicked] SQL QUERY FAILED:  
> SQLSTATE[23000]: Integrity constraint violation: 19 column page_name  
> is not unique
>         INSERT INTO wicked_pages (page_name, page_text, version_created,
>           page_version, page_hits, change_author) VALUES ('Wiki/Home', '+
>           foo bar.',
>           1395780810, 1, 0, 'wikiuser') [pid 13197 on line 200 of  
> "/usr/share/php/Horde/Db/Adapter/Pdo/Base.php"]
> 2014-03-25T21:53:30+01:00 EMERG: HORDE [wicked] SQLSTATE[23000]:  
> Integrity constraint violation: 19 column page_name is not unique  
> [pid 13197 on line 621 of "/horde/wicked/lib/Driver/Sql.php"]
>
> The first time I have changed the default page without error.
>
> I use horde 5.1.6 and wicked 2.0.1.
>
> # horde-db-migrate wicked
> [  INFO  ] Migrating DB up.
> [  INFO  ] Current wicked schema version: 6
> [  INFO  ] Ending wicked schema version: 6
>
> the database is sqlite, (sqlite3-3.7.13)
>
> I think I saw this error months ago but I can't find something in my  
> list archive.
> Any hints?

For some reason it isn't detected that the page already exists. Do you  
get all pages listed if use the AllPages link?
-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject



More information about the horde mailing list