Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, DatabasePlugin
Server OS: Redhat EL 4, kernel 2.6.9
Web server: Apache 2.0.52-22
Perl version: 5.8.5
Client OS: Windows XP
Web Browser: Firefox 1.0.7, MSIE 6
Categories: Plugins

-- ChrisPurves - 12 Apr 2006

Answer

ALERT! 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

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2008-05-17 - JoeHarnish
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.