Update



Had a look at a few source codes on the web and changed this line -

my $dbh = DBI->connect($dsn, $username, $password) or die
"$dbh->errstr\n";

to

my $dbh = DBI->connect($dsn, $username, $password) || die DBI->errstr;

The script now executes and am able to get an error message in case of
a problem. Unfortunately, I am getting an error message -
"unable to open database file(1) at dbdimp.c line 94 at tool.cgi line
16."

What could be the potential problem(s):

1. I made the Sqlite3 database file using SQLite SPY (
http://www.zeitungsjunge.de/delphi/sqlitespy/index.htm ) and then
uploaded it to the directory?

2. The path. The database directory is outside public_html from where
the CGI script executes?

Directory and database file have been chmoded 777.

.



Relevant Pages

  • Re: John Resig Video
    ... that it should only be used on script resources where it ... That fulfills the "doesn't matter when it executes" statement. ... And in environments were defer is not implemented that same script is going to processed inline and so be executed before the DOM is complete, which could still happen even if defer is implemented as "can continue ...
    (comp.lang.javascript)
  • Files appear to be cross linked
    ... script requires a number of standard environment variables to be set ... so it calls a second shell script to set these at the session level, ... control should return to the first shell script, ... that the script executes to the last line prior to the displaying of ...
    (comp.unix.solaris)
  • Re: John Resig Video
    ... Modern browsers perform parallel downloads. ... The statement I was commenting on came at the end of a paragraph that commenced "The defer attribute tells the parser that it can continue downloading and rendering the page", so an example that does not feature the DEFER attribute seems to serve no purpose as a clarification of what you were talking about. ... That fulfills the "doesn't matter when it executes" statement. ... It would be somewhat desirable to have better control over script ...
    (comp.lang.javascript)
  • Permission to execute jobs but nothing else
    ... This script is executed by a scheduled SQL job which ... executes a CSCRIPT command pointing to this script on the ... to me as long as I can setup a weak Login ID that can do ...
    (microsoft.public.sqlserver.security)
  • Re: Writing to an Access database file
    ... folder it resides in for the anonymous user to use an Access database ... >options for setting file access on a database file. ... >script is by using the control panel to set the following IUSR permissions ... the script that performs the logging has annonymous user ...
    (microsoft.public.inetserver.asp.db)