--- In [email protected], "jamieeisinger" <j.eisin...@...> wrote:
>
> Hi all,
> 
> I'm trying to make an web application using Klone. I'm using the i2c protocol 
> and it seems to work however i have some trouble with klone.
> 
> First thing, i've made an index.kl1 with some submit buttons and try to read 
> it out in status.kl1 this workt but when i use some c code the file does not 
> continue and i get an "Page can not be displayed" error while the command is 
> correctly sent. 

I'm guessing (I am experienced in Klone but have not used response_redirect) 
that you should make sure that document root is set properly.  Your redirect 
does not have a path (./ or /path/..)

Of course, make sure your .kl1 file that you are referencing actually exists!



> Another guestion, i've red on the klone webpage that everything between <%!%> 
> is like placing your code you've usealy but above the main part like globals 
> and functions however when i try to put the int I2C_Open(void) and void 
> I2C_Close(void) i get error meassages??   
> 

Post the errors please.

My guess is that you should prototype your functions in the global block.


/m

Reply via email to