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 81
Exception class Phpr_DatabaseException

Code Highlight

            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
20 Db_MySQLDriver->connect(()) /phproad/modules/db/classes/db_mysqldriver.php 103
19 Db_MySQLDriver->execute('DESCRIBE core_configuration_records') /phproad/modules/db/classes/db_mysqldriver.php 240
18 Db_MySQLDriver->fetchAll('DESCRIBE core_configuration_records') /phproad/modules/db/classes/db_mysqldriver.php 215
17 Db_MySQLDriver->describe_table('core_configuration_records') /phproad/modules/db/classes/db_sqlbase.php 466
16 Db_SqlBase->describe_table('core_configuration_records') /phproad/modules/db/classes/db_activerecord.php 1333
15 Db_ActiveRecord->fields(()) /phproad/modules/db/classes/db_activerecord.php 399
14 Db_ActiveRecord->initialize(()) /phproad/modules/db/classes/db_activerecord.php 352
13 Db_ActiveRecord->__construct(()) /modules/core/classes/core_configuration_model.php 25
12 Core_Configuration_Model->__construct(()) /modules/sitemap/models/sitemap_params.php 17
11 Sitemap_Params::create(()) /modules/sitemap/classes/sitemap_module.php 51
10 SiteMap_Module->generate_sitemap(array(0)) /controllers/application.php 194
9 Application->find_access_point(()) /controllers/application.php 66
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('/sitemap.xml') /phproad/system/phproad.php 31
2 include('/var/www/tankersanctions_web/phproad/system/phproad.php') /boot.php 114
1 require_once('/var/www/tankersanctions_web/boot.php') /index.php 3