Livecode server on fedora

Are you using LiveCode to create server scripts or CGIs?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
mpmahen
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 7
Joined: Sat Jun 11, 2011 8:25 am

Livecode server on fedora

Post by mpmahen » Thu Nov 21, 2013 3:57 am

I have installed the livecode server on Fedora, but get some strange results when running the following script:
<html>

<head>
<title>My LiveCode Server Test Page</title>
</head>

<body>
<h1>My LiveCode Server Test Page</h1>
<?irev
put "<p>hello from me</p>"
put "<p>Hello World! from LiveCode Server</p>"
put the date
put "<p>The date is" && the date & "</p>"

?>
</body>

</html>

This generate the output:

My LiveCode Server Test Page
hello from me
" put "
Hello World! from LiveCode Server
" put the date put "
The date is" && the date & "
" ?>

So it does not work correctly, but seems to interpret some of the lines...
Any suggestions?

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: Livecode server on fedora

Post by bangkok » Thu Nov 21, 2013 7:38 am

[quote="mpmahen"]

I would say that... the LC server does not interpret... at all your script.

Make a test with just :

Code: Select all

<?irev
    put the date
?>
Have you tried with "<?lc" instead of "<?irev" ?

Do you use Apache ?

mpmahen
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 7
Joined: Sat Jun 11, 2011 8:25 am

Re: Livecode server on fedora

Post by mpmahen » Tue Nov 26, 2013 7:35 am

Yes I use apache.

have tested all dependancies and resolved all of them, but still no joy.
Also tried <?irev and <?lc

Will try some other options..

Post Reply

Return to “CGIs and the Server”