Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2016-12-03 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (56 votes). Check out past polls.