Error connecting to the database.
This problem could be caused by the LemonStand MySQL connection configuration errors. Please log into the LemonStand Configuration Tool and update the database connection parameters. Also please make sure that MySQL server is running.
Document | /phproad/modules/db/classes/db_mysqlidriver.php |
---|---|
Document type | PHP document |
Line | 73 |
Exception class | Phpr_DatabaseException |
// Set SQL Mode mysqli_query(Db::$connection, 'SET sql_mode=""'); Phpr_ErrorLog::$disable_db_logging = false; } catch (Exception $ex) { $exception = new Phpr_DatabaseException($ex->getMessage()); $exception->hint_message = 'This problem could be caused by the LemonStand MySQL connection configuration errors. Please log into the LemonStand Configuration Tool and update the database connection parameters. Also please make sure that MySQL server is running.'; throw $exception; } } public function reconnect()
# | Call Stack Code | Document | Line |
---|---|---|---|
11 | Db_MySQLiDriver->connect(()) | /phproad/modules/db/classes/db_mysqlidriver.php | 94 |
10 | Db_MySQLiDriver->execute('select session_data from db_session_data where session_id='93gfhj818oack3kkppe15jc1i2' and client_ip='3.149.27.72'') | /phproad/modules/db/classes/db_sqlbase.php | 604 |
9 | Db_SqlBase->execute('select session_data from db_session_data where session_id='93gfhj818oack3kkppe15jc1i2' and client_ip='3.149.27.72'') | /phproad/modules/db/classes/db_sqlbase.php | 437 |
8 | Db_SqlBase->query('select session_data from db_session_data where session_id='93gfhj818oack3kkppe15jc1i2' and client_ip='3.149.27.72'') | /phproad/modules/db/classes/db_sqlbase.php | 557 |
7 | Db_SqlBase->fetchOne('select session_data from db_session_data where session_id=:session_id and client_ip=:client_ip', array(2) [session_id => '93gfhj818oack3kkppe15jc1i2', client_ip => '3.149.27.72']) | /phproad/modules/db/classes/db_dbhelper.php | 35 |
6 | Db_DbHelper::scalar('select session_data from db_session_data where session_id=:session_id and client_ip=:client_ip', array(2) [session_id => '93gfhj818oack3kkppe15jc1i2', client_ip => '3.149.27.72']) | /phproad/modules/phpr/classes/phpr_session.php | 224 |
5 | Phpr_Session->restore('93gfhj818oack3kkppe15jc1i2') | /phproad/modules/phpr/classes/phpr_session.php | 81 |
4 | Phpr_Session->restoreDbData(()) | /phproad/system/initialize.php | 193 |
3 | include('/home/garrattpublishin/public_html/phproad/system/initialize.php') | /phproad/system/phproad.php | 24 |
2 | include('/home/garrattpublishin/public_html/phproad/system/phproad.php') | /boot.php | 113 |
1 | require_once('/home/garrattpublishin/public_html/boot.php') | /index.php | 3 |