From: Jeff D. <da...@ma...> - 2001-03-10 02:23:04
|
>However, I have seen some unexpected >behavior with pages being accidentially deleated when trying to edit. > [... rest of scary story omitted...] Eeek. Please tell us what backend (what type of database) you are using. Also which OS and which version of PHP your server is running might be of interest. |
From: Steve W. <sw...@pa...> - 2001-03-10 17:45:45
|
On Fri, 9 Mar 2001, Jeff Dairiki wrote: > >However, I have seen some unexpected > >behavior with pages being accidentially deleated when trying to edit. > > [... rest of scary story omitted...] > > Eeek. > > Please tell us what backend (what type of database) you are using. > Also which OS and which version of PHP your server is running might > be of interest. I can see he's using the DBM library: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- $Id: index.php,v 1.5 2000/11/08 15:34:06 ahollosi Exp $ --> <!-- $Id: config.php,v 1.1 2001/03/08 17:51:07 ocha Exp ocha $ --> <!-- $Id: dbmlib.php,v 1.7 2001/01/31 03:11:25 wainstead Exp $ --> <!-- $Id: stdlib.php,v 1.21 2001/01/15 12:32:57 ahollosi Exp $ --> <!-- $Id: display.php,v 1.5 2000/12/30 21:09:13 ahollosi Exp $ --> <!-- $Id: transform.php,v 1.8 2001/01/04 18:34:15 ahollosi Exp $ --> I will try to reproduce this here on my box. ~swain --- http://www.panix.com/~swain/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." -- Frank Zappa |
From: Jeb B. <je...@oc...> - 2001-03-10 19:53:28
|
Steve Wainstead wrote: > On Fri, 9 Mar 2001, Jeff Dairiki wrote: >> Eeek. >> >> Please tell us what backend (what type of database) you are using. >> Also which OS and which version of PHP your server is running might >> be of interest. > > I can see he's using the DBM library: Right. It's also running in PHP 3.0.18 Apache 1.3.12 module under FreeBSD in an iServer Virtual Server environment. I have MySQL running there also, so I could switch to that backend without much trouble... > I will try to reproduce this here on my box. Thanks.. There is one other clue I forgot to mention earlier. I found that in this particular page, some unknown character had been introduced in the place of the spaces near the beginning of lines. I copied this into an email message to for future reference, but unfortunately I was working in Netscape at the time (need to reboot into Linux), and think it may have converted it to a newline in the process. Anyway, I have two zip dumps of the database, and at least one of them should contain a copy of the file with these characters present, if that would help(?) I'm pasting two example lines below, one with a space after the *, and the other with the unknown character, which may have been introduced when a user was confused by the edit conflict screen and ended up copying the text into Word Perfect and back. I've turned quote-printable encoding on in this message in case that character is still after the second * below... * 52431 - 25 lbs - Maple Almond Granola (JebBateman) * 25743 - 2 cs - Reeds Premium Ginger Brew (1 - JebBateman, 1 - lyn) Regards, -jeb |
From: Steve W. <sw...@pa...> - 2001-03-10 20:14:13
|
OK.. what DBM library comes with FreeBSD? This becomes my first suspect. More to the point, support for what DBM library is compiled into PHP? I am going offline for a while so I may not reply until later today. ~swain On Sat, 10 Mar 2001, Jeb Bateman wrote: > Steve Wainstead wrote: > > > On Fri, 9 Mar 2001, Jeff Dairiki wrote: > >> Eeek. > >> > >> Please tell us what backend (what type of database) you are using. > >> Also which OS and which version of PHP your server is running might > >> be of interest. > > > > I can see he's using the DBM library: > > Right. It's also running in PHP 3.0.18 Apache 1.3.12 module under > FreeBSD in an iServer Virtual Server environment. I have MySQL running > there also, so I could switch to that backend without much trouble... > > > I will try to reproduce this here on my box. > > Thanks.. There is one other clue I forgot to mention earlier. I found > that in this particular page, some unknown character had been introduced > in the place of the spaces near the beginning of lines. I copied this > into an email message to for future reference, but unfortunately I was > working in Netscape at the time (need to reboot into Linux), and think > it may have converted it to a newline in the process. Anyway, I have > two zip dumps of the database, and at least one of them should contain a > copy of the file with these characters present, if that would help(?) > > I'm pasting two example lines below, one with a space after the *, and > the other with the unknown character, which may have been introduced > when a user was confused by the edit conflict screen and ended up > copying the text into Word Perfect and back. I've turned > quote-printable encoding on in this message in case that character is > still after the second * below... > > * 52431 - 25 lbs - Maple Almond Granola (JebBateman) > * > 25743 - 2 cs - Reeds Premium Ginger Brew (1 - JebBateman, 1 - lyn) > > Regards, > -jeb > > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > http://lists.sourceforge.net/lists/listinfo/phpwiki-talk > --- http://www.panix.com/~swain/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." -- Frank Zappa |
From: Jeb B. <je...@oc...> - 2001-03-11 03:51:52
|
On Sat, Mar 10, 2001 at 03:16:04PM -0500, Steve Wainstead wrote: > > OK.. what DBM library comes with FreeBSD? This becomes my first suspect. > More to the point, support for what DBM library is compiled into PHP? I'm not sure, and don't know much about DBM libraries myself... Does phpinfo() tell you? I've put that up at: http://buyorganic.org/wiki/info.php > I am going offline for a while so I may not reply until later today. Me too. I will try to reproduce this again either tomorrow or monday, by restoring the zip backup or serialized page I took while it was happening. It should be possible, since it happened three times. Also, it didn't have anything to do with my being in admin mode in the example I gave, since I saw the page was deleted under regular mode earlier, and the version number was reset each time... Anyway, thanks again! -jeb -- Jeb Bateman... http://jeb.ocha.net |
From: Jeb B. <je...@oc...> - 2001-03-15 00:55:21
|
On Sat, Mar 10, 2001 at 07:53:38PM -0800, Jeb Bateman wrote: > On Sat, Mar 10, 2001 at 03:16:04PM -0500, Steve Wainstead wrote: > > OK.. what DBM library comes with FreeBSD? This becomes my first suspect. > > More to the point, support for what DBM library is compiled into PHP? > > I'm not sure... > I will try to reproduce this again either tomorrow or monday, Okay, I think I have a working example, (moved to the SandBox). http://buyorganic.org/live?SandBox I just tried to create the BioDemocracyNews page, using the following input source (for reference): http://buyorganic.org/wiki/biodemocracy PhpWiki responded 'thank you' (which I saved with lynx). [Excerpt from the 'success' page follows...] Thank you for editing BioDemocracyNews. Your careful attention to detail is much appreciated. [signature.png] _________________________________________________________________ Date: Mon, 5 Mar 2001 15:55:49 -0600 Subject: BioDemocracy? News #32 - Organic Consumers Association BIODEMOCRACY NEWS Issue # 32 March, 2001 by Ronnie Cummins A ...snip... However, the page was not actually saved. Instead a blank page exists in it's place. A dump of the database shows: FoodClub ... 1639 bytes written BioDemocracyNews ... 7 bytes written SandBox ... 434 bytes written The BioDemocracyNews file only contains: s:0:""; Again, I think this might have happened because of some high-ascii characters; perhaps an (R) after STARBUCKS (or something). I haven't looked at the code to see why it reports success incorrectly though(?) Do you think it would be a good idea to switch our backend to MySQL? (I've also seen inconsistent results in the MostPopular page.) Thanks, -jeb PS: Any ideas why these extra 5 byte entries exist in the dump? FindPage ... 1114 bytes written MountainPeoplesOrderr ... 5 bytes written MountainPeoplesOrderr ... 5 bytes written MountainPeoplesOrderr ... 5 bytes written MountainPeoplesOrder ... 3785 bytes written The MountainPeoplesOrderr dump file contains: i:-1; |