Windows 7 LiveCode Server Error Setup Issue

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

oldhypercardguy
Posts: 2
Joined: Thu Mar 05, 2015 5:03 pm

Re: Windows 7 LiveCode Server Error Setup Issue

Post by oldhypercardguy » Thu Mar 05, 2015 7:32 pm

I have set LC Server up on 2 Windows 7 boxes successfully.

- Win7 VBox image with Apache as the Web server. LiveCode Server .exe is in cgi-bin folder and the .lc script page is in htdocs.
- Win7 running on a workstation with IIS as the Web server. LiveCode Server .exe is in cgi-bin folder and I use the .lc script pages (and referenced stacks) throughout the Web structure (Some in root, some in secured that requires https and basic login auth).

Here is the thing though. I cannot get either setup to work using liveCode-community-server 7.x. On either box when trying to work with LiveCode Server 7.x, I get "Internal Server Error". A look in the logs shows further detail of "End of script output before headers: liveCode-community-server.exe". On the box running IIS using a trace I see livecode-server exited due to fatal signal 11 (which with further drill-down says "The specified CGI misbehaved by not returning a complete set of HTTP headers).

I pulled hair for a day before I found references pointing me in the right direction. The only change I made to get it working on both boxes was to replace the livecode-community-server 7.x with the older livecode-community-server 6.7. Then the .lc script/pages worked no problem.

Also, if you want to reference stacks vs use .lc script/pages, you have to use a stack saved (use save-as in 7.03) in legacy LiveCode version 2.7. It cannot have buttons on it either.

All this info was found by filtering a lot of different posts from different sites (most did not help). Not sure why the Windows usage has a problem, as I get the impression that Linux and MAC implementations are using latest versions (7.x) of Server and stack associations.

FWIW, just try this and see if your scripts start working.

LiveCodeBeginner
Posts: 26
Joined: Fri Oct 10, 2014 9:40 pm

Re: Windows 7 LiveCode Server Error Setup Issue

Post by LiveCodeBeginner » Mon Mar 09, 2015 9:41 pm

Hello,

I tried what you said with two different versions of the livecode-server and they were 6.7.3 and 6.6.1 and neither worked.

This is the error that endlessly appears in the logs:

Code: Select all

[Mon Mar 09 11:59:16.676104 2015] [cgi:error] [pid 3416:tid 828] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49293] AH01223: couldn't spawn child process: C:/Users/DEV/wamp/bin/apache/apache2.4.9/cgi-bin/test.lc
[Mon Mar 09 13:00:21.339504 2015] [cgi:error] [pid 3416:tid 828] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49339] couldn't create child process: 720193: test.lc
[Mon Mar 09 13:00:21.340504 2015] [cgi:error] [pid 3416:tid 828] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49339] AH01223: couldn't spawn child process: C:/Users/DEV/wamp/bin/apache/apache2.4.9/cgi-bin/test.lc
[Mon Mar 09 13:00:21.871534 2015] [cgi:error] [pid 3416:tid 820] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49340] couldn't create child process: 720193: test.lc
[Mon Mar 09 13:00:21.871534 2015] [cgi:error] [pid 3416:tid 820] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49340] AH01223: couldn't spawn child process: C:/Users/DEV/wamp/bin/apache/apache2.4.9/cgi-bin/test.lc
[Mon Mar 09 13:00:22.095547 2015] [cgi:error] [pid 3416:tid 828] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49341] couldn't create child process: 720193: test.lc
[Mon Mar 09 13:00:22.095547 2015] [cgi:error] [pid 3416:tid 828] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49341] AH01223: couldn't spawn child process: C:/Users/DEV/wamp/bin/apache/apache2.4.9/cgi-bin/test.lc
[Mon Mar 09 13:00:22.273557 2015] [cgi:error] [pid 3416:tid 820] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49342] couldn't create child process: 720193: test.lc
[Mon Mar 09 13:00:22.273557 2015] [cgi:error] [pid 3416:tid 820] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49342] AH01223: couldn't spawn child process: C:/Users/DEV/wamp/bin/apache/apache2.4.9/cgi-bin/test.lc
[Mon Mar 09 13:00:22.445567 2015] [cgi:error] [pid 3416:tid 828] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49343] couldn't create child process: 720193: test.lc
[Mon Mar 09 13:00:22.446567 2015] [cgi:error] [pid 3416:tid 828] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49343] AH01223: couldn't spawn child process: C:/Users/DEV/wamp/bin/apache/apache2.4.9/cgi-bin/test.lc
[Mon Mar 09 13:00:43.417767 2015] [cgi:error] [pid 3416:tid 820] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49345] couldn't create child process: 720193: test.lc
[Mon Mar 09 13:00:43.417767 2015] [cgi:error] [pid 3416:tid 820] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49345] AH01223: couldn't spawn child process: C:/Users/DEV/wamp/bin/apache/apache2.4.9/cgi-bin/test.lc
[Mon Mar 09 13:00:43.934796 2015] [cgi:error] [pid 3416:tid 828] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49346] couldn't create child process: 720193: test.lc
[Mon Mar 09 13:00:43.934796 2015] [cgi:error] [pid 3416:tid 828] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49346] AH01223: couldn't spawn child process: C:/Users/DEV/wamp/bin/apache/apache2.4.9/cgi-bin/test.lc
[Mon Mar 09 13:00:44.101806 2015] [cgi:error] [pid 3416:tid 820] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49347] couldn't create child process: 720193: test.lc
[Mon Mar 09 13:00:44.101806 2015] [cgi:error] [pid 3416:tid 820] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49347] AH01223: couldn't spawn child process: C:/Users/DEV/wamp/bin/apache/apache2.4.9/cgi-bin/test.lc
[Mon Mar 09 13:00:44.272816 2015] [cgi:error] [pid 3416:tid 828] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49348] couldn't create child process: 720193: test.lc
[Mon Mar 09 13:00:44.272816 2015] [cgi:error] [pid 3416:tid 828] (OS 193)%1 is not a valid Win32 application.  : [client 127.0.0.1:49348] AH01223: couldn't spawn child process: C:/Users/DEV/wamp/bin/apache/apache2.4.9/cgi-bin/test.lc
I am continuing to tinker with it, but we will see how my progress goes. By the way thank you for the information and input.

Thanks everyone.

oldhypercardguy
Posts: 2
Joined: Thu Mar 05, 2015 5:03 pm

Re: Windows 7 LiveCode Server Error Setup Issue

Post by oldhypercardguy » Tue Mar 10, 2015 2:43 am

If you can start over or get back to the point you were at on your original post, then I think you will be able to get it working as I mentioned in my last post. I was seeing the exact same thing as your original post and the only thing I changed was the LC Server version to 6.7. Good luck.

LiveCodeBeginner
Posts: 26
Joined: Fri Oct 10, 2014 9:40 pm

Re: Windows 7 LiveCode Server Error Setup Issue

Post by LiveCodeBeginner » Tue Mar 10, 2015 5:16 pm

Hello,

Thank you for the information to switch it back. I did switch it to 6.6.1 but that did nothing until I noticed that the ScriptAlias tag is already in the config file (by default).

I removed the Script Alias tag that the original instructions (provided on the LiveCode web site) said to do and it started working.

Thank you all for the input!

Thanks. :lol:

Happy Coding! :D :D :D

Post Reply