Hi, I'm currently doing the same thing, and had the same troubles. The solution in my code was placing "static" infront of the function declerations like static I2C_Open(void) and void static I2C_Close(void). It seems that these functions are declared twice and that is not correct.
Can you keep me ubdated about your project since i'm still working on my project maybe we can help each other --- In [email protected], "k1mgy" <mark.richa...@...> wrote: > > --- In [email protected], "jamieeisinger" <j.eisinger@> 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 >
