Search found 316 matches

by adventuresofgreg
Thu May 28, 2020 9:26 pm
Forum: Talking LiveCode
Topic: driving me crazy!
Replies: 3
Views: 338

Re: driving me crazy!

Perfect. Decorations was it. Thanks.
by adventuresofgreg
Thu May 28, 2020 2:54 pm
Forum: Talking LiveCode
Topic: driving me crazy!
Replies: 3
Views: 338

driving me crazy!

Hi: This is driving me nuts. For some reason, the title bar disappeared on my stack (the horizontal bar at the top of a stack window which includes the resize bottom right corner button). I can't find a function or handler that controls this. Any idea what it is?

Cheers,
Greg
by adventuresofgreg
Wed Oct 24, 2018 11:35 pm
Forum: Internet
Topic: dont understand Curl
Replies: 7
Views: 2980

Re: dont understand Curl

oh my god Klaus! Thats it. I was so shocked to see my it that didn't just say error, that it actually scared me a bit! Thanks!

Next question: I need to run this from lc server on Linux. My standard shell command should work right?
by adventuresofgreg
Wed Oct 24, 2018 12:43 pm
Forum: Internet
Topic: dont understand Curl
Replies: 7
Views: 2980

Re: dont understand Curl

field "stripeCurl" =

$ curl https://api.stripe.com/v1/charges \
-u sk_test_abc123: \
-d amount=999 \
-d currency=usd \
-d description="Example charge" \
-d source=tok_visa

My code:
get shell(field "stripeCurl")
put it

I get error:
/bin/sh: line 1: command not found
by adventuresofgreg
Tue Oct 23, 2018 10:39 pm
Forum: Internet
Topic: dont understand Curl
Replies: 7
Views: 2980

Re: dont understand Curl

tried that post and it doesn't work. How would I send this as a shell command?
by adventuresofgreg
Tue Oct 23, 2018 10:34 pm
Forum: Internet
Topic: dont understand Curl
Replies: 7
Views: 2980

Re: dont understand Curl

Thank you. I tried something like your POST command, but didn't have a "?" in there. I'll give that a shot. But reading around - doesn't a Curl command require some kind of header?
by adventuresofgreg
Mon Oct 22, 2018 10:32 pm
Forum: CGIs and the Server
Topic: running Livecode server on Linux NGNIX
Replies: 2
Views: 2745

running Livecode server on Linux NGNIX

Trying to get LC server running on NGNIX and having problems executing the <?!c code in my html - any special server settings required?

thanks,
Greg
by adventuresofgreg
Mon Oct 22, 2018 8:51 pm
Forum: Internet
Topic: dont understand Curl
Replies: 7
Views: 2980

dont understand Curl

Hey there. I'm trying to authenticate a Stripe transaction with LC script, and Yp totally don't understand Curl. According to the Stripe api guide, this is what I need to post to the stripe api URL: curl https://api.stripe.com/v1/charges \ -u sk_test_123456ABCDEFG: \ -d amount=999 \ -d currency=usd ...
by adventuresofgreg
Mon Sep 24, 2018 7:18 pm
Forum: Talking LiveCode
Topic: writing a file while another process is reading it
Replies: 10
Views: 1763

Re: writing a file while another process is reading it

thanks Richard - no this one will run on a windows server. But great advice - thank you.
by adventuresofgreg
Mon Sep 24, 2018 6:06 pm
Forum: Talking LiveCode
Topic: writing a file while another process is reading it
Replies: 10
Views: 1763

Re: writing a file while another process is reading it

the flag is the answer. I think the only reason a file name change might work 'better' is that less time is taken changing a file name than writing the entire file, therefore, there is a smaller chance that the reading app will read at exactly the time the file name is being changed.
by adventuresofgreg
Mon Sep 24, 2018 3:58 pm
Forum: Talking LiveCode
Topic: writing a file while another process is reading it
Replies: 10
Views: 1763

Re: writing a file while another process is reading it

Seems like writing a .temp file first, then changing it's name to overwrite the old file works.
by adventuresofgreg
Mon Sep 24, 2018 11:40 am
Forum: Talking LiveCode
Topic: writing a file while another process is reading it
Replies: 10
Views: 1763

writing a file while another process is reading it

Hi there: If I am running 2 separate LC apps, with App A over-writing a file at the exact same time as App B is reading from it, is it possible that App B could read a PARTIAL file due to it being written to disk at the same time as the read? And if so, is there a way to ensure that App B always rea...
by adventuresofgreg
Thu Mar 15, 2018 5:13 pm
Forum: Talking LiveCode
Topic: Linux SSL errors
Replies: 13
Views: 2113

Re: Linux SSL errors

Hi: 9.0.0 stanalones (Linux, OSX or windows) don't work because the revdb.so or dbmysql.so is bad 8.1.0 standalones (Linux, OSX or windows) db's DO work and https also works I think there is an upgrade from 9.0.0 (DP6) that I should download to test, as I'm sure the SA externals issue has been resol...
by adventuresofgreg
Thu Mar 15, 2018 12:49 pm
Forum: Talking LiveCode
Topic: Linux SSL errors
Replies: 13
Views: 2113

Re: Linux SSL errors

Thank you. I bet the early version is the reason I'm having trouble. I'll try 6 and see.

Reason I'm still on 5.5 is due to speed. It's way faster than anything subsequent - but 6 may still be fast enough.

Greg
by adventuresofgreg
Wed Mar 14, 2018 2:26 pm
Forum: Talking LiveCode
Topic: Linux SSL errors
Replies: 13
Views: 2113

Linux SSL errors

Hi: I have a standalone that uses the SSL library (revsecurity.so file) I'm trying to put "https://something.." into a field. The native LC on my Mac works, the Mac standalone works, but I get this error when running the Linux standalone: a bunch of stuff, then "... unable to get local issuer certif...

Go to advanced search