Question
I can't get the edit function of the DatabasePlugin to work. I have %DATABASE_EDIT{description="test" display_text="Edit the above table"}% inserted in my topic.
When I visit the topic with the link I see the following in the apache log:
[Wed Apr 12 01:59:55 2006] [error] [client 203.94.29.18] [Wed Apr 12 01:59:55 20 06] view: Use of uninitialized value in concatenation (.) or string at /home/httpd/twiki/lib/TWiki/Plugins/DatabasePlugin.pm line 530., referer:
https://myserver.net/twiki/bin/view/Sandbox/WebHome
When I click the link, it attempts to open the following URI:
https://myserver.net/DatabasePluginEdit?database=test&table=pet
I would expect there to be twiki/bin before DatabasePluginEdit, but there isn't.
I also see the following in the apache log:
[Wed Apr 12 02:25:08 2006] [error] [client 203.94.29.18] File does not exist: /var/www/html/DatabasePluginEdit, referer:
https://myserver.net/twiki/bin/view/Sandbox/TestDatabase
I am using phpmyadmin 2.6.0.
The viewing functions of the plugin appear to be working with no problems.
Environment
--
ChrisPurves - 12 Apr 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
i'd recommend you email the plugin author (
TaitCyrus) and/or direct him here
--
WillNorris - 18 Apr 2006
Chris, did you ever resolve this problem as I'm experiencing
exactly the same symptoms.
--
ChrisGreen - 12 Jan 2007
as am I
--
ScottWBlack - 18 Feb 2007
Did anyone ever resolve this problem?
--
SamsonKim - 17 Jul 2007
I have a solution for this. I put a script on my website that I put together. It uses the configuration that you put together for the
DatabasePlugin and allows you to edit all the data in the table.
http://bigjoe1008.googlepages.com/twikidbplugin
I need to contact the original author to see if he will add this to the distribution. I also have a bunch of changes to the
DatabasePlugin that I want to see made. This script does not use
PHPMyAdmin like it says in the documentation. It is completely Perl and uses the Twiki Libraries.
--
JoeHarnish - 17 May 2008