RE: server difficulties coming from LC7, or new host?

2016-03-20 Thread Ralph DiMola
David Simpson said >I have found LiveCode to be very responsive.

I agree. The LC support was magnificent during the move and I received
responses to my requests in minutes. Be sure to use the emergency support
option when reporting problems that are blockers.

Between Heather's coordination of the move and David's quick response to
emergency support requests. I give the On-Rev team a +100 on this move.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: server difficulties coming from LC7, or new host?

2016-03-19 Thread David Simpson
Phil,
Did you open a support ticket? I have found LiveCode to be very responsive.

It would potentially be helpful for them to see a simple recipe stack which 
duplicates the problem. Maybe there is some global config parameter which needs 
changed - and they could test and resolve it very quickly.

David Simpson
www.fmpromigrator.com



> On Mar 16, 2016, at 11:37 AM, Phil Davis  wrote:
> 
> Hi folks,
> 
> Summary:
> Since diesel was moved to the new hosting provider last weekend, my main 
> customer's relatively stable client/server system no longer works. I'm trying 
> to understand why. (The server code is in my customer's on-rev account, not 
> on a LAN server.)
> 
> I have adjusted arrayEncode() in my server code to work with my 6.x client 
> apps, but this has not been enough to make everything work again. The apps 
> are able to interact with server code enough to get authenticated as valid 
> users of the system, but any attempt by an app to download a data chunk of 
> 200k or so causes timeout errors, even if I set client and server 
> socketTimeoutIntervals to a ridiculously long 60 seconds. (My server tests 
> show that the server is done with the 'put' lng before the client 'post' 
> times out.) Communication from clients to server use 'post' or 'get', and the 
> server code 'puts' all data back to clients.
> 
> 
> Details:
> Each of 3 desktop apps reaches out to the code in my customer's on-rev (now 
> LC) hosting account for authentication and data before proceeding. Then in 
> the course of doing their jobs, they will upload or download other info.
> 
> With the advent of the new hosting provider, we were also given LC 7.1.0 as 
> our only choice of server engine. This in itself is not a bad thing, but it 
> immediately impacted my world. I had to change all instances of 
> "arrayEncode()" in my server code to include the "6.7" param since all our 
> desktop apps are currently built with LC 6.x. (Our transfer data is often 
> structured in arrays underneath the encoding.) For a full 10 seconds or so 
> after that change, I thought our problems were solved, but it only allowed 
> the next problem to manifest itself.
> 
> 
> I'm probably leaving out some vital info, so feel free to ask. I'm getting 
> nowhere right now, so I'll greatly appreciate any insight you can offer. I 
> would love to discover that I'm overlooking something simple. (Hey, I can 
> always hope!)
> 
> Thanks -
> 
> -- 
> Phil Davis
> 
> 
> ___
> livecode-dev mailing list
> livecode-...@lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/livecode-dev


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: server difficulties coming from LC7, or new host?

2016-03-19 Thread Ralph DiMola
1) I had to regress to LC server 6.6.2 to solve some problems that David and
I have yet to ascertain. I think this is related to the session context bug
14452. Drop the LC server executable version of your choice into your
cig-bin folder(I used livecode-server-6.6.2). Then put this into your
.htaccess file:
AddHandler livecode-redirect .lc
Action livecode-redirect /cgi-bin/livecode-server-6.6.2

2) Be aware that the new Unicode enabled MySQL server has 2 things that got
me:
 a) I could not insert HTML into a text field and had to change the
collation of the field to utf8mb4_general_ci. After that the old code worked
just fine.
 b) When you insert into tables that have fields that do not have the "null
attribute" and also no "default value" MySQL will now throw an error if that
field is not part of the insert. Again after setting the "null attribute"
check box all was fine with the existing code.

Hope this gets you back in business.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Phil Davis
Sent: Wednesday, March 16, 2016 2:38 PM
To: How to use LiveCode; LiveCode Developer List
Subject: server difficulties coming from LC7, or new host?

Hi folks,

Summary:
Since diesel was moved to the new hosting provider last weekend, my main
customer's relatively stable client/server system no longer works. I'm
trying to understand why. (The server code is in my customer's on-rev
account, not on a LAN server.)

