[Xitami] URGENT - Major server bug in cgi - never before seen

MRJ InfoTech Admin admin at mrjdesign.net
Fri Feb 3 14:18:05 CET 2006


Problem solved...
Apparently the error through a fit before the actual location in the code. 
As usual, the problem remains the same.
An issue with the device located between the screen parsing data going to 
the keyboard (^^)

(in other words, input error)

The problem was very simple, the output code depends on a text file containing
the formatting for the header and footer in the CGI result, and these two 
files
where missing due to a simple copy error.

I keep having to remind myself, that the error is not what is last 
returned, but what was NOT last returned.
Sorry to bug the board, but perhaps someone can learn from my mistake too.

MRJ

At 09:28 03/02/2006, you wrote:
>A little update after testing even more with all settings, including 
>running the value - 1 to disallow creation of short file names in the registry.
>
>I can create the file, write to it by using Print #iFileNumber, "0"
>
>but still not read the file or even see it in the CGI.
>
>Windows can see it alright, and I can list it and so on, but the CGI 
>doesn't appear to have the right permissions.
>
>I didn't think Xitami was permission dependant on windows for access to 
>some folders, when running Xitami as Admin
>
>At 08:30 03/02/2006, you wrote:
>
>>I have been using and testing Xitami with my VB cgi's for some 5 years now.
>>Never before have I seen such odd behaviour as the past two days.
>>
>>I built my cgi on a box running XP Pro sp1
>>
>>I intend to run them on the exact same configuration Xitami 2.5 with XP 
>>pro sp1
>>
>>In this cgi I have a call for the following
>>
>>
>>sFilePath = App.path & "\lst\_filename.hit"
>>
>>then open the file and increment a number and close it again... basic hit 
>>count
>>
>>When i run it on the dev station it executes fast and excellent like it 
>>should
>>
>>When I execute this on a setup on my server machine I get
>>
>>
>>Error msg (if any): X:\webroot\TheDomainName\cgi-bin\lst\filename.hit
>>The following internal error has occurred:
>>
>>
>>File not found Error Number =  53
>>
>>
>>Ohhhh boy
>>
>>Well to begin with, for some obscure reason, on the server machine it 
>>doesn't really come back this way.
>>
>>If I do a set call to the exact path, hard coded, that's what it look like
>>
>>When I do a call app.path in VB it comes back as
>>
>>X:\webroot\TheDom~1\cgi-bin\lst\filename.hit
>>
>>Why in heavens name it suddenly started doing short filenames and paths I 
>>cannot understand.
>>
>>Does anyone have a clue as to how to disable this goof ball function in 
>>my machine so my Xitami will run as a normal machine again?
>>
>>Thank you in advance.
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.imatix.org/pipermail/xitami/attachments/20060203/d2fb1fae/attachment.htm


More information about the Xitami mailing list