Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Article Poll

Poll I found this article to be
Very Helpful
Helpful
Not Helpful
Not Very Helpful
[ Results | Polls ]
Comments:0 | Votes:1

$user DSN

posted by Krow on 07:59 AM May 5th, 2002   Printer-friendly   Email story
An earlier story mentioned a problem with the following error:

DBIx::Password returned *nothing* for virtual user $user DSN (is the username correct?)

None of the solutions offered were correct. The $user DSN is returned via an elseif in DB.pm. Any idea how to correctly fix this?
--
Tutal

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • If I may yet again refer [slashcode.com] to that previous article, the behaviour is *meant* to happen when you run the script from the command line. (The technical reason is that running from the command line does not set up the mod_perl environment including the DSN)

    You can't learn anything from running the script from the command line. You must look elsewhere for the problem, starting with the error logs.