I have adjusted arrayEncode() in my server code to work with my 6.x client
apps, but this has not been enough to make everything work again. 
The apps are able to interact with server code enough to get authenticated
as valid users of the system, but any attempt by an app to download a data
chunk of 200k or so causes timeout errors, even if I set client and server
socketTimeoutIntervals to a ridiculously long 60 seconds. (My server tests
show that the server is done with the 'put' 
lng before the client 'post' times out.) Communication from clients to
server use 'post' or 'get', and the server code 'puts' all data back to
clients.


Details:
Each of 3 desktop apps reaches out to the code in my customer's on-rev (now
LC) hosting account for authentication and data before proceeding. 
Then in the course of doing their jobs, they will upload or download other
info.

With the advent of the new hosting provider, we were also given LC 7.1.0 as
our only choice of server engine. This in itself is not a bad thing, but it
immediately impacted my world. I had to change all instances of
"arrayEncode()" in my server code to include the "6.7" param since all our
desktop apps are currently built with LC 6.x. (Our transfer data is often
structured in arrays underneath the encoding.) For a full 10 seconds or so
after that change, I thought our problems were solved, but it only allowed
the next problem to manifest itself.


I'm probably leaving out some vital info, so feel free to ask. I'm getting
nowhere right now, so I'll greatly appreciate any insight you can offer. I
would love to discover that I'm overlooking something simple. (Hey, I can
always hope!)

Thanks -

--
Phil Davis


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


server difficulties coming from LC7, or new host?

2016-03-19 Thread Phil Davis

Hi folks,

Summary:
Since diesel was moved to the new hosting provider last weekend, my main 
customer's relatively stable client/server system no longer works. I'm 
trying to understand why. (The server code is in my customer's on-rev 
account, not on a LAN server.)


I have adjusted arrayEncode() in my server code to work with my 6.x 
client apps, but this has not been enough to make everything work again. 
The apps are able to interact with server code enough to get 
authenticated as valid users of the system, but any attempt by an app to 
download a data chunk of 200k or so causes timeout errors, even if I set 
client and server socketTimeoutIntervals to a ridiculously long 60 
seconds. (My server tests show that the server is done with the 'put' 
lng before the client 'post' times out.) Communication from clients 
to server use 'post' or 'get', and the server code 'puts' all data back 
to clients.



Details:
Each of 3 desktop apps reaches out to the code in my customer's on-rev 
(now LC) hosting account for authentication and data before proceeding. 
Then in the course of doing their jobs, they will upload or download 
other info.


With the advent of the new hosting provider, we were also given LC 7.1.0 
as our only choice of server engine. This in itself is not a bad thing, 
but it immediately impacted my world. I had to change all instances of 
"arrayEncode()" in my server code to include the "6.7" param since all 
our desktop apps are currently built with LC 6.x. (Our transfer data is 
often structured in arrays underneath the encoding.) For a full 10 
seconds or so after that change, I thought our problems were solved, but 
it only allowed the next problem to manifest itself.



I'm probably leaving out some vital info, so feel free to ask. I'm 
getting nowhere right now, so I'll greatly appreciate any insight you 
can offer. I would love to discover that I'm overlooking something 
simple. (Hey, I can always hope!)


Thanks -

--
Phil Davis


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: server difficulties coming from LC7, or new host?

2016-03-19 Thread Phil Davis

Submitted as bug #17153


On 3/16/16 11:46 AM, David Simpson wrote:

Phil,
Did you open a support ticket? I have found LiveCode to be very responsive.

It would potentially be helpful for them to see a simple recipe stack which 
duplicates the problem. Maybe there is some global config parameter which needs 
changed - and they could test and resolve it very quickly.

David Simpson
www.fmpromigrator.com




On Mar 16, 2016, at 11:37 AM, Phil Davis  wrote:

Hi folks,

Summary:
Since diesel was moved to the new hosting provider last weekend, my main 
customer's relatively stable client/server system no longer works. I'm trying 
to understand why. (The server code is in my customer's on-rev account, not on 
a LAN server.)

I have adjusted arrayEncode() in my server code to work with my 6.x client 
apps, but this has not been enough to make everything work again. The apps are 
able to interact with server code enough to get authenticated as valid users of 
the system, but any attempt by an app to download a data chunk of 200k or so 
causes timeout errors, even if I set client and server socketTimeoutIntervals 
to a ridiculously long 60 seconds. (My server tests show that the server is 
done with the 'put' lng before the client 'post' times out.) Communication 
from clients to server use 'post' or 'get', and the server code 'puts' all data 
back to clients.


