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

Code Highlight

 
			// 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