Question
I'm in need of some assistance with getting TWiki running on Windows 2003. Please see below for my platform details. I have spent 2 days on this now, but refuse to give in
I've followed various cookbooks and instructions to the point where I can run the configure.pl script and it works with no errors. When I try to access view.pl I get an error "The specified CGI application misbehaved by not returning a complete set of HTTP headers." If I run the view.pl from within a cmd shell, it works fine and outputs as expected. I'm fairly certain that the view.pl lines requiring setlib and other files (last two line in view.pl) are the cause of the web server error. As I have limited perl abilities, can anyone suggest some code that will help me flush out the path it's looking in? Maybe some perl code to dump the current directory? I'm pretty sure this has to be a pathing error.
thanks
Environment
--
AndrewRobinson - 19 Apr 2006
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
update - I copied the setlib.cfg to my c:\perl\lib folder and I can now access the view.pl via my browser... now just need to sort out which setting is not setup properly.
--
AndrewRobinson - 19 Apr 2006
update2 - after copying setlib.cfg to the perl\lib folder and changing the shebangs in the bin\* files, the view and edit functions are working. I'm having problems with register.pl though. It seems to be failing on a required file... probably a path problem but I'm unsure how to get it to throw a decent error message out. Found some code to do with invoking perl Carp module and it says something about error in required file at register.pm line 1186... hmmm. The register process works as far as sending the email and creating the WikiName.XXXXX file for approval. I wish I knew how to pass parameters to the register.pl from the command line so I could at least check the functionality under a standard user account. anyone? anyone? bueller?
--
AndrewRobinson - 20 Apr 2006
All TWiki CGI scripts accept parameters from the command line as name=value pairs. For example, to pass a web, topic, and revision number to the view script, use "perl view web=Sandbox topic=TestTopic1 rev=1"
--
CrawfordCurrie - 20 Apr 2006