11. Exception
…/­src/­PMCOM/­Core/­Database.php75
10. PMCOM\Core\Database died
…/­src/­PMCOM/­Core/­Database.php29
9. PMCOM\Core\Database __construct
…/­src/­PMCOM/­Core/­Database.php40
8. PMCOM\Core\Database getInstance
…/­src/­PMCOM/­Core/­Router.php136
7. PMCOM\Core\Router _redirect_url
<#unknown>0
6. call_user_func_array
…/­src/­PMCOM/­Core/­Router.php158
5. PMCOM\Core\Router __callStatic
…/­src/­PMCOM/­Core/­Router.php55
4. PMCOM\Core\Router redirect_url
…/­src/­PMCOM/­Core/­Router.php55
3. PMCOM\Core\Router _get_route
<#unknown>0
2. call_user_func_array
…/­src/­PMCOM/­Core/­Router.php158
1. PMCOM\Core\Router __callStatic
…/­index.php99
0. PMCOM\Core\Router get_route
…/­index.php99

Exception Exception thrown with message "Database error: Please check the "Database Query Error" details below" Stacktrace: #11 Exception in /home/tbec71889672/public_html/src/PMCOM/Core/Database.php:75 #10 PMCOM\Core\Database:died in /home/tbec71889672/public_html/src/PMCOM/Core/Database.php:29 #9 PMCOM\Core\Database:__construct in /home/tbec71889672/public_html/src/PMCOM/Core/Database.php:40 #8 PMCOM\Core\Database:getInstance in /home/tbec71889672/public_html/src/PMCOM/Core/Router.php:136 #7 PMCOM\Core\Router:_redirect_url in <#unknown>:0 #6 call_user_func_array in /home/tbec71889672/public_html/src/PMCOM/Core/Router.php:158 #5 PMCOM\Core\Router:__callStatic in /home/tbec71889672/public_html/src/PMCOM/Core/Router.php:55 #4 PMCOM\Core\Router:redirect_url in /home/tbec71889672/public_html/src/PMCOM/Core/Router.php:55 #3 PMCOM\Core\Router:_get_route in <#unknown>:0 #2 call_user_func_array in /home/tbec71889672/public_html/src/PMCOM/Core/Router.php:158 #1 PMCOM\Core\Router:__callStatic in /home/tbec71889672/public_html/index.php:99 #0 PMCOM\Core\Router:get_route in /home/tbec71889672/public_html/index.php:99

Database error: Please check the "Database Query Error" details below

/home/tbec71889672/public_html/src/PMCOM/Core/Database.php
		$handler = new \PMCOM\Core\PurposeHandler;
		$handler->addDataTable( 'Database Query Error', array(
		    'Error' => $error,
		    'Query' => $query
		));
		$run->pushHandler($handler);
		$run->register();
		Throw new \Exception( 'Database error: Please check the "Database Query Error" details below' );
	}
 
