Unhandled Error!

Error connecting to the database.

Hint

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_mysqldriver.php
Document type PHP document
Line 87
Exception class Phpr_DatabaseException

Code Highlight

				// Set SQL Mode
				@mysql_query('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_MySQLDriver->connect(()) /phproad/modules/db/classes/db_mysqldriver.php 107
10 Db_MySQLDriver->execute('select session_data from db_session_data where session_id='937cd2078031829a0f0d4fd88d76f870' and client_ip='54.226.36.60'') /phproad/modules/db/classes/db_sqlbase.php 604
9 Db_SqlBase->execute('select session_data from db_session_data where session_id='937cd2078031829a0f0d4fd88d76f870' and client_ip='54.226.36.60'') /phproad/modules/db/classes/db_sqlbase.php 437
8 Db_SqlBase->query('select session_data from db_session_data where session_id='937cd2078031829a0f0d4fd88d76f870' and client_ip='54.226.36.60'') /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 => '937cd2078031829a0f0d4fd88d76f870', client_ip => '54.226.36.60']) /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 => '937cd2078031829a0f0d4fd88d76f870', client_ip => '54.226.36.60']) /phproad/modules/phpr/classes/phpr_session.php 225
5 Phpr_Session->restore('937cd2078031829a0f0d4fd88d76f870') /phproad/modules/phpr/classes/phpr_session.php 81
4 Phpr_Session->restoreDbData(()) /phproad/system/initialize.php 199
3 include('/home/bauerpho/public_html/phproad/system/initialize.php') /phproad/system/phproad.php 24
2 include('/home/bauerpho/public_html/phproad/system/phproad.php') /boot.php 114
1 require_once('/home/bauerpho/public_html/boot.php') /index.php 3