Hi, I am having a problem with embperl randomly claiming that I am calling an undefined sub routine. If I refresh the page, sometimes it does it again - Sometimes it doesn't....Its _completely_ random (??)...
[19276]ERR: 24: Error in Perl code: Undefined subroutine &Embperl::__5::db_connect called at /home/user/public_html/cgi-bin/e/community.zoweb line 13. It occurs like this: [- #use modules use lib '/home/user/web/lib'; use web::sql; #prepare variables my $host = "localhost"; my $dbusername = "username"; my $dbpassword = "password"; my $database = "db"; #prepare database connection $zoweb::dbi = &db_connect($host,$database,$dbusername,$dbpassword); -] Or: [! #use modules use lib '/home/user/web/lib'; use web::sql; #prepare variables my $host = "localhost"; my $dbusername = "username"; my $dbpassword = "password"; my $database = "db"; !] #prepare database connection [- $zoweb::dbi = &db_connect($host,$database,$dbusername,$dbpassword) -] Even after I restart the server. Any ideas? Justin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]