linux server errors with sqlite and v 2.9
Posted: Sun May 04, 2008 11:08 am
I am using version 2.9
I have a problem trying to use my sqlite database on a linux server
I have a standalone application working very well and using a sqlite database file.
I have uploaded the sqlite database chmod 755 into the cgi-bin folder
I have uploaded the following cgi file and chmod 755 and with UNIX file format
#!revolution -ui
on startup
library "minimal.rev"
end startup
I have uploaded a very simple stack with the following stack script.
on librarystack
get revOpenDatabase("sqlite",".Dances.s3db",,,,)
end librarystack
on calling the cgi in firefox I get the dreaded 500 server error.
on checking the server logs it reports clearly "execution error on line 2 char 5".
Obviously from the above I have whittled the code down to identify the problem.
I have also tried using another linux server but with the same result.
For the record other cgi's I have tried work fine.
I wondered if this is an ISP problem as a previous request to our superb team in Edinburgh although full of ideas obviousy expected this code to work.
Can anyone duplicate this error ?
Help would be most gratefully appreciated as I can see no way forward.
I have a problem trying to use my sqlite database on a linux server
I have a standalone application working very well and using a sqlite database file.
I have uploaded the sqlite database chmod 755 into the cgi-bin folder
I have uploaded the following cgi file and chmod 755 and with UNIX file format
#!revolution -ui
on startup
library "minimal.rev"
end startup
I have uploaded a very simple stack with the following stack script.
on librarystack
get revOpenDatabase("sqlite",".Dances.s3db",,,,)
end librarystack
on calling the cgi in firefox I get the dreaded 500 server error.
on checking the server logs it reports clearly "execution error on line 2 char 5".
Obviously from the above I have whittled the code down to identify the problem.
I have also tried using another linux server but with the same result.
For the record other cgi's I have tried work fine.
I wondered if this is an ISP problem as a previous request to our superb team in Edinburgh although full of ideas obviousy expected this code to work.
Can anyone duplicate this error ?
Help would be most gratefully appreciated as I can see no way forward.