Tags:
create new tag
view all tags

Question

Installed the FormQueryPlugin but when I try to hit the autocreate script, either from cgi I get this:

Can't locate object method "new" via package "FormQueryPlugin::WebDB" (perhaps you forgot to load "FormQueryPlugin::WebDB"?) at /usr/local/apache/sites/wiki/twiki/bin/autocreate line 19. [Wed Jan 5 22:17:48 2005] [error] [client 66.108.84.231] Premature end of script headers: /usr/local/apache/sites/wiki/twiki/bin/autocreate

Same thing happens from command-line. The Twiki and all the other plugin's seem to work. I've tried adding use FormQueryPlugin::WebDB to the script, messing with the @INC path, etc. but I'm not PERL guru and I can't figure it out.

-- Thanks

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat ES3
Web server: Apache 1.3
Perl version: 5.8
Client OS: MacOS X
Web Browser: Safari
Categories: Installation, Fatal error, Deployment, Plugins, Add-Ons

-- BruceFancher - 06 Jan 2005

Answer

What version of the FQP are you using?

-- CrawfordCurrie - 17 Jan 2005

Hello, I have the same problem. Once I use FQP V 1.3 everything fails. I can still use 1.2.

Which could be the problem?

-- GustavoAdolfoLopez - 10 Feb 2005

Change line 20 of the autocreate script to this:

my $db = new TWiki::Plugins::FormQueryPlugin::WebDB( $webName );

I'll fix that in the next release.

-- CrawfordCurrie - 16 Feb 2005

I'm using FQP v1.201 (the one on FormQueryPlugin right now) and I had the same problem. Though I fixed it doing the opposite. That is, I changed line 20 to:

my $db = new FormQueryPlugin::WebDB( $webName );

-- PabloHoffman - 22 Apr 2005

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2005-04-22 - PabloHoffman
 
  • 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.