Warning: Packets out of order. Expected 0 received 1. Packet size=23 in /var/www/demo.apollotheme.com/public_html/ap_belt/classes/db/DbPDO.php on line 84

Warning: PDO::__construct(): MySQL server has gone away in /var/www/demo.apollotheme.com/public_html/ap_belt/classes/db/DbPDO.php on line 84

Warning: PDO::__construct(): Error while reading greeting packet. PID=5344 in /var/www/demo.apollotheme.com/public_html/ap_belt/classes/db/DbPDO.php on line 84

[PrestaShopException]

Link to database cannot be established: SQLSTATE[HY000] [2006] MySQL server has gone away
at line 127 in file classes/db/DbPDO.php

122.     public function connect()
123.     {
124.         try {
125.             $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5);
126.         } catch (PDOException $e) {
127.             throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage());
128.         }
129. 
130.         $this->link->exec('SET SESSION sql_mode = \'\'');
131. 
132.         return $this->link;

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/demo.apollotheme.com/public_html/ap_belt/classes/exception/PrestaShopException.php on line 203

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/demo.apollotheme.com/public_html/ap_belt/classes/log/FileLogger.php on line 41