MySQL error executing query: Got error 28 from storage engine
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 | 114 |
Exception class | Phpr_DatabaseException |
108.
109.
// execute the statement
110.
$handle
= @mysql_query(
$sql
, Db::
$connection
);
111.
112.
// If error, generate exception
113.
if
(
$err
= @mysql_errno(Db::
$connection
) != 0) {
114.
$exception
=
new
Phpr_DatabaseException(
'MySQL error executing query: '
.@mysql_error(Db::
$connection
));
115.
$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.'
;
116.
throw
$exception
;
117.
}
118.
119.
return
$handle
;
120.
}
# | Call Stack Code | Document | Line |
---|---|---|---|
18 | Db_MySQLDriver->execute('DESCRIBE core_configuration_records') | /phproad/modules/db/classes/db_mysqldriver.php | 217 |
17 | Db_MySQLDriver->fetchAll('DESCRIBE core_configuration_records') | /phproad/modules/db/classes/db_mysqldriver.php | 193 |
16 | Db_MySQLDriver->describe_table('core_configuration_records') | /phproad/modules/db/classes/db_sqlbase.php | 466 |
15 | Db_SqlBase->describe_table('core_configuration_records') | /phproad/modules/db/classes/db_activerecord.php | 1333 |
14 | Db_ActiveRecord->fields(()) | /phproad/modules/db/classes/db_activerecord.php | 399 |
13 | Db_ActiveRecord->initialize(()) | /phproad/modules/db/classes/db_activerecord.php | 352 |
12 | Db_ActiveRecord->__construct(()) | /modules/core/classes/core_configuration_model.php | 25 |
11 | Core_Configuration_Model->__construct(()) | /modules/cms/models/cms_maintenanceparams.php | 9 |
10 | Cms_MaintenanceParams::create(()) | /controllers/application.php | 10 |
9 | Application->resolve_page(array(0)) | /controllers/application.php | 72 |
8 | Application->On404(()) | ||
7 | call_user_func_array(array(2) [0 => object(Application), 1 => 'On404'], array(0)) | /phproad/modules/phpr/classes/phpr_controller.php | 170 |
6 | Phpr_Controller->executeAction('On404', array(0)) | /phproad/modules/phpr/classes/phpr_controller.php | 84 |
5 | Phpr_Controller->_run('On404', array(0)) | /phproad/modules/phpr/classes/phpr_response.php | 64 |
4 | Phpr_Response->open404(()) | /phproad/modules/phpr/classes/phpr_response.php | 37 |
3 | Phpr_Response->open('/store/cellar/spirits') | /phproad/system/phproad.php | 31 |
2 | include('/var/www/html/phproad/system/phproad.php') | /boot.php | 114 |
1 | require_once('/var/www/html/boot.php') | /index.php | 3 |