Details:
Each of 3 desktop apps reaches out to the code in my customer's on-rev (now LC) 
hosting account for authentication and data before proceeding. Then in the 
course of doing their jobs, they will upload or download other info.

With the advent of the new hosting provider, we were also given LC 7.1.0 as our only choice of 
server engine. This in itself is not a bad thing, but it immediately impacted my world. I had to 
change all instances of "arrayEncode()" in my server code to include the "6.7" 
param since all our desktop apps are currently built with LC 6.x. (Our transfer data is often 
structured in arrays underneath the encoding.) For a full 10 seconds or so after that change, I 
thought our problems were solved, but it only allowed the next problem to manifest itself.


I'm probably leaving out some vital info, so feel free to ask. I'm getting 
nowhere right now, so I'll greatly appreciate any insight you can offer. I 
would love to discover that I'm overlooking something simple. (Hey, I can 
always hope!)

Thanks -

--
Phil Davis


___
livecode-dev mailing list
livecode-...@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/livecode-dev


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



--
Phil Davis


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: server difficulties coming from LC7, or new host?

2016-03-19 Thread Mark Waddingham

Hi Phil,

On 2016-03-16 19:37, Phil Davis wrote:

Hi folks,
I'm probably leaving out some vital info, so feel free to ask. I'm
getting nowhere right now, so I'll greatly appreciate any insight you
can offer. I would love to discover that I'm overlooking something
simple. (Hey, I can always hope!)


It could be there are some other changes you might need to make to bring 
compatibility of your server side apps with 7, or, indeed, you might 
have found a bug or two with 7+ versions of server. If you could help 
locate the latter that would be great as it will mean a transition is 
smoother for everyone.


In the meantime, however, I've just chatted to David and he is currently 
working on setting up a way for everyone to choose what version of 
LiveCodeServer gets used to run your web sites - this will mean you will 
be able to continue to use the pre-7 engines until you are ready to move 
forward.


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: server difficulties coming from LC7, or new host?

2016-03-18 Thread Phil Davis
David, Ralph, MarkW and others - THANKS for your feedback! This truly is 
an amazing community. I'll see if I can put together a recipe stack.


Thanks to all -
Phil



On 3/16/16 11:46 AM, David Simpson wrote:

Phil,
Did you open a support ticket? I have found LiveCode to be very responsive.

It would potentially be helpful for them to see a simple recipe stack which 
duplicates the problem. Maybe there is some global config parameter which needs 
changed - and they could test and resolve it very quickly.

David Simpson
www.fmpromigrator.com




On Mar 16, 2016, at 11:37 AM, Phil Davis  wrote:

Hi folks,

Summary:
Since diesel was moved to the new hosting provider last weekend, my main 
customer's relatively stable client/server system no longer works. I'm trying 
to understand why. (The server code is in my customer's on-rev account, not on 
a LAN server.)

I have adjusted arrayEncode() in my server code to work with my 6.x client 
apps, but this has not been enough to make everything work again. The apps are 
able to interact with server code enough to get authenticated as valid users of 
the system, but any attempt by an app to download a data chunk of 200k or so 
causes timeout errors, even if I set client and server socketTimeoutIntervals 
to a ridiculously long 60 seconds. (My server tests show that the server is 
done with the 'put' lng before the client 'post' times out.) Communication 
from clients to server use 'post' or 'get', and the server code 'puts' all data 
back to clients.


Details:
Each of 3 desktop apps reaches out to the code in my customer's on-rev (now LC) 
hosting account for authentication and data before proceeding. Then in the 
course of doing their jobs, they will upload or download other info.

With the advent of the new hosting provider, we were also given LC 7.1.0 as our only choice of 
server engine. This in itself is not a bad thing, but it immediately impacted my world. I had to 
change all instances of "arrayEncode()" in my server code to include the "6.7" 
param since all our desktop apps are currently built with LC 6.x. (Our transfer data is often 
structured in arrays underneath the encoding.) For a full 10 seconds or so after that change, I 
thought our problems were solved, but it only allowed the next problem to manifest itself.


I'm probably leaving out some vital info, so feel free to ask. I'm getting 
nowhere right now, so I'll greatly appreciate any insight you can offer. I 
would love to discover that I'm overlooking something simple. (Hey, I can 
always hope!)

Thanks -

--
Phil Davis


___
livecode-dev mailing list
livecode-...@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/livecode-dev


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



--
Phil Davis


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode