Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

Fatal Error

edited August 2011 in Questions
To day i opened my domain and there show me setup when i try install then show:

Fatal Error in Gdn_Database.Query();
Duplicate entry '1' for key 1
update GDN_User User set
Name = :Name,
Password = :Password,
Email = :Email,
ShowEmail = :ShowEmail,
Gender = :Gender,
DateOfBirth = :DateOfBirth,
DateFirstVisit = :DateFirstVisit,
DateLastActive = :DateLastActive,
DateInserted = :DateInserted,
DateUpdated = :DateUpdated,
Admin = :Admin,
UserID = :UserID

The error occurred on or near: /home/produc/public_html/library/database/class.database.php
if (!is_object($PDOStatement)) {
trigger_error(ErrorMessage('PDO Statement failed to prepare', $this->ClassName, 'Query', $this->GetPDOErrorMessage($this->Connection()->errorInfo())), E_USER_ERROR);
} else if ($PDOStatement->execute($InputParameters) === FALSE) {
trigger_error(ErrorMessage($this->GetPDOErrorMessage($PDOStatement->errorInfo()), $this->ClassName, 'Query', $Sql), E_USER_ERROR);
}
} else {
$PDOStatement = $this->Connection()->query($Sql);
}

and more..

why that hapens?

Sorry from my bad English
Tagged:

Answers

Sign In or Register to comment.