SourceForge logo
SourceForge logo
Menu

phpwiki-talk

You can subscribe to this list here.

2000 Jan
Feb
Mar
Apr
May
(1)
Jun
(103)
Jul
(105)
Aug
(16)
Sep
(16)
Oct
(78)
Nov
(36)
Dec
(58)
2001 Jan
(100)
Feb
(155)
Mar
(84)
Apr
(33)
May
(22)
Jun
(77)
Jul
(36)
Aug
(37)
Sep
(183)
Oct
(74)
Nov
(235)
Dec
(165)
2002 Jan
(187)
Feb
(183)
Mar
(52)
Apr
(10)
May
(15)
Jun
(19)
Jul
(43)
Aug
(90)
Sep
(144)
Oct
(144)
Nov
(171)
Dec
(78)
2003 Jan
(113)
Feb
(99)
Mar
(80)
Apr
(44)
May
(35)
Jun
(32)
Jul
(34)
Aug
(34)
Sep
(30)
Oct
(57)
Nov
(97)
Dec
(139)
2004 Jan
(132)
Feb
(223)
Mar
(300)
Apr
(221)
May
(171)
Jun
(286)
Jul
(188)
Aug
(107)
Sep
(97)
Oct
(106)
Nov
(139)
Dec
(125)
2005 Jan
(200)
Feb
(116)
Mar
(68)
Apr
(158)
May
(70)
Jun
(80)
Jul
(55)
Aug
(52)
Sep
(92)
Oct
(141)
Nov
(86)
Dec
(41)
2006 Jan
(35)
Feb
(62)
Mar
(59)
Apr
(52)
May
(51)
Jun
(61)
Jul
(30)
Aug
(36)
Sep
(12)
Oct
(4)
Nov
(22)
Dec
(34)
2007 Jan
(49)
Feb
(19)
Mar
(37)
Apr
(16)
May
(9)
Jun
(38)
Jul
(17)
Aug
(31)
Sep
(16)
Oct
(34)
Nov
(4)
Dec
(8)
2008 Jan
(8)
Feb
(16)
Mar
(14)
Apr
(6)
May
(4)
Jun
(5)
Jul
(9)
Aug
(36)
Sep
(6)
Oct
(3)
Nov
(3)
Dec
(3)
2009 Jan
(14)
Feb
(2)
Mar
(7)
Apr
(16)
May
(2)
Jun
(10)
Jul
(1)
Aug
(10)
Sep
(11)
Oct
(4)
Nov
(2)
Dec
2010 Jan
(1)
Feb
Mar
(13)
Apr
(11)
May
(18)
Jun
(44)
Jul
(7)
Aug
(2)
Sep
(14)
Oct
Nov
(6)
Dec
2011 Jan
(2)
Feb
(6)
Mar
(3)
Apr
(2)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2012 Jan
(11)
Feb
(3)
Mar
(11)
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(4)
Dec
2013 Jan
Feb
Mar
Apr
(3)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2014 Jan
Feb
Mar
Apr
May
(4)
Jun
Jul
Aug
Sep
Oct
Nov
(8)
Dec
(1)
2015 Jan
(3)
Feb
(2)
Mar
Apr
(3)
May
(1)
Jun
Jul
(1)
Aug
Sep
Oct
Nov
Dec
(2)
2016 Jan
Feb
(4)
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2017 Jan
Feb
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
(3)
Jun
(1)
Jul
Aug
Sep
Oct
Nov
Dec
2020 Jan
Feb
Mar
Apr
May
(3)
Jun
Jul
(5)
Aug
Sep
Oct
Nov
Dec
2021 Jan
Feb
(4)
Mar
Apr
May
Jun
Jul
(1)
Aug
(6)
Sep
(3)
Oct
Nov
Dec
2022 Jan
(11)
Feb
(2)
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2023 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(3)
Dec
(3)
2024 Jan
(7)
Feb
(2)
Mar
(1)
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025 Jan
Feb
Mar
Apr
(1)
May
(1)
Jun
Jul
(3)
Aug
Sep
(5)
Oct
Nov
Dec
S M T W T F S





1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(2)
18
19
20
21
22
23
24
25
26
27
28
29
30

Showing 2 results of 2

