Question
I'm installling TWiki on a box at work. I admit that this is a kind of odd TWiki, as it was "packagized" here... we have a company software packaging system...
After installation I couldn't start Apache. I was getting CGI.pm conflicts with mod_perl, of the form
Can't call method "register_cleanup" on an undefined value
I Googled the error; it's pretty common. I even managed to follow the
suggestions for a fix
, and that got Apache running.
But then I got stuck at the next, similar error. I wasn't interested in re-writing CGI.pm. Eventually, I just turned off mod_perl. SO the problems are gone but I don't understand them. I've never hit this with any of the straight-up, vanilla, "outside" TWiki installations I've done.
I am assuming this is all caused by a mismatch between one or more of TWiki, Apache, mod_perl, perl, and CGI.pm. And, I hate to admit it, but thanks to our company packkaging system, I'm not in a position to pull any of those straight of the Net. :-(
Is anyone familiar with this problem? I'd feel better if
someone ellse had seen it.
Environment
--
VickiBrown - 21 Nov 2007
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.
You could try
SpeedyCGI,
FastCGI (see
TWikiStandAlone) or similar perhaps. Maybe posting a question over on
ModPerl or asking on
TWikiIRC would help as well, as this is quite specialised.
--
RichardDonkin - 22 Nov 2007
I'm afraid asking in a
ModPerl forum wouldn't be helpful. The mod_perl folks have documented the problem as well as a solution (unfortunately, not a
working solution). And I don't really care if this TWiki is run under mod_perl or
FastCGI or plain old CGI.
What I care about is finding someone else who has seen this problem specifically with TWiki. It's a fairly common
problem,
per se. I can't believe it's not been seen before in a TWiki 4 installation.
One of our inside folks suggests I revert to Perl 6.6... that doesn't seem right. There have to be people using mod_perl with TWiki 4 and Perl 5,.8.5.
--
VickiBrown - 27 Nov 2007
Closing this support question after more than 30 days of inactivity. Please feel free to re-open if needed.
--
PeterThoeny - 01 Jan 2008