Search found 189 matches

by KimD
Fri Nov 22, 2019 2:44 am
Forum: CGIs and the Server
Topic: put header "Status:400" fails
Replies: 4
Views: 394

Re: put header "Status:400" fails - CLOSED

Hostm got back to me (very quickly) with the following - "We can confirm that the issue with status code 400 is not LiveCode-specific, as we’ve tested it with other server-side languages with the same result on our servers. It appears to be have something to do with LiteSpeed, the web server that we...
by KimD
Thu Nov 21, 2019 8:22 pm
Forum: CGIs and the Server
Topic: put header "Status:400" fails
Replies: 4
Views: 394

Re: put header "Status:400" fails

Thanks for checking that. I'll try asking hostm.

Regards

Kim
by KimD
Wed Nov 20, 2019 12:39 am
Forum: CGIs and the Server
Topic: put header "Status:400" fails
Replies: 4
Views: 394

put header "Status:400" fails

I'm teaching myself to build a REST API using LC Server. I've got my prototype API running on hostm (which was very easy to get going). I'm testing using Postman. I've encountered a weird little problem. The below works fine - <?lc put header "Status:428" put "It all went South" ?> Postman receives ...
by KimD
Tue Nov 05, 2019 9:39 pm
Forum: iOS Deployment
Topic: Missing Info.plist key - NSLocationAlwaysUsageDescription
Replies: 7
Views: 2720

Re: Missing Info.plist key - NSLocationAlwaysUsageDescription

Same issue here.

I can easily add a NSLocationAlwaysUsageDescription to my info.plist, but it doesn't make any sense (to me) that I should need to because my app doesn't require any location data.

Seems odd, but mine is not to reason why...
by KimD
Thu Oct 10, 2019 4:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How do I use the pPostData parameter in tsNetPost?
Replies: 4
Views: 635

Re: How do I use the pPostData parameter in tsNetPost?

Back from Nepal and at my desk. Oh joy ;-) But I think that I have sorted out my problem. I hadn't understood the difference between POST and GET/PUT methods. Simple version: - GET & PUT : pass data in the query string, populate the Query_String element of livecode servers $_Server array variable, a...
by KimD
Wed Aug 21, 2019 3:58 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How do I use the pPostData parameter in tsNetPost?
Replies: 4
Views: 635

Re: How do I use the pPostData parameter in tsNetPost?

Thanks Jacque I have it working with: - Put URL; and - Load URL; and - tsNetPost, if I include the query string in the pURL (and not in the pPostData). I want to use the tsNet library because it offers a bunch of other features that will be useful to me later. I'm mostly just curious as to how it's ...
by KimD
Tue Aug 20, 2019 2:08 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How do I use the pPostData parameter in tsNetPost?
Replies: 4
Views: 635

How do I use the pPostData parameter in tsNetPost?

I'm trying to teach myself how to get LC Desktop to transmit data to LC Server 1) On LC Server I have this script - <?lc put empty into tData repeat for each key tKey in $_SERVER put tKey & " : " & $_SERVER[tkey] & return after tData end repeat put "===================" & return after tData put "xco...
by KimD
Mon Aug 05, 2019 4:19 am
Forum: CGIs and the Server
Topic: Examples / lessons of a receive-parse-store web service
Replies: 0
Views: 968

Examples / lessons of a receive-parse-store web service

I'd like to teach myself LC server. The starter project that I have in mind is to use LC server to (1) provide a web service that receives JSON, and (2) parses this, and (3) stores the resulting data in an SQL database. I have previously developed LC mobile apps that POST JSON to existing web servic...
by KimD
Thu Jun 27, 2019 12:58 am
Forum: Android Deployment
Topic: Datagrid scroller interfering with other cards
Replies: 2
Views: 898

Re: Datagrid scroller interfering with other cards

I think that I've sorted out what I was doing wrong. I thought that I would be smart and put my mobileControlDelete command immediately before my mobileControlCreate command (and NOT in CloseCard which is what I've seen recommended). That way I could be sure that I was always starting anew. No stray...
by KimD
Wed Jun 19, 2019 10:28 am
Forum: iOS Deployment
Topic: "Your app must provide a minimum OS version..."
Replies: 2
Views: 674

Re: "Your app must provide a minimum OS version..."

Thanks for the suggestion.

I created the Provisioning Profile on the Apple Developer website, then downloaded it into XCode.

Tomorrow I'll try the alterative and create it directly in XCode.

Regards

Kim
by KimD
Wed Jun 19, 2019 3:16 am
Forum: iOS Deployment
Topic: "Your app must provide a minimum OS version..."
Replies: 2
Views: 674

"Your app must provide a minimum OS version..."

Currently trying to deploy my app to the App Store Connect. Using this LC lesson - http://lessons.livecode.com/m/4069/l/33064-how-do-i-submit-an-ios-app-to-the-app-store In Application Loader - I got the green tick and an "Uploaded package to the App Store" message. Champagne was flowing freely. The...
by KimD
Tue Jun 18, 2019 5:42 am
Forum: iOS Deployment
Topic: Application Loader - "No suitable application records were found"
Replies: 1
Views: 783

Re: Application Loader - "No suitable application records were found"

Solved it A week earlier I'd customized the apps Plist (to allow it to open particular document types). I must have subsequently decided I wanted to use a different app ID / bundle ID. So: - the app store, and LC standalone settings, and distribution profile; had the more recent app ID / bundle ID -...
by KimD
Thu Jun 13, 2019 2:32 am
Forum: iOS Deployment
Topic: Application Loader - "No suitable application records were found"
Replies: 1
Views: 783

Application Loader - "No suitable application records were found"

Post Subtitle - "Why does Apple hate me?" I'm trying to load my app to App Store Connect following these two lessons: - http://lessons.livecode.com/m/4069/l/33065-how-do-i-set-up-an-app-for-submission-to-itunes-connect - http://lessons.livecode.com/m/4069/l/33064-how-do-i-submit-an-ios-app-to-the-ap...
by KimD
Wed Jun 12, 2019 12:55 am
Forum: iOS Deployment
Topic: Unable to start simulation & Unable to start simulator
Replies: 2
Views: 719

Re: Unable to start simulation & Unable to start simulator

Solved it by following the steps outlined by Panos here - https://forums.livecode.com/viewtopic.php?t=30859 Specifically : 1. Close iPhone 5 simulator 2. Use XCode to manually open iPhone 6 (or later) simulator 3. Wait until the new simulator FULLY loads and shows the home screen. 4. Quit and restar...
by KimD
Tue Jun 11, 2019 7:30 am
Forum: iOS Deployment
Topic: Unable to start simulation & Unable to start simulator
Replies: 2
Views: 719

Unable to start simulation & Unable to start simulator

I'm hoping for some advice on how to get the iOS simulator to work. LC 9.0.4 MacOS 10.11.6 XCode 8.2 LC > Preferences > Mobile support iOS SDK's has a green box and says that my available simulators are 10.2. My apps standalone settings are to build for "iPod, iPhone & iPad", and "9.0 or later", and...

Go to advanced search