Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Fatal Error

edited August 2011 in Vanilla 2.0 - 2.8
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


  • Options
    lucluc ✭✭
    Your database isn't empty, and you're trying to install.
  • Options
    ok, but why show the install setup? in the morning forum worked, but now.. installation setup!
  • Options
    lucluc ✭✭
    On the basis of the information provided, it's anybody's guess.
  • Options
    i delete admin from database and tryed install but the show
    Fatal error: Class 'CategoryModel' not found in /home/produc/public_html/applications/vanilla/settings/structure.php on line 62
  • Options
    Any solution for the above ? My forum also disappeared showing the install page. How to get out of this ?
Sign In or Register to comment.