Thread: [Refdb-users] Does the edit button actually work in the php version of refdb?
Status: Beta
Brought to you by:
mhoenicka
|
From: Daniel O'D. <dan...@ul...> - 2006-06-28 21:26:16
|
Been experimenting with the php version of refdb. Everything seems to work except for the [edit] button, which produces errors. Does anybody know if it is supposed to work? Looking the code, over I'd have said it was a deletion button rather than an edit button! -d -- Daniel Paul O'Donnell, PhD Associate Professor and Chair Director, Digital Medievalist Project <http://www.digitalmedievalist.org/> Department of English University of Lethbridge Lethbridge AB T1K 3M4 Tel. +1 (403) 329-2378 Fax. +1 (403) 382-7191 :@wiglaf (dapper ubuntu) |
|
From: Markus H. <mar...@mh...> - 2006-06-29 20:39:34
|
Daniel O'Donnell writes: > Been experimenting with the php version of refdb. > > Everything seems to work except for the [edit] button, which produces > errors. Does anybody know if it is supposed to work? Looking the code, > over I'd have said it was a deletion button rather than an edit button! > I'm afraid you're right. There is no "edit" action implemented in refdb-prl-del.php which is supposed to handle this request. Tom, are you listening? Any chance to get this implemented anytime soon? regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |
|
From: Daniel O'D. <dan...@ul...> - 2006-06-30 01:34:16
|
In keeping with the general tone of "let's get the user interfaces up" I wouldn't mind working on this as I can--really only learning PHP; my only real skills are XML and XSLT. I've been playing with phpyaz as well--though I'm having trouble with it ;). I think on the basis of the demos that it might be possible not only to build an edit in php for refdb--shouldn't be too hard, I think--but also integrate z39.50 searching. The main thing that would need work I think would be the piping. Yaz can output in USMARC or an XML equivalent. We'd need something to run the yaz output into the refdb dbase. -d On Thu, 2006-29-06 at 22:31 +0200, Markus Hoenicka wrote: > Daniel O'Donnell writes: > > Been experimenting with the php version of refdb. > > > > Everything seems to work except for the [edit] button, which produces > > errors. Does anybody know if it is supposed to work? Looking the code, > > over I'd have said it was a deletion button rather than an edit button! > > > > I'm afraid you're right. There is no "edit" action implemented in > refdb-prl-del.php which is supposed to handle this request. Tom, are > you listening? Any chance to get this implemented anytime soon? > > regards, > Markus > -- Daniel Paul O'Donnell, PhD Associate Professor and Chair Director, Digital Medievalist Project <http://www.digitalmedievalist.org/> Department of English University of Lethbridge Lethbridge AB T1K 3M4 Tel. +1 (403) 329-2378 Fax. +1 (403) 382-7191 :@wiglaf (dapper ubuntu) |
|
From: Markus H. <mar...@mh...> - 2006-06-30 06:33:26
|
Daniel O'Donnell <dan...@ul...> was heard to say: > In keeping with the general tone of "let's get the user interfaces up" I > wouldn't mind working on this as I can--really only learning PHP; my > only real skills are XML and XSLT. > You're more than welcome to tackle this. The PHP web interface is certainly much easier to extend than the previous C implementation. > I've been playing with phpyaz as well--though I'm having trouble with > it ;). I think on the basis of the demos that it might be possible not > only to build an edit in php for refdb--shouldn't be too hard, I > think--but also integrate z39.50 searching. > Cool. > The main thing that would need work I think would be the piping. Yaz can > output in USMARC or an XML equivalent. We'd need something to run the > yaz output into the refdb dbase. > I don't know in which form phpyaz provides the retrieved data, but it should be possible to send the result to a pipe. You should be able to use marc2ris as a filter to pipe the data directly into refdbc. regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |
|
From: <ste...@jo...> - 2006-06-30 10:27:42
|
Daniel O'Donnell a =E9crit : > Been experimenting with the php version of refdb. >=20 > Everything seems to work except for the [edit] button, which produces > errors. Does anybody know if it is supposed to work? Looking the code, > over I'd have said it was a deletion button rather than an edit button! >=20 > -d Moreover the phpweb interface seems to not work at all :-( I've tried to use it and i couldn't get anything working, which is bad=20 since refdb fits all my others needs :-( Using refdbc i can browse citations, import, export ones. From the web interface, i can only get errors (see below httpd logs): [Thu Jun 29 23:06:11 2006] [notice] Apache/2.2.2 (Mandriva=20 Linux/PREFORK-6mdv2007.0) configured -- resuming normal operations [Thu Jun 29 23:11:39 2006] [error] [client 127.0.0.1] File does not=20 exist: /var/www/html/favicon.ico [Thu Jun 29 23:12:58 2006] [error] [client 127.0.0.1] PHP Warning:=20 move_uploaded_file(pubmed-result.txt) [<a=20 href=3D'function.move-uploaded-file'>function.move-uploaded-file</a>]:=20 failed to open stream: Permission denied in /var/www/refdb/refdbadd.php=20 on line 111, referer: http://localhost/refdb/refdbadd.html [Thu Jun 29 23:12:58 2006] [error] [client 127.0.0.1] PHP Warning:=20 move_uploaded_file() [<a=20 href=3D'function.move-uploaded-file'>function.move-uploaded-file</a>]:=20 Unable to move '/tmp/phpTjy7Vz' to 'pubmed-result.txt' in=20 /var/www/refdb/refdbadd.php on line 111, referer:=20 http://localhost/refdb/refdbadd.html [Thu Jun 29 23:44:01 2006] [error] [client 127.0.0.1] PHP Warning:=20 move_uploaded_file(pubmed-result.txt) [<a=20 href=3D'function.move-uploaded-file'>function.move-uploaded-file</a>]:=20 failed to open stream: Permission denied in /var/www/refdb/refdbadd.php=20 on line 111, referer: http://localhost/refdb/refdbadd.html [Thu Jun 29 23:44:01 2006] [error] [client 127.0.0.1] PHP Warning:=20 move_uploaded_file() [<a=20 href=3D'function.move-uploaded-file'>function.move-uploaded-file</a>]:=20 Unable to move '/tmp/phplYBqez' to 'pubmed-result.txt' in=20 /var/www/refdb/refdbadd.php on line 111, referer:=20 http://localhost/refdb/refdbadd.html [Thu Jun 29 23:44:17 2006] [error] [client 127.0.0.1] PHP Warning:=20 move_uploaded_file(pubmed-result.txt) [<a=20 href=3D'function.move-uploaded-file'>function.move-uploaded-file</a>]:=20 failed to open stream: Permission denied in /var/www/refdb/refdbadd.php=20 on line 111, referer: http://localhost/refdb/refdbadd.html [Thu Jun 29 23:44:17 2006] [error] [client 127.0.0.1] PHP Warning:=20 move_uploaded_file() [<a=20 href=3D'function.move-uploaded-file'>function.move-uploaded-file</a>]:=20 Unable to move '/tmp/phpgbuB7q' to 'pubmed-result.txt' in=20 /var/www/refdb/refdbadd.php on line 111, referer:=20 http://localhost/refdb/refdbadd.html [Thu Jun 29 23:51:16 2006] [error] [client 127.0.0.1] PHP Warning:=20 move_uploaded_file(pubmed-result.txt) [<a=20 href=3D'function.move-uploaded-file'>function.move-uploaded-file</a>]:=20 failed to open stream: Permission denied in /var/www/refdb/refdbadd.php=20 on line 111, referer: http://localhost/refdb/refdbadd.html [Thu Jun 29 23:51:16 2006] [error] [client 127.0.0.1] PHP Warning:=20 move_uploaded_file() [<a=20 href=3D'function.move-uploaded-file'>function.move-uploaded-file</a>]:=20 Unable to move '/tmp/phpM0QeWa' to 'pubmed-result.txt' in=20 /var/www/refdb/refdbadd.php on line 111, referer:=20 http://localhost/refdb/refdbadd.html [Thu Jun 29 23:51:23 2006] [error] [client 127.0.0.1] PHP Warning:=20 move_uploaded_file(pubmed-result.txt) [<a=20 href=3D'function.move-uploaded-file'>function.move-uploaded-file</a>]:=20 failed to open stream: Permission denied in /var/www/refdb/refdbadd.php=20 on line 111, referer: http://localhost/refdb/refdbadd.html [Thu Jun 29 23:51:23 2006] [error] [client 127.0.0.1] PHP Warning:=20 move_uploaded_file() [<a=20 href=3D'function.move-uploaded-file'>function.move-uploaded-file</a>]:=20 Unable to move '/tmp/phpFbRbtg' to 'pubmed-result.txt' in=20 /var/www/refdb/refdbadd.php on line 111, referer:=20 http://localhost/refdb/refdbadd.html sh: -c: command not found sh: -u: command not found sh: -u: command not found [Fri Jun 30 00:25:45 2006] [error] [client 127.0.0.1] PHP Warning:=20 session_destroy() [<a=20 href=3D'function.session-destroy'>function.session-destroy</a>]: Trying t= o=20 destroy uninitialized session in /var/www/refdb/refdblogout.php on line=20 30, referer: http://localhost/refdb/refdbdbquery.php sh: -c: command not found sh: -u: command not found sh: -u: command not found [Fri Jun 30 00:33:46 2006] [error] [client 127.0.0.1] PHP Warning:=20 session_destroy() [<a=20 href=3D'function.session-destroy'>function.session-destroy</a>]: Trying t= o=20 destroy uninitialized session in /var/www/refdb/refdblogout.php on line=20 30, referer: http://localhost/refdb/refdbadmin.php [Fri Jun 30 00:34:02 2006] [error] [client 127.0.0.1] PHP Warning:=20 session_destroy() [<a=20 href=3D'function.session-destroy'>function.session-destroy</a>]: Trying t= o=20 destroy uninitialized session in /var/www/refdb/refdblogout.php on line=20 30, referer: http://localhost/refdb/index.html [Fri Jun 30 00:34:07 2006] [error] [client 127.0.0.1] PHP Warning:=20 session_destroy() [<a=20 href=3D'function.session-destroy'>function.session-destroy</a>]: Trying t= o=20 destroy uninitialized session in /var/www/refdb/refdblogout.php on line=20 30, referer: http://localhost/refdb/refdbquery.html [Fri Jun 30 00:39:57 2006] [error] [client 127.0.0.1] PHP Warning:=20 session_destroy() [<a=20 href=3D'function.session-destroy'>function.session-destroy</a>]: Trying t= o=20 destroy uninitialized session in /var/www/refdb/refdblogout.php on line=20 30, referer: http://localhost/refdb/refdbquery.html [Fri Jun 30 00:40:34 2006] [error] [client 127.0.0.1] PHP Warning:=20 move_uploaded_file(pubmed.txt) [<a=20 href=3D'function.move-uploaded-file'>function.move-uploaded-file</a>]:=20 failed to open stream: Permission denied in /var/www/refdb/refdbadd.php=20 on line 111, referer: http://localhost/refdb/refdbadd.html [Fri Jun 30 00:40:34 2006] [error] [client 127.0.0.1] PHP Warning:=20 move_uploaded_file() [<a=20 href=3D'function.move-uploaded-file'>function.move-uploaded-file</a>]:=20 Unable to move '/tmp/phpYAU50H' to 'pubmed.txt' in=20 /var/www/refdb/refdbadd.php on line 111, referer:=20 http://localhost/refdb/refdbadd.html [Fri Jun 30 00:51:03 2006] [error] [client 127.0.0.1] PHP Warning:=20 move_uploaded_file(pubmed.txt) [<a=20 href=3D'function.move-uploaded-file'>function.move-uploaded-file</a>]:=20 failed to open stream: Permission denied in /var/www/refdb/refdbadd.php=20 on line 111, referer: http://localhost/refdb/refdbadd.html [Fri Jun 30 00:51:03 2006] [error] [client 127.0.0.1] PHP Warning:=20 move_uploaded_file() [<a=20 href=3D'function.move-uploaded-file'>function.move-uploaded-file</a>]:=20 Unable to move '/tmp/phposFZ3V' to 'pubmed.txt' in=20 /var/www/refdb/refdbadd.php on line 111, referer:=20 http://localhost/refdb/refdbadd.html Any hint ? Cheers, St=E9phane --=20 St=E9phane T=E9letch=E9a, PhD. http://www.steletch.org Unit=E9 Math=E9matique Informatique et G=E9nome http://migale.jouy.inra.f= r/mig INRA, Domaine de Vilvert T=E9l : (33) 134 652 891 78352 Jouy-en-Josas cedex, France Fax : (33) 134 652 901 |
|
From: Daniel O'D. <dan...@ul...> - 2006-06-30 15:38:28
|
I had trouble but then got it working. What is your PHP version, Linux Distro, and Apache version? I'm assuming you followed the brief readme in the package? On Fri, 2006-30-06 at 12:27 +0200, Stéphane Téletchéa wrote: > Daniel O'Donnell a écrit : > > Been experimenting with the php version of refdb. > > > > Everything seems to work except for the [edit] button, which produces > > errors. Does anybody know if it is supposed to work? Looking the code, > > over I'd have said it was a deletion button rather than an edit button! > > > > -d > > Moreover the phpweb interface seems to not work at all :-( > > I've tried to use it and i couldn't get anything working, which is bad > since refdb fits all my others needs :-( > > Using refdbc i can browse citations, import, export ones. > > From the web interface, i can only get errors (see below httpd logs): > > [Thu Jun 29 23:06:11 2006] [notice] Apache/2.2.2 (Mandriva > Linux/PREFORK-6mdv2007.0) configured -- resuming normal operations > [Thu Jun 29 23:11:39 2006] [error] [client 127.0.0.1] File does not > exist: /var/www/html/favicon.ico > [Thu Jun 29 23:12:58 2006] [error] [client 127.0.0.1] PHP Warning: > move_uploaded_file(pubmed-result.txt) [<a > href='function.move-uploaded-file'>function.move-uploaded-file</a>]: > failed to open stream: Permission denied in /var/www/refdb/refdbadd.php > on line 111, referer: http://localhost/refdb/refdbadd.html > [Thu Jun 29 23:12:58 2006] [error] [client 127.0.0.1] PHP Warning: > move_uploaded_file() [<a > href='function.move-uploaded-file'>function.move-uploaded-file</a>]: > Unable to move '/tmp/phpTjy7Vz' to 'pubmed-result.txt' in > /var/www/refdb/refdbadd.php on line 111, referer: > http://localhost/refdb/refdbadd.html > [Thu Jun 29 23:44:01 2006] [error] [client 127.0.0.1] PHP Warning: > move_uploaded_file(pubmed-result.txt) [<a > href='function.move-uploaded-file'>function.move-uploaded-file</a>]: > failed to open stream: Permission denied in /var/www/refdb/refdbadd.php > on line 111, referer: http://localhost/refdb/refdbadd.html > [Thu Jun 29 23:44:01 2006] [error] [client 127.0.0.1] PHP Warning: > move_uploaded_file() [<a > href='function.move-uploaded-file'>function.move-uploaded-file</a>]: > Unable to move '/tmp/phplYBqez' to 'pubmed-result.txt' in > /var/www/refdb/refdbadd.php on line 111, referer: > http://localhost/refdb/refdbadd.html > [Thu Jun 29 23:44:17 2006] [error] [client 127.0.0.1] PHP Warning: > move_uploaded_file(pubmed-result.txt) [<a > href='function.move-uploaded-file'>function.move-uploaded-file</a>]: > failed to open stream: Permission denied in /var/www/refdb/refdbadd.php > on line 111, referer: http://localhost/refdb/refdbadd.html > [Thu Jun 29 23:44:17 2006] [error] [client 127.0.0.1] PHP Warning: > move_uploaded_file() [<a > href='function.move-uploaded-file'>function.move-uploaded-file</a>]: > Unable to move '/tmp/phpgbuB7q' to 'pubmed-result.txt' in > /var/www/refdb/refdbadd.php on line 111, referer: > http://localhost/refdb/refdbadd.html > [Thu Jun 29 23:51:16 2006] [error] [client 127.0.0.1] PHP Warning: > move_uploaded_file(pubmed-result.txt) [<a > href='function.move-uploaded-file'>function.move-uploaded-file</a>]: > failed to open stream: Permission denied in /var/www/refdb/refdbadd.php > on line 111, referer: http://localhost/refdb/refdbadd.html > [Thu Jun 29 23:51:16 2006] [error] [client 127.0.0.1] PHP Warning: > move_uploaded_file() [<a > href='function.move-uploaded-file'>function.move-uploaded-file</a>]: > Unable to move '/tmp/phpM0QeWa' to 'pubmed-result.txt' in > /var/www/refdb/refdbadd.php on line 111, referer: > http://localhost/refdb/refdbadd.html > [Thu Jun 29 23:51:23 2006] [error] [client 127.0.0.1] PHP Warning: > move_uploaded_file(pubmed-result.txt) [<a > href='function.move-uploaded-file'>function.move-uploaded-file</a>]: > failed to open stream: Permission denied in /var/www/refdb/refdbadd.php > on line 111, referer: http://localhost/refdb/refdbadd.html > [Thu Jun 29 23:51:23 2006] [error] [client 127.0.0.1] PHP Warning: > move_uploaded_file() [<a > href='function.move-uploaded-file'>function.move-uploaded-file</a>]: > Unable to move '/tmp/phpFbRbtg' to 'pubmed-result.txt' in > /var/www/refdb/refdbadd.php on line 111, referer: > http://localhost/refdb/refdbadd.html > sh: -c: command not found > sh: -u: command not found > sh: -u: command not found > [Fri Jun 30 00:25:45 2006] [error] [client 127.0.0.1] PHP Warning: > session_destroy() [<a > href='function.session-destroy'>function.session-destroy</a>]: Trying to > destroy uninitialized session in /var/www/refdb/refdblogout.php on line > 30, referer: http://localhost/refdb/refdbdbquery.php > sh: -c: command not found > sh: -u: command not found > sh: -u: command not found > [Fri Jun 30 00:33:46 2006] [error] [client 127.0.0.1] PHP Warning: > session_destroy() [<a > href='function.session-destroy'>function.session-destroy</a>]: Trying to > destroy uninitialized session in /var/www/refdb/refdblogout.php on line > 30, referer: http://localhost/refdb/refdbadmin.php > [Fri Jun 30 00:34:02 2006] [error] [client 127.0.0.1] PHP Warning: > session_destroy() [<a > href='function.session-destroy'>function.session-destroy</a>]: Trying to > destroy uninitialized session in /var/www/refdb/refdblogout.php on line > 30, referer: http://localhost/refdb/index.html > [Fri Jun 30 00:34:07 2006] [error] [client 127.0.0.1] PHP Warning: > session_destroy() [<a > href='function.session-destroy'>function.session-destroy</a>]: Trying to > destroy uninitialized session in /var/www/refdb/refdblogout.php on line > 30, referer: http://localhost/refdb/refdbquery.html > [Fri Jun 30 00:39:57 2006] [error] [client 127.0.0.1] PHP Warning: > session_destroy() [<a > href='function.session-destroy'>function.session-destroy</a>]: Trying to > destroy uninitialized session in /var/www/refdb/refdblogout.php on line > 30, referer: http://localhost/refdb/refdbquery.html > [Fri Jun 30 00:40:34 2006] [error] [client 127.0.0.1] PHP Warning: > move_uploaded_file(pubmed.txt) [<a > href='function.move-uploaded-file'>function.move-uploaded-file</a>]: > failed to open stream: Permission denied in /var/www/refdb/refdbadd.php > on line 111, referer: http://localhost/refdb/refdbadd.html > [Fri Jun 30 00:40:34 2006] [error] [client 127.0.0.1] PHP Warning: > move_uploaded_file() [<a > href='function.move-uploaded-file'>function.move-uploaded-file</a>]: > Unable to move '/tmp/phpYAU50H' to 'pubmed.txt' in > /var/www/refdb/refdbadd.php on line 111, referer: > http://localhost/refdb/refdbadd.html > [Fri Jun 30 00:51:03 2006] [error] [client 127.0.0.1] PHP Warning: > move_uploaded_file(pubmed.txt) [<a > href='function.move-uploaded-file'>function.move-uploaded-file</a>]: > failed to open stream: Permission denied in /var/www/refdb/refdbadd.php > on line 111, referer: http://localhost/refdb/refdbadd.html > [Fri Jun 30 00:51:03 2006] [error] [client 127.0.0.1] PHP Warning: > move_uploaded_file() [<a > href='function.move-uploaded-file'>function.move-uploaded-file</a>]: > Unable to move '/tmp/phposFZ3V' to 'pubmed.txt' in > /var/www/refdb/refdbadd.php on line 111, referer: > http://localhost/refdb/refdbadd.html > > Any hint ? > > Cheers, > > Stéphane > -- Daniel Paul O'Donnell Associate Professor and Chair of English Director, Digital Medievalist Project <http://www.digitalmedievalist.org/> University of Lethbridge Lethbridge AB T1K 3M4 Canada Vox +1 403 329-2377 Fax +1 403 382-7191 :@caedmon/ubuntu |
|
From: Markus H. <mar...@mh...> - 2006-06-30 20:07:24
|
Daniel O'Donnell writes: > I had trouble but then got it working. What is your PHP version, Linux > Distro, and Apache version? I'm assuming you followed the brief readme > in the package? > Same here. I suspect there is a problem with permissions. Do PHP scripts in general work in your Apache installation? regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |
|
From: <ste...@jo...> - 2006-07-03 15:43:22
|
Daniel O'Donnell a =C3=A9crit : > I had trouble but then got it working. What is your PHP version, Linux > Distro, and Apache version? I'm assuming you followed the brief readme > in the package? >=20 Yes i did, but since i'm packaging it on the devel version of Mandriva=20 (aka cooker), i may have missed something. I'll check as soon as possible (and permissions too), when i'm back from=20 a congress next week). Cheers, St=C3=A9phane --=20 St=C3=A9phane T=C3=A9letch=C3=A9a, PhD. http://www.stele= tch.org Unit=C3=A9 Math=C3=A9matique Informatique et G=C3=A9nome http://migale.jo= uy.inra.fr/mig INRA, Domaine de Vilvert T=C3=A9l : (33) 134 652 891 78352 Jouy-en-Josas cedex, France Fax : (33) 134 652 901 |