Using Stacks With LiveCode Server

Gregory Lypny gregory.lypny at
Tue Aug 28 16:54:17 EDT 2012

Hello everyone,

I've got LiveCode server up and running on my Mac (OS X Mountain Lion).  I'd like to be able to store a bunch of handlers in the stack script of a library stack, but I am not sure where to place the stack and how to refer to it from within web pages.

Suppose I have a simple test page named that is in my Sites folder.  The HTML code in it is below.  Notice that in the code, I have a line that refers to a stack called ServerLibrary.livecode.  The next line calls a handler named serverTest, which resides in the stack script of the stack.  When I load the page, I get the following error:

file "/Users/gregory/Sites/"
  row 15, col 1: start: can't find object

I have tried different paths with no luck.  What am I doing wrong?



The test page:


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

     <h1>My LiveCode Server Test Page</h1>

     put "<p>Hello World! from LiveCode Server</p>"
     put "<p>The date is" && the long date && the long time & "</p>"

start using "ServerLibrary.livecode"




More information about the Use-livecode mailing list