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.
site crashed, back to install page. Please help
I have had vanilla installed for for 6+ months, no changes but for some reason when you visit my site its going back to the install page. Im not sure what steps i should now take.
http://guayadeque.org
please help
http://guayadeque.org
please help
0
Comments
You have to reinstall because you've lost your unique installation ID. That shouldn't mess up your forum as the install doesn't wipe the database.
update GDN_User User set Name = :Name, Password = md5(: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/content/35/6109435/html/guayadeque/forums/library/database/class.database.php 225: 226: if (!is_object($PDOStatement)) { 227: trigger_error(ErrorMessage('PDO Statement failed to prepare', $this->ClassName, 'Query', $this->GetPDOErrorMessage($this->Connection()->errorInfo())), E_USER_ERROR); 228: } else if ($PDOStatement->execute($InputParameters) === FALSE) { 229: trigger_error(ErrorMessage($this->GetPDOErrorMessage($PDOStatement->errorInfo()), $this->ClassName, 'Query', $Sql), E_USER_ERROR); 230: } 231: } else { 232: $PDOStatement = $this->Connection()->query($Sql); 233: }
then a backtrace
Backtrace: /home/content/35/6109435/html/guayadeque/forums/library/database/class.database.phpPHP::Gdn_ErrorHandler(); [/home/content/35/6109435/html/guayadeque/forums/library/database/class.database.php:229] PHP::trigger_error(); [/home/content/35/6109435/html/guayadeque/forums/library/database/class.sqldriver.php:1584] Gdn_Database->Query(); [/home/content/35/6109435/html/guayadeque/forums/library/database/class.sqldriver.php:1562] Gdn_SQLDriver->Query(); [/home/content/35/6109435/html/guayadeque/forums/applications/dashboard/models/class.usermodel.php:484] Gdn_SQLDriver->Put(); [/home/content/35/6109435/html/guayadeque/forums/applications/dashboard/controllers/class.setupcontroller.php:189] UserModel->SaveAdminUser(); [/home/content/35/6109435/html/guayadeque/forums/applications/dashboard/controllers/class.setupcontroller.php:51] SetupController->Configure(); [/home/content/35/6109435/html/guayadeque/forums/applications/dashboard/controllers/class.setupcontroller.php:51] SetupController->Index(); [/home/content/35/6109435/html/guayadeque/forums/library/core/class.dispatcher.php:299] PHP::call_user_func_array(); [/home/content/35/6109435/html/guayadeque/forums/index.php:38] Gdn_Dispatcher->Dispatch();
....
$Configuration['Database']['Name'] = 'dbname here'; $Configuration['Database']['Host'] = 'dbhost here'; $Configuration['Database']['User'] = 'dbuser here'; $Configuration['Database']['Password'] = 'dbpass here'; $Configuration['EnabledApplications']['Conversations'] = 'conversations'; $Configuration['EnabledApplications']['Vanilla'] = 'vanilla'; $Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed'; $Configuration['Garden']['Cookie']['Salt'] = '10 random letters here'; $Configuration['Garden']['Cookie']['Domain'] = ''; $Configuration['Garden']['Installed'] = TRUE; $Configuration['Garden']['InstallationID'] = md5('random phrase here'); $Configuration['Garden']['InstallationSecret'] = md5('different random phrase here');
Duplicate entry '1' for key 1 update GDN_User User set Name = :Name, Password = md5(: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/content/35/6109435/html/guayadeque/forums/library/database/class.database.php 225: 226: if (!is_object($PDOStatement)) { 227: trigger_error(ErrorMessage('PDO Statement failed to prepare', $this->ClassName, 'Query', $this->GetPDOErrorMessage($this->Connection()->errorInfo())), E_USER_ERROR); 228: } else if ($PDOStatement->execute($InputParameters) === FALSE) { 229: trigger_error(ErrorMessage($this->GetPDOErrorMessage($PDOStatement->errorInfo()), $this->ClassName, 'Query', $Sql), E_USER_ERROR); 230: } 231: } else { 232: $PDOStatement = $this->Connection()->query($Sql); 233: }