Roger McIlmoyle
|
Posted: 09/25/2002, 8:35 PM |
|
I'm getting the following errors;
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, root@localhost and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.
More information about this error may be available in the server error log.
----------------------------------------------------------------------------
----
Apache/1.3.23 Server at remotenetmgr.no-ip.org Port 80
RedHat7.3
MySQL version 3.23.52
when I execute the following command
perl admin_users.cgi
I get the following errors:
Set-Cookie: SessionID=1033010409_443649682057188; path=/; expires=Thu,
26-Sep-2002 03:50:09 GMT
Content-type: text/html
Can't call method "prepare" on unblessed reference at Common.pm line 92.
which is:
88: sub openrs {
89: my ( $sql, $cur_page ) = @_;
90:
91: $dbh->{LongReadLen} = 1000;
92: my $sth = $dbh->prepare( $sql );
93: $sth->execute();
Any ideas ?
|
|
|
Roger McIlmoyle
|
Posted: 09/25/2002, 9:57 PM |
|
Discovered that I had the database name wrong in the connect statement,
weird error message considering what was wrong.
"Roger McIlmoyle" <rmcilmyl@idirect.com> wrote in message
news:amtv9q$epq$1@news.codecharge.com...
> I'm getting the following errors;
>
> Internal Server Error
> The server encountered an internal error or misconfiguration and was
unable
> to complete your request.
> Please contact the server administrator, root@localhost and inform them of
> the time the error occurred, and anything you might have done that may
have
> caused the error.
>
> More information about this error may be available in the server error
log.
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
> Apache/1.3.23 Server at remotenetmgr.no-ip.org Port 80
> RedHat7.3
> MySQL version 3.23.52
>
> when I execute the following command
> perl admin_users.cgi
>
> I get the following errors:
>
> Set-Cookie: SessionID=1033010409_443649682057188; path=/; expires=Thu,
> 26-Sep-2002 03:50:09 GMT
> Content-type: text/html
>
> Can't call method "prepare" on unblessed reference at Common.pm line 92.
>
> which is:
> 88: sub openrs {
> 89: my ( $sql, $cur_page ) = @_;
> 90:
> 91: $dbh->{LongReadLen} = 1000;
> 92: my $sth = $dbh->prepare( $sql );
> 93: $sth->execute();
>
> Any ideas ?
>
>
|
|
|
|