strage things happening with Rev cgi 2.5
JimAultWins at yahoo.com
Sun Mar 4 23:31:50 CST 2007
I agree with Andre.
But why not try deleting the lines instead of commenting... see if that
makes a difference.
I have gotten into the habit of commenting out handlers the following way:
-- put the short name of me
since the "--on" still fools the script interpreter most of the time. One
indicator of being fooled is that clicking on the listed handler names on
the left of the script editor window will jump the cursor, but not highlight
the handler name, except for the ones a the top of the script editor.
Little things that need a bit of experimentation.
On 3/4/07 4:37 PM, "Andre Garzia" <soapdog at mac.com> wrote:
> in my cookbook, weird bugs need weird solutions, try using another
> commenting scheme... if you're using -- try using ## or /* */
> let us see was happen, skipping couple newlines also helps with the
> On Mar 4, 2007, at 7:55 PM, jbv wrote:
>> I think I have already posted on this topic a few weeks ago,
>> but didn't get any reply.
>> I have a Rev cgi script that runs fine on a Linux RH server.
>> the script is about 400 lines long.
>> In that script, I have a couple of lines that creates a path file in
>> a directory on the server, opens the file, writes the content
>> of a couple of variables in it and then closes the file.
>> something very simple that I'm using for debugging.
>> When my script is OK, I comment those few lines (with --
>> at the beginning of each line) because I don't need them anymore.
>> And right after that I get a systematic error 500 when running the
>> script. If I uncomment the same lines, the script runs fine again.
>> If I delete those lines, error 500 again...
>> I'm puzzled because I have plenty of other comments in the same
>> script, that have no effect on it...
>> This problem seems to happen now and then on some scripts only...
>> Any idea ?
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
More information about the use-livecode