Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: CGI-DBI Connectivity and Output

by Cubes (Pilgrim)
on Nov 24, 2007 at 13:30 UTC ( [id://652732]=note: print w/replies, xml ) Need Help??


in reply to CGI-DBI Connectivity and Output

You could also check your web server's error log to see what sort of messages your script might be generating -- this will let you know if you have a permission problem, a code problem, or some other type of error.

If you don't know where to find the error log, ask your web server administrator -- the file's location will vary from one system to the next.

Replies are listed 'Best First'.
Re^2: CGI-DBI Connectivity and Output
by master_2008 (Initiate) on Nov 24, 2007 at 15:40 UTC
    Thanks for your suggestion guys.The problem has been resolved.When i saw the error log then i saw that i had not used MS.VOTE in my query. Due to that call to DB2 was failing .
    But i want to ask one more query here that why there was problem with browser and not with command prompt.
      Hard to say without more information.

      My first guess would be that you have some database-related variables set in your environment that are used when you're running it from the command line, but your web server / CGI environment is different.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://652732]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-09-07 23:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.