Search found 107 matches

by hliljegren
Fri Jan 24, 2020 3:03 pm
Forum: CGIs and the Server
Topic: POLL: LiveCode Server deployment
Replies: 75
Views: 192328

Re: POLL: LiveCode Server deployment

B: I use it on a webserver at our university. At the moment there are mainly small utilities for getting account credentials, getting results, etc. But in the near future, I will probably use it to build more tools that integrate several of our other systems. I usually create a tool in the LiveCode ...
by hliljegren
Wed May 17, 2017 12:11 pm
Forum: Internet
Topic: CouchDB gives me no REST
Replies: 6
Views: 6359

Re: CouchDB gives me no REST

Thanks for your continuing effort. But to be clear: I can't create a new database as I for that get HTTP/1.1 401 Unauthorized, I can't delete a database. For that I also get HTTP/1.1 401 Unauthorized. Everything else works! I have no strange characters in the username / password (even tried with tes...
by hliljegren
Tue May 16, 2017 8:10 am
Forum: Internet
Topic: CouchDB gives me no REST
Replies: 6
Views: 6359

Re: CouchDB gives me no REST

This also work: PUT empty into url "http://127.0.0.1:5984/plankton" Thanks for all input but the problem is that all of your code above works for me too as long as I have not closed down the database with username and password. When I close it down, the put empty … above will give me an error, even...
by hliljegren
Wed May 10, 2017 3:51 pm
Forum: Internet
Topic: CouchDB gives me no REST
Replies: 6
Views: 6359

CouchDB gives me no REST

Hi! Trying to do some basic operations with CouchDB via it's REST interface. Running curl from the command line works perfectly but trying from LiveCode is currently only partially working. I guess it's me but if someone could share some light I would be really grateful! Example 1 I would like to cr...
by hliljegren
Wed Sep 14, 2016 9:25 pm
Forum: Databases
Topic: revCommitDatabse but no start transaction
Replies: 7
Views: 6700

Re: revCommitDatabse but no start transaction

No, bad way! Your way have very bad side effects in a multi user enviroment. You load the database of commands, and it waits a commit... The Transaction idea is to compact command in a unique command, this way you risk too much uncompleted tasks, overloading or database and so on... Try to limit as...
by hliljegren
Wed Sep 14, 2016 2:44 pm
Forum: Databases
Topic: revCommitDatabse but no start transaction
Replies: 7
Views: 6700

Re: revCommitDatabse but no start transaction

Not all databases support the revCommitDatabase command. The command is currently supported by Oracle, PostgreSQL and SQLite databases only. Calling the revCommitDatabase command on any other type of database connection will have no affect. I know that but it still doesn't tell me what it does when...
by hliljegren
Wed Sep 14, 2016 2:37 pm
Forum: Databases
Topic: revCommitDatabse but no start transaction
Replies: 7
Views: 6700

Re: revCommitDatabse but no start transaction

Well that's how I usually do it also, but as there is a revCommitDatabase I thought that someone could explain what it actually does... Hmm, there is a difference between your solution and my ordinary solution. And that is that I call revExecuteSQL for each item otherwise I can't secure the input. S...
by hliljegren
Thu Sep 08, 2016 3:47 pm
Forum: Databases
Topic: revCommitDatabse but no start transaction
Replies: 7
Views: 6700

revCommitDatabse but no start transaction

Can someone explain how revCommitDatabase works? As far as I can see there is no way to start the transaction. And according to another post here revCommitDatabase saves all changes since the last revCommitDatabase. But if that is true, should I then call revCommitDatabase do all my inserts, updates...
by hliljegren
Thu Sep 24, 2015 4:09 pm
Forum: HTML5
Topic: get url(any/success?someone)
Replies: 8
Views: 8877

Re: get url(any/success?someone)

Looking at the JavaScript console I see that every time when the request fails I see that I get :
Failed to load resource: The request timed out.
I have similar experience across supported browsers.
by hliljegren
Thu Sep 24, 2015 4:05 pm
Forum: HTML5
Topic: get url(any/success?someone)
Replies: 8
Views: 8877

Re: get url(any/success?someone)

Thanks! I'm sure that I tried that first but tried again now and it somewhat works. I have a card with two fields: URL, Result and a button with the following code: on mouseUp put field "URL" into tURL put url tURL into tData if the result is empty then put tData into field "Result" else put the res...
by hliljegren
Thu Sep 24, 2015 9:00 am
Forum: HTML5
Topic: get url(any/success?someone)
Replies: 8
Views: 8877

get url(any/success?someone)

Have anyone succeeded to use get URL?

If I put my LiveCode project files on a server at
http://www.example.com/test/

and then try to get a file via:

Code: Select all

get url "http://www.example.com/test/text.txt"
I get an assertion failure. Anyone having tried the get url command with a successful result?
by hliljegren
Mon Sep 21, 2015 10:37 am
Forum: HTML5
Topic: Thought for improving the speed of the HTML 5: Will it work?
Replies: 32
Views: 31692

Re: Thought for improving the speed of the HTML 5: Will it w

This might be a nice add to the HTML deployment. But if the engine allows for modularisation I guess that is in plan for future releases. Another way to improve the download speed is to have a fast CDN from where the files are downloaded. If everyone downloaded the engine .js and .mem files from the...
by hliljegren
Wed Jun 10, 2015 8:55 pm
Forum: LiveCode Builder
Topic: Extensions Store
Replies: 4
Views: 5100

Re: Extensions Store

Sorry for hijacking an old thread, but I have the same issues, and have had for some time. The extension store never opens in LC8.0dp2. (It has been "Loading..." for well over 20 min now. If I try to register for a developer id nothing happens...

Is this just me or?
by hliljegren
Wed May 27, 2015 8:14 am
Forum: Talking LiveCode
Topic: Filter inconsistencies (bug?)
Replies: 2
Views: 2717

Re: Filter inconsistencies (bug?)

Thanks for the suggestion but the problem is rather the opposite. If I enable case sensitivity I works as supposed but the problem is when case sensitivity if off (false) the lower case ´ö´doesn't match the upper case ´Ö´ and it looks like it is the same for every letter with combine diacritical mar...
by hliljegren
Fri May 22, 2015 7:49 am
Forum: Talking LiveCode
Topic: Notification system
Replies: 4
Views: 3603

Re: Notification system

I think you can use the focusedObject

Before you open the notification stack you can save the current focusedObject

put the focusedObject into tObjectToReturnTo

and then open the notification stack and finally set the focus back via:

focus tObjectToReturnTo

:-Håkan

Go to advanced search