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
--
TimWegner - 25 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.
Closing this unanswered, as it is a duplicate of
InstallationProblemWithConfigure
--
CrawfordCurrie - 25 Apr 2006