Question
I'm getting a file not found error when using the Session addon. The culprit seems to be an invalid path in my Path_Translated variable: 'PATH_TRANSLATED=c:\\twiki\\main\\WebHome' I would have expected 'c:\\twiki\\data\\main\\WebHome'
The other vars seem just fine:
'PATH_INFO=/Main/WebHome', 'REQUEST_URI=/bin/logon/Main/WebHome'
I've attached my error.log with debug level tracing for the page request for the logon script.
Server is Windows/cygwin/apache. I've followed the
WindowsInstallCookbook carefully, and don't believe I've strayed from any of the recomendations. Twiki itself seems to run just fine, including add-ons like the WYSIWYG editor.
I'm seeing the same problem with the publish addon as well... ((2)No such file or directory: couldn't spawn child process:)
I'm not sure what other information might be helpful to diagnose this issue; let me know and I'll provide whatever I can.
I've not been able to get perl debugging working with Eclipse, or I might be able to track down the problem myself... any tips on getting perl cgi debugging working on Eclipse would be appreciated as well, but that's secondary to figuring out this path error. --
AllanNienhuis - 30 Aug 2005
Interestingly, the shipped testenv script runs successfully and doesn't show anything significant (I'll attach the results). However, when I download the latest version of the file and execute it, I get the same error I was getting in the Logon script: (2)No such file or directory: couldn't spawn child process:.
This looks related, but without any output from the new testenv script I've not much to go on.

I did use a perl editor to save the file, and did chmod it to 775 before executing...
--
AllanNienhuis - 31 Aug 2005
Environment
--
AllanNienhuis - 31 Aug 2005
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.
Sorry Allan, I set this to
ClosedUnanswered although you gave very detailed feedback. One month is passed and I am not familiar with Windows setup.
--
PeterThoeny - 01 Oct 2005
Are you sure you set the first
#! line of all scripts (new testenv and the Session plugin's
logon script) to point to the Perl version you are using (presumably Cygwin Perl)?
--
RichardDonkin - 04 Oct 2005