in reply to Re^3: Do XS-components require special considerations with CGI?
in thread Do XS-components require special considerations with CGI? [SOLVED]

chmod had no useful effect.

Yes...

  1. If I “run” the script from the command line on that host, in a few milliseconds I get the correct, database-based, HTML output.
  2. If I attempt to access the page from the site, I get the application's error-screen, and the message previously mentioned is in the application's log.
  3. If I do the selfsame thing on my development system, it works.

“Switching hosts” is not a practical alternative. What I did notice, when I googled "Undefined subroutine &DBD::mysql::db::_login", is that the problem isn't new. In fact, there are several sites out there which are exhibiting the very same problem right now.

There were people yanking their hair out over this one in 2001, and even then not finding answers. Disturbing...

Replies are listed 'Best First'.
Re^5: Do XS-components require special considerations with CGI?
by almut (Canon) on Feb 26, 2009 at 23:57 UTC
Re^5: Do XS-components require special considerations with CGI?
by Anonymous Monk on Feb 27, 2009 at 14:35 UTC
    There were people yanking their hair out over this one in 2001, and even then not finding answers. Disturbing...
    They found it, they just didn't share :)

    Please see Re: Do XS-components require special considerations with CGI? and report the results. The differences when run from shell/cgi should be telling.