#105 Fatal database error when load pages

Database
closed
nobody
5
2014-07-29
2002-03-02
Anonymous
No

phpwiki version 1.3.3

When i load pages using zip archive or from a
directory, I always encountered the following error
messages:

c:\html\phpwiki\lib\WikiDB\backend\PearDB.php:680:
Fatal[256]: wikidb_backend_mysql: fatal database error

DB Error: already exists
(INSERT INTO phpwiki_page (id,pagename,hits) VALUES
(247,']. See footnote for counterpart. (If the is in
the first column, it is a footnote \'\'definition\'\'
rather than a footnote \'\'reference\'\' [',0)
[nativecode=Duplicate entry ']
. See footnote for
counterpart. (If the is in the first column, it is a
footnote ''definition''' for key 2])

-------------------------------------------------------

Fatal PhpWiki Error
c:\html\phpwiki\lib\WikiDB\backend\PearDB.php:680:
Fatal[256]: wikidb_backend_mysql: fatal database error

DB Error: already exists
(INSERT INTO phpwiki_page (id,pagename,hits) VALUES
(247,']. See footnote for counterpart. (If the is in
the first column, it is a footnote \'\'definition\'\'
rather than a footnote \'\'reference\'\' [',0)
[nativecode=Duplicate entry ']
. See footnote for
counterpart. (If the is in the first column, it is a
footnote ''definition''' for key 2])

Discussion

  • Logged In: NO

    Easy workaround is to replace the TextFormattingRules in the archive
    with the one in pgscr

     
  • Closing very old bugs.

     
    • status: open --> closed
    • Group: --> Database