Fork me on GitHub
Current release is 2.1.6 (21 Nov 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.

The addon could not be enabled because it generated a fatal error:

edited January 2011 in Vanilla 2.0 Help
This discussion is related to the WhosOnline addon.
Unfortunately I'm getting the following, using Vanilla 2.016

The 0.8 version previously worked OK...

FATAL ERROR IN: Gdn_Database.Query();

"Incorrect datetime value: '1295449773' for column 'Timestamp' at row 1" /* Existing: `Timestamp` int not null default 11, New: `Timestamp` datetime not null */ alter table `GDN_Whosonline` change `Timestamp` `Timestamp` datetime not null LOCATION: G:\WWW\Apache2.2\htdocs\Forum\library\database\class.database.php > 232: $PDOStatement = $this->Connection()->query($Sql); > 233: } > 234: > 235: if ($PDOStatement === FALSE) { >>> 236: trigger_error(ErrorMessage($this->GetPDOErrorMessage($this->Connection()->errorInfo()), $this->ClassName, 'Query', $Sql), E_USER_ERROR); > 237: } > 238: > 239: $ReturnType = GetValue('ReturnType', $Options); > 240: BACKTRACE: [G:\WWW\Apache2.2\htdocs\Forum\library\database\class.database.php] PHP::Gdn_ErrorHandler(); [G:\WWW\Apache2.2\htdocs\Forum\library\database\class.database.php 236] PHP::trigger_error(); [G:\WWW\Apache2.2\htdocs\Forum\library\database\class.databasestructure.php 342] Gdn_Database->Query(); [G:\WWW\Apache2.2\htdocs\Forum\library\database\class.mysql.structure.php 361] Gdn_DatabaseStructure->Query(); [G:\WWW\Apache2.2\htdocs\Forum\library\database\class.databasestructure.php 399] Gdn_MySQLStructure->_Modify(); [G:\WWW\Apache2.2\htdocs\Forum\plugins\WhosOnline\default.php 146] Gdn_DatabaseStructure->Set(); [G:\WWW\Apache2.2\htdocs\Forum\library\core\class.pluginmanager.php 779] WhosOnlinePlugin->Setup(); [G:\WWW\Apache2.2\htdocs\Forum\library\core\class.pluginmanager.php 762] Gdn_PluginManager->_PluginCallbackExecution(); [G:\WWW\Apache2.2\htdocs\Forum\library\core\class.pluginmanager.php 592] Gdn_PluginManager->_PluginHook(); [G:\WWW\Apache2.2\htdocs\Forum\applications\dashboard\controllers\class.settingscontroller.php 579] Gdn_PluginManager->TestPlugin(); [G:\WWW\Apache2.2\htdocs\Forum\applications\dashboard\controllers\class.settingscontroller.php 579] SettingsController->TestAddon(); [G:\WWW\Apache2.2\htdocs\Forum\library\core\class.dispatcher.php 297] PHP::call_user_func_array(); [G:\WWW\Apache2.2\htdocs\Forum\index.php 38] Gdn_Dispatcher->Dispatch();

Comments

Sign In or Register to comment.