Running Rev2.9rc2 on JaguarPC/Debian - blank screen

Are you using LiveCode to create server scripts or CGIs?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
gcbrackett
Posts: 16
Joined: Sun Apr 16, 2006 6:13 pm
Contact:

Running Rev2.9rc2 on JaguarPC/Debian - blank screen

Post by gcbrackett » Tue Mar 25, 2008 11:35 pm

I've set up a domain on JaguarPC with Debian Linux, and put a very simple .cgi script in the cgi-bin directory:

#!revolution

on startup
put "Content-Type: text/plain" & cr & cr
put "Hello World!"
end startup

The revolution engine is the rc2 linux standalone in the same directory as the script. All line endings are unix, all permissions are 755. No error is generated, but all I get is a blank screen in the browser. A Perl cgi script in the cgi-bin directory executes fine.

If I use ssh to log in and execute revolution, I get
xxxxxxx# ./revolution
xxxxxxx/cgi-bin/rev/revolution: Can't open display

Any ideas gratefully accepted! Oh, the libraries libX11-6 and libxext6 are installed in their latest version.

malte
Posts: 1098
Joined: Thu Feb 23, 2006 8:34 pm
Contact:

Post by malte » Tue Mar 25, 2008 11:46 pm

hi,

the new engine needs to start -ui, so the first line of your script should read:

#!revolution -ui

that should do the trick

Hth,

Malte

gcbrackett
Posts: 16
Joined: Sun Apr 16, 2006 6:13 pm
Contact:

Thanks!

Post by gcbrackett » Wed Mar 26, 2008 1:37 am

That did it! I appreciate your help very much!

Post Reply