Search found 316 matches

by ghettocottage
Wed Dec 06, 2017 3:10 am
Forum: Databases
Topic: Can any experienced HTTPS/MySQL user help build webservice.
Replies: 31
Views: 5015

Re: Can any experienced HTTPS/MySQL user help build webservice.

Where is your server hosted at? Do you have root? Can you run Livecode Server on it?

Can you elaborate a little more on this sentence:
The provider already pointed to a client/server solution that works well ..although harder to adapt I believe.
by ghettocottage
Sun Nov 26, 2017 10:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Send XML Doc to web service
Replies: 2
Views: 406

Re: Send XML Doc to web service

Can you tell us more about the webserver that you will be sending to? Will you have control over it? What will be running on the webserver? (apache, php, LC Server, mySQL?). I have LC Server (community) running on one of my servers and built an app that sends data via post. The server then looks at ...
by ghettocottage
Thu Nov 23, 2017 8:05 pm
Forum: Databases
Topic: Sanity Check
Replies: 10
Views: 1935

Re: Sanity Check

I have a little application that runs on my server where I write some times/dates onto a text-file, then check it later and update the text. In my mind it was going to be a complicated thing, but once I delved into it, I found it was as simple as: #get the most recent status from the time file put l...
by ghettocottage
Wed Nov 08, 2017 4:29 pm
Forum: Databases
Topic: Queries Stopped Working
Replies: 21
Views: 3468

Re: Queries Stopped Working

...also, in case you were not aware...you can have multiple versions of LC installed at the same time and run wichever you need at the moment. I have both 7 and 9 at the moment.
by ghettocottage
Wed Nov 08, 2017 4:05 pm
Forum: Databases
Topic: Queries Stopped Working
Replies: 21
Views: 3468

Re: Queries Stopped Working

Just make a copy and work from that rather than altering your current work.

I generally make a copy each day I am working on a project so I have something to backtrack to when I completely bungle things.
by ghettocottage
Wed Nov 08, 2017 3:24 pm
Forum: Databases
Topic: Queries Stopped Working
Replies: 21
Views: 3468

Re: Queries Stopped Working

I am vaguely recollecting having some query issue with LC 7, but it was LC Server. Still, it was a random issue that would happen sometimes on some specific query that caused me no end of hair-pulling. Moving to 8 solved the problem. Have you tried LC 9, if for no other reason than to rule out LC 7 ...
by ghettocottage
Sun Nov 05, 2017 7:38 am
Forum: Databases
Topic: Queries Stopped Working
Replies: 21
Views: 3468

Re: Queries Stopped Working

You may have already went through some of these, but just to brain-storm: Permissions: does the db user you are using have permissions to connect from your remote location? I know you said you were working in MySQL Workbench, but Workbench can use SSH connections. IF you are using SSH to connect to ...
by ghettocottage
Mon Aug 28, 2017 2:45 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: CLI Standalone App does not quit (Windows)
Replies: 9
Views: 1613

Re: CLI Standalone App does not quit (Windows)

can you just write a little batch script that you launch separately and include that script in your standalone? That would allow your standalone to proceed with whatever while the batch script runs/quits on its own.
by ghettocottage
Fri Aug 11, 2017 9:12 pm
Forum: Databases
Topic: copying between databases
Replies: 10
Views: 2467

Re: copying between databases

are you copying contents of a database, or just the structure when you are setting up a new user?
by ghettocottage
Fri Aug 11, 2017 6:25 pm
Forum: Databases
Topic: copying between databases
Replies: 10
Views: 2467

Re: copying between databases

Are these going to be routines that you run on a regular basis (or semi-regular), or random things that change frequently? If you have livecode server running on your db server, it is possible to have a short bash script that you can launch with Livecode that could ssh into your other server and do ...
by ghettocottage
Thu Jul 06, 2017 10:20 pm
Forum: CGIs and the Server
Topic: I need a basic example of using a "Streaming App"
Replies: 14
Views: 3583

Re: I need a basic example of using a "Streaming App"

That works! I was very close with the script I was trying, but I had to set permissions on the parent folder of where my external files are so the apache-user could have access (where webroot is /var/www/webroot and stacks are at /var/www/stacks) fixed with chown -R www-data:www-data /var/www &&chmo...
by ghettocottage
Thu Jul 06, 2017 8:35 pm
Forum: CGIs and the Server
Topic: I need a basic example of using a "Streaming App"
Replies: 14
Views: 3583

Re: I need a basic example of using a "Streaming App"

FourthWorld wrote:Your CGI script can just read the file. Use binary mode, then just send it back to the requesting client using "put" like you would any other data.
Sorry, I have been experimenting but cannot seem to make this work. Can you give me an example of what the CGI script might look like?
by ghettocottage
Thu Jul 06, 2017 4:07 am
Forum: CGIs and the Server
Topic: I need a basic example of using a "Streaming App"
Replies: 14
Views: 3583

Re: I need a basic example of using a "Streaming App"

Do you have LiveCode Server or other flexible scripting language set up as a CGI on your server?
Indeed I do
by ghettocottage
Wed Jul 05, 2017 9:07 pm
Forum: CGIs and the Server
Topic: I need a basic example of using a "Streaming App"
Replies: 14
Views: 3583

Re: I need a basic example of using a "Streaming App"

I'd you'd like I can turn up my version is mchttpd, socket server that handles HTTP. It's not great for production except maybe in very specialized setups, but it's a great way to learn how HTTP works so your can later use Apache, Lightly, Nginx, or anything else with confidence. Yes, that would be...
by ghettocottage
Mon Jul 03, 2017 11:24 pm
Forum: CGIs and the Server
Topic: I need a basic example of using a "Streaming App"
Replies: 14
Views: 3583

Re: I need a basic example of using a "Streaming App"

@FourthWorld VPN is a good option. In most of the projects I've used this on I also need authentication and other backend services, so I keep the stack files outside of the web root folder and serve them as binary files from an LC Server CGI. Richard, I know this is an old thread, but I was wonderin...

Go to advanced search