Howdy, Stranger!

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

Try Vanilla Forums Cloud product
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

Vanilla Porter Fails import

This discussion is related to the Vanilla Porter addon.

With this error:

"An error occurred while attempting to connect to the database" SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111 LOCATION: /var/www/library/database/class.database.php > 57: $this->_Connection = new PDO(strtolower($this->Engine) . ':' . $this->Dsn, $this->User, $this->Password, $this->ConnectionOptions); > 58: if($this->ConnectionOptions[1002]) > 59: $this->Query($this->ConnectionOptions[1002]); > 60: } catch (Exception $ex) { >>> 61: trigger_error(ErrorMessage('An error occurred while attempting to connect to the database', $this->ClassName, 'Connection', $ex->getMessage()), E_USER_ERROR); > 62: } > 63: } > 64: > 65: return $this->_Connection; BACKTRACE: [/var/www/library/database/class.database.php] PHP::Gdn_ErrorHandler(); [/var/www/library/database/class.database.php 61] PHP::trigger_error(); [/var/www/library/database/class.database.php 275] Gdn_Database->Connection(); [/var/www/library/database/class.sqldriver.php 1657] Gdn_Database->Query(); [/var/www/library/database/class.sqldriver.php 941] Gdn_SQLDriver->Query(); [/var/www/library/core/class.model.php 383] Gdn_SQLDriver->GetWhere(); [/var/www/library/core/class.model.php 366] Gdn_Model->GetWhere(); [/var/www/applications/dashboard/models/class.usermodel.php 472] Gdn_Model->GetID(); [/var/www/applications/dashboard/models/class.usermodel.php 643] UserModel->GetID(); [/var/www/library/core/class.session.php 280] UserModel->GetSession(); [/var/www/library/core/class.auth.php 36] Gdn_Session->Start(); [/var/www/bootstrap.php 168] Gdn_Auth->StartAuthenticator(); [/var/www/index.php 41] PHP::require_once();

It looks like I got a lot of the stuff over, but need to get the rest.

SO CLOSE TO THIS TRANSFER

«1

Comments

«1
Sign In or Register to comment.