Re: CGI Webkit
Posted in 1997
Thanks for your help. I finally found the problem. Everything ran fine although my sql_stmts were not returning values. Turns out that my httpd server accesses the database as a specific user. That user did not have connect privileges to the database (rookie mistake). Klaus Vormweg wrote: > > Chad Laity <chad_laity@arrowintl.com> wrote: > > >I downloaded the cgi-stuff from Informix. I made my own little > >program. Everything runs but I do not receive any data from the > >database. I even name my database in the program and tried the > >little environment variable stuff. > > >Any ideas???? > > There's not enough data to be precise but: > 1. Look into to logs of your web-server. Maybe you will find some > error messages from the program. > 2. Wrap your program into a shell-script that sets the appropriate > environment variables. I tried to use the built-in functions for that, > but that did not work on my system. If your system uses dynamic > linking, you have to set the path to your libraries or your program > will not run at all. > 3. Debug your program with the errorlog function. If your > SQL-statements work, it does not mean, that the whole program is > bug-free. > > Greetings, Klaus