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_ApplicationException

Code Highlight

				// Set SQL Mode
				@mysql_query('SET sql_mode=""');
 
				Phpr_ErrorLog::$disable_db_logging = false;
			} catch (Exception $ex)
			{
				$exception = new Phpr_ApplicationException($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
18 Db_MySQLDriver->connect() /phproad/modules/db/classes/db_mysqldriver.php 107
17 Db_MySQLDriver->execute('DESCRIBE core_configuration_records') /phproad/modules/db/classes/db_mysqldriver.php 209
16 Db_MySQLDriver->fetchAll('DESCRIBE core_configuration_records') /phproad/modules/db/classes/db_mysqldriver.php 185
15 Db_MySQLDriver->describe_table('core_configuration_records') /phproad/modules/db/classes/db_sqlbase.php 410
14 Db_SQLBase->describe_table('core_configuration_records') /phproad/modules/db/classes/db_activerecord.php 1093
13 Db_ActiveRecord->fields() /phproad/modules/db/classes/db_activerecord.php 289
12 Db_ActiveRecord->initialize() /phproad/modules/db/classes/db_activerecord.php 242
11 Db_ActiveRecord->__construct() /modules/cms/models/cms_maintenanceparams.php 9
10 Cms_MaintenanceParams->create() /controllers/application.php 12
9 Application->resolve_page(array) /controllers/application.php 60
8 Application->On404()
7 call_user_func_array(array, array) /phproad/modules/phpr/classes/phpr_controller.php 161
6 Phpr_Controller->executeAction('On404', array) /phproad/modules/phpr/classes/phpr_controller.php 84
5 Phpr_Controller->_run('On404', array) /phproad/modules/phpr/classes/phpr_response.php 79
4 Phpr_Response->open404() /phproad/modules/phpr/classes/phpr_response.php 52
3 Phpr_Response->open('/') /phproad/system/phproad.php 31
2 include('/home/centrav/public_html/izrael/phproad/system/phproad.php') /boot.php 106
1 require_once('/home/centrav/public_html/izrael/boot.php') /index.php 3