Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Answer: Why does my query work on the command line, but fail in my browser?

( #113125=categorized answer: print w/ replies, xml ) Need Help??

Q&A > database programming > Why does my query work on the command line, but fail in my browser? contributed by tommyw

One possibility (seen all too often) is that your webserver invokes your perl script in a different environment from the one you're using.

For example, if you're using Oracle, making sure that ORACLE_HOME is set makes a difference

Have a look in your servers log files: with luck it'll pinpoint the problem.

Comment on Answer: Why does my query work on the command line, but fail in my browser?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2014-07-12 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls