Save Stack Problem
Kenji Kojima
index at kenjikojima.com
Tue Aug 3 15:41:45 EDT 2004
Brian,
Thanks, your advices.
It does not work on Mac OSX, but works on Windows.
I made a new stack and put it into the CGI-Executables folder. And
tried CGI script, but did not work.
How can I make grant write access to the CGI-Executables folder? I
wanted to make a address book which was written from Web browser.
I installed same CGI script and a stack onto Windows XP and Apache 2
server.
I changed only one line that was:
#! C:/Apache Group/apache2/bin/revolution.exe
And did not set permissions of the stack.
It worked.
I want to use Mac OSX, because Windows server is not mine.
Can anybody explain why I cannot save a stack on Mac OSX?
Thanks,
--
Kenji Kojima
http://www.kenjikojima.com/
On Aug 3, 2004, at 12:52 PM, Brian Yennie wrote:
> Kenji,
>
> My guess is that you don't have write permission to that directory.
> You'll need to save the stack to another directory, or grant write
> access to the CGI-Executables folder, (the latter being a bit of a
> security no-no).
>
> Hope that helps,
> Brian
>
>> Hi,
>>
>> I am trying to create a card and save stack using CGI script on Mac
>> OSX.
>> But I cannot save a stack.
>>
>> I made a stack "createCd" which had a card and a field,
>> and set permissions to 777.
>> CGI script was.
>>
>> #! /Library/webServer/CGI-Executables/revolution
>>
>> on startup
>> open stack "createCd"
>> put the num of cds of this stack &"<br>" after buffer
>> put the time into fld 1
>> put fld 1 of cd 1 &"<br>" after buffer
>> create cd
>> put the num of cds of this stack &"<br>" after buffer
>> save stack "createCd"
>> put the result after buffer
>> close stack "createCd"
>> put "Content-Type: text/html" & cr
>> put "Content-Length:" && the length of buffer & cr & cr
>> put buffer
>> end startup
>>
>>
>> Browser showed
>> ------------------------------
>> 1
>> 12:20 PM
>> 2
>> can't open stack backup file
>> ------------------------------
>> CGI script was working and made a card, but could not save a stack.
>> What is "can't open stack backup file"?
>>
>> What was wrong?
>> Thanks,
>>
>> --
>> Kenji Kojima
>> http://www.kenjikojima.com/
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
More information about the use-livecode
mailing list