Re: [php-gtk-webmaster] cvs: php-gtk-web /manual add-note.php
[email protected] (Andrei Zmievski) Wed, 12 Jul 2006 20:35:05 -0700
| Newsgroups | php.gtk.webmaster |
|---|---|
| Message-ID | <[email protected]> |
I didn't realize it would be creating a separate file for each person. Why not keep them in one file or even in an sqlite DB? -Andrei On Jul 12, 2006, at 8:23 PM, Steph Fox wrote: > OK, thanks - so somehow my id-generating query's failing on the > server but working here. hrm hrm, I'll find a copy of the original > and see if that fails here too. > > Didn't know markus and pablo were testing too, that's sweet :) > > ----- Original Message ----- From: "Andrei Zmievski" > <[email protected]> > To: "Steph Fox" <[email protected]> > Cc: <[email protected]> > Sent: Thursday, July 13, 2006 5:23 AM > Subject: Re: [php-gtk-webmaster] cvs: php-gtk-web /manual add-note.php > > >> -rw-r--r-- 1 nobody nobody 34 Jul 9 19:42 anant.txt >> -rw-r--r-- 1 nobody nobody 34 Jul 8 19:07 andrei.txt >> -rw-r--r-- 1 nobody nobody 34 Jul 12 20:02 cweiske.txt >> -rw-r--r-- 1 nobody nobody 34 Jul 10 02:37 fernandoc.txt >> -rw-r--r-- 1 nobody nobody 1 Jul 13 02:54 gtklastid.txt >> -rw-r--r-- 1 nobody nobody 649216 Jul 12 20:01 gtknotes.sqlite >> -rw-r--r-- 1 nobody nobody 0 Jul 9 12:34 gtkqueue.sqlite >> -rw-r--r-- 1 nobody nobody 34 Jul 10 09:53 mfischer.txt >> -rw-r--r-- 1 nobody nobody 34 Jul 9 22:36 pablo.txt >> -rw-r--r-- 1 nobody nobody 34 Jul 10 13:33 scottmattocks.txt >> -rw-r--r-- 1 nobody nobody 34 Jul 13 03:16 sfox.txt >> >> gtklastid.txt has 0 in it >> >> -Andrei >> >> >> On Jul 12, 2006, at 8:19 PM, Steph Fox wrote: >> >>> That'd be nice :) >>> >>> I need to know what's in that db directory. There _should_ be (at >>> minimum) three files: gtknotes.sqlite (probably around 600 kb), >>> gtkqueue.sqlite (probably 3kb) and gtklastid.txt (1kb). (There >>> _may_ be additional files, if there are I'd like to know what >>> they are.) >>> >>> cat gtklastid.txt should give a number well above 0, more like >>> 300 or 400-odd. >>> >>> - Steph >>> >>> >>> ----- Original Message ----- From: "Andrei Zmievski" >>> <[email protected]> >>> To: "Steph Fox" <[email protected]> >>> Cc: <[email protected]> >>> Sent: Thursday, July 13, 2006 5:08 AM >>> Subject: Re: [php-gtk-webmaster] cvs: php-gtk-web /manual add- >>> note.php >>> >>> >>>> Do you need me to debug something for you on the server? >>>> >>>> -Andrei >>>> >>>> >>>> On Jul 12, 2006, at 7:57 PM, Steph Fox wrote: >>>> >>>>> sfox Thu Jul 13 02:57:22 2006 UTC >>>>> >>>>> Modified files: >>>>> /php-gtk-web/manual add-note.php >>>>> Log: >>>>> wtf? >>>>> >>>>> http://cvs.php.net/viewvc.cgi/php-gtk-web/manual/add-note.php? >>>>> r1=1.28&r2=1.29&diff_format=u >>>>> Index: php-gtk-web/manual/add-note.php >>>>> diff -u php-gtk-web/manual/add-note.php:1.28 php-gtk-web/ >>>>> manual/ add- note.php:1.29 >>>>> --- php-gtk-web/manual/add-note.php:1.28 Thu Jul 13 01:49:03 2006 >>>>> +++ php-gtk-web/manual/add-note.php Thu Jul 13 02:57:22 2006 >>>>> @@ -165,10 +165,12 @@ >>>>> print "<br />\n<p>\nThis is what your entry will look like, >>>>> roughly:\n</p>\n"; >>>>> if (file_exists($last_id)) { >>>>> print "<br />\n<p>\nId: ".file_get_contents($last_id)."\n</p>\n"; >>>>> - } else { >>>>> - print "<br />\n<p>\n***Id file not generated***\n</p>\n"; >>>>> print "<br />\n<p>\n***estimate: $estimate setid: $setid >>>>> rowid: $rowid ***\n</p>\n"; >>>>> } >>>>> + print file_exists($last_id) ? "last_id exists OK<br />" : >>>>> "last_id not created<br />"; >>>>> + print file_exists($queuefile) ? "queuefile exists OK<br />" : >>>>> "queuefile not created<br />"; >>>>> + print file_exists($notesfile) ? "notesfile found OK<br />" : >>>>> "notesfile not found<br />"; >>>>> + >>>>> print "<table border='0' cellpadding='0' cellspacing='0' >>>>> width='100%' align = 'center'>\n"; >>>>> $temp = array('display' => $display, 'comment' => htmlentities >>>>> ($content), 'date' => time()); >>>>> makeEntry($temp, false); >>>>> >>>>> -- >>>>> PHP-GTK Webmaster Mailing List (http://gtk.php.net/) >>>>> To unsubscribe, visit: http://www.php.net/unsub.php >>>> >>>> -- >>>> PHP-GTK Webmaster Mailing List (http://gtk.php.net/) >>>> To unsubscribe, visit: http://www.php.net/unsub.php >>>> >>>> >>>> __________ NOD32 1.1380 (20060125) Information __________ >>>> >>>> This message was checked by NOD32 antivirus system. >>>> http://www.eset.com >>>> >> >> >> __________ NOD32 1.1380 (20060125) Information __________ >> >> This message was checked by NOD32 antivirus system. >> http://www.eset.com >>