From: Reini U. <ru...@x-...> - 2011年04月17日 10:42:06
2011年4月17日 Pat Grogan <pat...@bi...>:
> I have just migrated from a very early version of phpwiki to the very
> latest.
which version exactly?
1.4.0-rc1 or svn?
We would recommend svn, because we do not break things.
> I have got the wiki up and working but a soon as I try and edit the main
> page I get the following error:
>
> Fatal Error:
>
> lib/WikiDB/backend/PearDB.php:1061 Error[256]:
> WikiDB_backend_PearDB_pgsql: fatal database error
>
>  * DB Error: constraint violation
>  * (DELETE FROM version WHERE id=98 AND version=1 [nativecode=ERROR:
> update or delete on table "version" violates foreign key constraint
> "recent_id_fkey1" on table "recent"
>  * DETAIL: Key (id,version)=(98,1) is still referenced from table
> "recent".])
Hmm, looks like a major problem with autocleanup of older versions.
We don't really have to delete older versions anymore, only on
restricted size databases.
Please check if these values work for you until I have found the real problem:
MAJOR_MIN_KEEP = 2147483647
MINOR_MIN_KEEP = 2147483647
> Any help would be most appreciated.
-- 
Reini Urban
http://phpwiki.org/      http://murbreak.at/
From: Pat G. <pat...@bi...> - 2011年04月17日 00:57:26
I have just migrated from a very early version of phpwiki to the very
latest.
I have got the wiki up and working but a soon as I try and edit the main
page I get the following error:
Fatal Error:
lib/WikiDB/backend/PearDB.php:1061 Error[256]:
WikiDB_backend_PearDB_pgsql: fatal database error
 * DB Error: constraint violation
 * (DELETE FROM version WHERE id=98 AND version=1 [nativecode=ERROR:
update or delete on table "version" violates foreign key constraint
"recent_id_fkey1" on table "recent"
 * DETAIL: Key (id,version)=(98,1) is still referenced from table
"recent".])
Here is the database setup for each of the tables:
phpwiki=# \d recent
 Table "public.recent"
 Column | Type | Modifiers 
---------------+---------+-----------
 id | integer | 
 latestversion | integer | 
 latestmajor | integer | 
 latestminor | integer | 
Indexes:
 "recent_id_idx" UNIQUE, btree (id)
 "recent_lv_idx" btree (latestversion)
Check constraints:
 "recent_check" CHECK (latestminor >= latestmajor)
Foreign-key constraints:
 "recent_id_fkey" FOREIGN KEY (id) REFERENCES page(id)
 "recent_id_fkey1" FOREIGN KEY (id, latestversion) REFERENCES
version(id, version)
phpwiki=# 
phpwiki=# \d page
 Table "public.page"
 Column | Type |
Modifiers 
-------------+------------------------+---------------------------------------------------
 id | integer | not null default
nextval('page_id_seq'::regclass)
 pagename | character varying(100) | not null
 hits | integer | not null default 0
 pagedata | text | not null default ''::text
 cached_html | text | default ''::text
Indexes:
 "page_pkey" PRIMARY KEY, btree (id)
 "page_pagename_key" UNIQUE, btree (pagename)
Check constraints:
 "page_pagename_check" CHECK (pagename::text <> ''::text)
Referenced by:
 TABLE "link" CONSTRAINT "link_linkfrom_fkey" FOREIGN KEY (linkfrom)
REFERENCES page(id)
 TABLE "link" CONSTRAINT "link_linkto_fkey" FOREIGN KEY (linkto)
REFERENCES page(id)
 TABLE "nonempty" CONSTRAINT "nonempty_id_fkey" FOREIGN KEY (id)
REFERENCES page(id)
 TABLE "pagedata" CONSTRAINT "pagedata_id_fkey" FOREIGN KEY (id)
REFERENCES page(id)
 TABLE "pageperm" CONSTRAINT "pageperm_id_fkey" FOREIGN KEY (id)
REFERENCES page(id)
 TABLE "rating" CONSTRAINT "rating_rateepage_fkey" FOREIGN KEY
(rateepage) REFERENCES page(id)
 TABLE "rating" CONSTRAINT "rating_raterpage_fkey" FOREIGN KEY
(raterpage) REFERENCES page(id)
 TABLE "recent" CONSTRAINT "recent_id_fkey" FOREIGN KEY (id)
REFERENCES page(id)
 TABLE "version" CONSTRAINT "version_id_fkey" FOREIGN KEY (id)
REFERENCES page(id)
I manually went into the postgres database phpwiki and removed the entry
id 98 from table recent and was able to edit the home page. However once
saved another edit fails with the same error.
Is this a schema error or am I using an incorrect procedure?
I am using postgres on Ubuntu 10.10.
Any help would be most appreciated.
Thanks,
Pat

Showing 2 results of 2

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /