Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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?
[choroba]: Most coffees? Depends on the country :-)
[choroba]: oh, you mean a cup with no water.
[Discipulus]: you are rigth, gory details but i remember from dunnowhere that concetrate caffein is more effective than brown water almost coffe..
[LanX]: prepared both kinds a 100 times and thinks the amount of grind code is about the same
Discipulus less effective i mean
[LanX]: (french press vs espresso cooker )
[LanX]: s/code/coffee/

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-01-16 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (148 votes). Check out past polls.