>
>     I'm running Embperl on my ISPs webserver, and when I execute the
> following code (from the sample included with Embperl):
>
>..
> # excute the query
>  $sth -> execute  or die "Cannot execute SELECT from '$table'"; ##This
> is line 29!!!
>
> ====
> I get the following error :
>
> [22828]ERR: 32: Line 15: Warning in Perl code: DBD::mysql::st execute
> failed: ase Selected at
> /usr/local/httpd/htdocs/intercosta/htmlf/dbi1.netizen.ehtml line 29.
>
>...
>     I've been told by the webmaster that DBI connections fail from ePerl
> also, so maybe it's a mod_perl issue. Anyway, the webmaster doesn't care
> much about it, but I ***must*** make it work.
>
>     Do you have any pointers as to where can I start debugging this
> issue? The same code runs perfectly on my local linux, and DBI runs
> great from any standard CGI scripts run with the standalone perl
> interpreter.
>

It maybe it's a permission problem, if the cgi runs as different user, then
Apache webserver, or it could be that mod_perl is loaded dynamicly into
Apache, which also makes sometimes problems with DBI. If mod_perl is load
daynamic I would first search the list archive, maybe there are already
solutions for this. Maybe someone on the DBI mailing list could tell you
what "failed: ase Selected", this message seems to come from mysql.

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------

Reply via email to