/home/tbec71889672/public_html/src/PMCOM/Core/Database.php
	private static $m_pInstance;
 
	/**
	 * The class constructer
	 */
	public function __construct()
	{
		$this->link = @mysql_connect(dbHost, dbUser, dbPass) or self::died('Server connection not possible.', "mysql_connect(" . dbHost . ", " . dbUser . ", " . dbPass . ")" );
		@mysql_query( "SET character_set_client=utf8", $this->link );
      	@mysql_query( "SET character_set_connection=utf8", $this->link );
/home/tbec71889672/public_html/src/PMCOM/Core/Database.php
		@mysql_select_db( dbName ) or self::died( 'Database connection not possible.', "mysql_select_db( " . dbName . " )" );
	}
 
	public static function getInstance()
	{
	    if (!self::$m_pInstance)
	    {
	        self::$m_pInstance = new Database();
	    }
	    return self::$m_pInstance;
/home/tbec71889672/public_html/src/PMCOM/Core/Router.php
	 * [_redirect_url description]
	 * @param  [type] $url [description]
	 * @return [type]      [description]
	 */
 
	public function _redirect_url($url)
	{
		$database = Database::getInstance();
		$redirect = $database->get('url_redirects', array('old_url' => $url, 'site_id' => SITE));
		if($redirect)
<#unknown>
/home/tbec71889672/public_html/src/PMCOM/Core/Router.php
 
	public static function __callStatic( $method, $parameters )
	{
		if( is_null( static::$instance ) )
		{
			static::$instance = new Router();
		}
		return call_user_func_array( array( static::$instance, '_' . $method ), $parameters );
	}
 
/home/tbec71889672/public_html/src/PMCOM/Core/Router.php
	 * [_get_route description]
	 * @return [type] [description]
	 */
 
	public function _get_route( $container )
	{
		$this->container = $container;
		self::redirect_url( $_SERVER['REQUEST_URI'] );
		$requestURI = explode( '?', $_SERVER['REQUEST_URI'] );
		$segments = array_filter( explode( '/', trim( $requestURI[0], '/' ) ) );
/home/tbec71889672/public_html/src/PMCOM/Core/Router.php
	 * [_get_route description]
	 * @return [type] [description]
	 */
 
	public function _get_route( $container )
	{
		$this->container = $container;
		self::redirect_url( $_SERVER['REQUEST_URI'] );
		$requestURI = explode( '?', $_SERVER['REQUEST_URI'] );
		$segments = array_filter( explode( '/', trim( $requestURI[0], '/' ) ) );
<#unknown>
/home/tbec71889672/public_html/src/PMCOM/Core/Router.php
 
	public static function __callStatic( $method, $parameters )
	{
		if( is_null( static::$instance ) )
		{
			static::$instance = new Router();
		}
		return call_user_func_array( array( static::$instance, '_' . $method ), $parameters );
	}
 
/home/tbec71889672/public_html/index.php
|---------------------------------------------------------------
| LOAD THE ROUTES CLASS
|---------------------------------------------------------------
|
| And away we go...
|
*/
PMCOM\Core\Router::get_route( $container );
/home/tbec71889672/public_html/index.php
|---------------------------------------------------------------
| LOAD THE ROUTES CLASS
|---------------------------------------------------------------
|
| And away we go...
|
*/
PMCOM\Core\Router::get_route( $container );
Key Value
Error Server connection not possible.
Query mysql_connect(localhost, ecig_retail_u, 3Flsk9*5)
Key Value
LSPHP_ENABLE_USER_INI on
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
HTTP_ACCEPT */*
CONTENT_LENGTH 0
HTTP_HOST www.thebestecigarette.co.uk
HTTP_REFERER http://www.thebestecigarette.co.uk/accessories/ecig-drip-tips/rainbow-510-stainless-steel-drip-tip/
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_HTTPS 1
REDIRECT_UNIQUE_ID Zig9SWiS7PGVB_KhE4XNJQABizE
REDIRECT_SCRIPT_URL /accessories/ecig-drip-tips/rainbow-510-stainless-steel-drip-tip/
REDIRECT_SCRIPT_URI https://www.thebestecigarette.co.uk/accessories/ecig-drip-tips/rainbow-510-stainless-steel-drip-tip/
REDIRECT_USER_ID 4182016
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI www.thebestecigarette.co.uk
REDIRECT_HTTP2 on
REDIRECT_H2PUSH off
REDIRECT_H2_PUSH off
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_STREAM_ID 1
REDIRECT_H2_STREAM_TAG 3068356-0-1
REDIRECT_STATUS 200
UNIQUE_ID Zig9SWiS7PGVB_KhE4XNJQABizE
SCRIPT_URL /accessories/ecig-drip-tips/rainbow-510-stainless-steel-drip-tip/
SCRIPT_URI https://www.thebestecigarette.co.uk/accessories/ecig-drip-tips/rainbow-510-stainless-steel-drip-tip/
USER_ID 4182016
HTTPS on
SSL_TLS_SNI www.thebestecigarette.co.uk
HTTP2 on
H2PUSH off
H2_PUSH off
H2_PUSHED
H2_PUSHED_ON
H2_STREAM_ID 1
H2_STREAM_TAG 3068356-0-1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME www.thebestecigarette.co.uk
SERVER_ADDR 92.205.89.213
SERVER_PORT 443
REMOTE_ADDR 3.141.8.247
DOCUMENT_ROOT /home/tbec71889672/public_html
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/tbec71889672/public_html
SERVER_ADMIN webmaster@thebestecigarette.co.uk
SCRIPT_FILENAME /home/tbec71889672/public_html/index.php
REMOTE_PORT 62110
REDIRECT_URL /accessories/ecig-drip-tips/rainbow-510-stainless-steel-drip-tip/
SERVER_PROTOCOL HTTP/2.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /accessories/ecig-drip-tips/rainbow-510-stainless-steel-drip-tip/
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1713913161.6293
REQUEST_TIME 1713913161
empty
empty
empty
empty
empty
Key Value
LSPHP_ENABLE_USER_INI on
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
0. PMCOM\Core\PurposeHandler