7 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
my ($sess_id) = @_;
my $cgi = new CGI;
my $dbh = DBI->connect( "$dbms:$dbname","$dbuser","$dbpasswd", {PrintError => 0, RaiseError => 1}) || die
"Verbindung zur Datenbank fehlgeschlagen: $DBI::errstr";
$sid = $cgi->cookie('YAMBE_SESSID') || $cgi->param('YAMBE_SESSID') || $sess_id || undef;
my $sql = qq{SELECT id FROM ${table_prefix}session WHERE id like $sid};
my $sth = $dbh->prepare( $sql );
$sth->execute();
QuoteSoftware error:
DBD::mysql::st execute failed: Table 'yambe.yambe_session' doesn't exist at ../data/session.cgi line 68.
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
$sth->execute();
Quote$dbms = "DBI:mysql";
$dbhost = "localhost";
$dbname = "yambe";
$dbuser = "root";
$dbpasswd = "";
$table_prefix = "yambe_";
7 Einträge, 1 Seite |