Tags:
create new tag
view all tags

Question

Installed 4.0.2 on a shared host EMWD.COM, works great. After a few days I ran configure again, and configure wouldn't run. The browser shows the message:

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@twikiPLEASENOSPAM.wedgeblade.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

The server log has the infamous message:

Premature end of script headers: /home/wedgebla/public_html/twiki/bin/configure.cgi

Running configure.cgi from command line, I get this error:

Use of uninitialized value in concatenation (.) or string at (eval 6) line 7. TWiki::__ANON__('Use of uninitialized value in concatenation (.) or string at ...') called at ./configure.cgi line 50 TWiki::__ANON__('Use of uninitialized value in concatenation (.) or string at ...') called at (eval 6) line 7 CGI::_name_and_path_from_env('CGI=HASH(0x8ad1bdc)') called at (eval 5) line 7 CGI::path_info('CGI=HASH(0x8ad1bdc)') called at (eval 4) line 9 CGI::url('CGI=HASH(0x8ad1bdc)') called at ./configure.cgi line 184

Note that line 184, which is the line that fails, is: $url = $query->url();

When I comment out line 50, which is:

$SIG{'__WARN__'} = sub { die @_ };

configure runs OK with no apparent problems. Ouput to LocalSite.cfg is the same as before I had the problem. Commenting out the error exit just masks the problem. So my question is, what might I have done to my environment to make the line $url = $query->url(); fail?

(later) I noticed the same problem in InstallationProblemWithConfigure.

Environment

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Red Hat Linux, Kernel 2.4.21-37.EL
Web server: Apache version 1.3.34
Perl version: PERL version 5.8.0
Client OS: MS Windows 98SE
Web Browser: Mozilla 1.5.0.2
Categories: Installation, Fatal error

-- TimWegner - 25 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.

Closing this unanswered, as it is a duplicate of InstallationProblemWithConfigure

-- CrawfordCurrie - 25 Apr 2006

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2006-04-25 - CrawfordCurrie
 
  • 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.