Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by tommyw (Hermit)
on Sep 18, 2001 at 18:02 UTC ( #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? - Answer 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 about the Monastery: (7)
As of 2016-09-25 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (470 votes). Check out past polls.