Help with legacy on-rev site tripped up on new LiveCode hosting service

Phil Davis revdev at pdslabs.net
Tue Mar 29 21:00:14 EDT 2016


Hi Martin,

I had a major show-stopper on diesel recently (after LC's move to Liquid 
Web as the new on-rev host) that involved the server-side $_POST array. 
In bug report #15173 <http://quality.livecode.com/show_bug.cgi?id=17153> 
I included a zip file of client & server parts you can use to see if 
this is your problem too.

If I understand correctly, LC Server 7.1.0 (the default version) doesn't 
see $_POST as an array. Don't know the in's and out's of it, but I know 
stuff definitely stopped working. The bug was fixed and is awaiting the 
next build, but that doesn't immediately help folks like me (and maybe 
you) who need stuff to keep working like it always has.

Thankfully, David Williams created a workaround - he installed LC 6.6.2 
(same version as on the previous hosting) somewhere and told me I can 
make it my site's default by adding these lines to my ~/public_html 
.htaccess file:

     AddHandler livecode-server .lc
     Action livecode-server /cgi-bin/livecode-server-6.6.2

I used these lines to change the default LCS version to 6.6.2 in my 
accounts on tio and diesel. Maybe it would give you what you need.

Thanks -
Phil Davis




On 3/29/16 3:25 PM, Martin Koob wrote:
> Hi,
>
> I have an site on on-rev TIO that was working but now that it has been
> transferred to the new site it generates livecode errors on some pages.
>
> I had this problem a couple of years ago but David Williams had managed to
> make it run on TIO which would accept the legacy site using LiveCode server
> 4.6.4
>
> Now with the new site I am sure that is not an option.
>
> I have found one issue that I fixed,  a variable was named SESSION which is
> a reserved word in LiveCode as of 5.0   I also found there is a variable
> REQUEST which is an array.  I think I ran into this before and renamed them
> $_POST. Is that correct?
>
> Is there any document on on changes between LiveCode server 4.6.4 and later
> versions and how to transition?  I looked at http://downloads.livecode.com
> but after version 5.0 I don't see specific documentation for server.
>
> Thanks
>
> Martin
>
>
>
>
> --
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Help-with-legacy-on-rev-site-tripped-up-on-new-LiveCode-hosting-service-tp4702748.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at 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




More information about the use-livecode mailing list