Tags:
create new tag
, view all tags

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. smile I did use a perl editor to save the file, and did chmod it to 775 before executing... -- AllanNienhuis - 31 Aug 2005

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: win xp
Web server: Apache 1.3
Perl version: 5.8.7
Client OS: win xp sp2
Web Browser: IE 6 latest
Categories: Installation, Add-Ons

-- AllanNienhuis - 31 Aug 2005

Answer

ALERT! 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

 
Topic attachments
I Attachment Action Size Date Who Comment
Texttxt .htaccess.txt manage 3.3 K 2005-08-31 - 15:20 AllanNienhuis .htaccess file from my /twiki/bin folder
Unknown file formatlog Aug302005error.log manage 4.4 K 2005-08-31 - 04:20 AllanNienhuis apache error.log with debug level tracing
Unknown file formatcfg TWiki.cfg manage 23.6 K 2005-08-31 - 04:28 AllanNienhuis  
Unknown file formatconf httpd.conf manage 35.1 K 2005-08-31 - 04:28 AllanNienhuis apache config file
Unknown file formatcfg setlib.cfg manage 2.1 K 2005-08-31 - 04:30 AllanNienhuis  
HTMLhtm shippedtestenv.htm manage 10.9 K 2005-08-31 - 16:13 AllanNienhuis output of testenv script shipped with Twiki.
Topic revision: r4 - 2005-10-04 - RichardDonkin
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.