Warning: mysql_connect(): Connection refused in /home/cairnsaccomm/public_html/include/DBWrapper.class.php on line 66
$this->dbconn=@mysql_connect($this->db_vars['host'],$this->db_vars['user'],$this->db_vars['pass'],true);
file: 158 - /home/cairnsaccomm/public_html/include/error_handler.run.php call: render_backtrace() file: - call: php_error_handler(2, "mysql_connect(): Connection refused", "/home/cairnsaccomm/public_html/include/DBWrapper.class.php", 66, Array(2)) file: 66 - /home/cairnsaccomm/public_html/include/DBWrapper.class.php call: mysql_connect("122.201.119.29", "dcmres_pub02", "dormos3", True) file: 22 - /home/cairnsaccomm/public_html/include/init.run.php call: DBWrapper->DBWrapper("mysql://dcmres_pub02:dormos3@122.201.119.29/dcmresau_public") file: 4 - /home/cairnsaccomm/public_html/index.php call: require_once("/home/cairnsaccomm/public_html/include/init.run.php")
Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/cairnsaccomm/public_html/include/DBWrapper.class.php on line 44
$this->error_string=mysql_error($this->dbconn);
file: 158 - /home/cairnsaccomm/public_html/include/error_handler.run.php call: render_backtrace() file: - call: php_error_handler(2, "mysql_error() expects parameter 1 to be resource, boolean given", "/home/cairnsaccomm/public_html/include/DBWrapper.class.php", 44, Array(5)) file: 44 - /home/cairnsaccomm/public_html/include/DBWrapper.class.php call: mysql_error(False) file: 68 - /home/cairnsaccomm/public_html/include/DBWrapper.class.php call: DBWrapper->error_check(False, "Connect") file: 22 - /home/cairnsaccomm/public_html/include/init.run.php call: DBWrapper->DBWrapper("mysql://dcmres_pub02:dormos3@122.201.119.29/dcmresau_public") file: 4 - /home/cairnsaccomm/public_html/index.php call: require_once("/home/cairnsaccomm/public_html/include/init.run.php")
User Error: In dbw.Connect() in /home/cairnsaccomm/public_html/include/DBWrapper.class.php on line 30
trigger_error($error_string,E_USER_ERROR);
file: 158 - /home/cairnsaccomm/public_html/include/error_handler.run.php call: render_backtrace() file: - call: php_error_handler(256, " In dbw.Connect()", "/home/cairnsaccomm/public_html/include/DBWrapper.class.php", 30, Array(6)) file: 30 - /home/cairnsaccomm/public_html/include/DBWrapper.class.php call: trigger_error(" In dbw.Connect()", 256) file: 46 - /home/cairnsaccomm/public_html/include/DBWrapper.class.php call: DBWrapper->error_handler(" In dbw.Connect()", Null, Object(DBWrapper)) file: 68 - /home/cairnsaccomm/public_html/include/DBWrapper.class.php call: DBWrapper->error_check(False, "Connect") file: 22 - /home/cairnsaccomm/public_html/include/init.run.php call: DBWrapper->DBWrapper("mysql://dcmres_pub02:dormos3@122.201.119.29/dcmresau_public") file: 4 - /home/cairnsaccomm/public_html/index.php call: require_once("/home/cairnsaccomm/public_html/include/init.run.php") file: 160 - /home/cairnsaccomm/public_html/include/error_handler.run.php call: render_backtrace() file: - call: php_error_handler(256, " In dbw.Connect()", "/home/cairnsaccomm/public_html/include/DBWrapper.class.php", 30, Array(6)) file: 30 - /home/cairnsaccomm/public_html/include/DBWrapper.class.php call: trigger_error(" In dbw.Connect()", 256) file: 46 - /home/cairnsaccomm/public_html/include/DBWrapper.class.php call: DBWrapper->error_handler(" In dbw.Connect()", Null, Object(DBWrapper)) file: 68 - /home/cairnsaccomm/public_html/include/DBWrapper.class.php call: DBWrapper->error_check(False, "Connect") file: 22 - /home/cairnsaccomm/public_html/include/init.run.php call: DBWrapper->DBWrapper("mysql://dcmres_pub02:dormos3@122.201.119.29/dcmresau_public") file: 4 - /home/cairnsaccomm/public_html/index.php call: require_once("/home/cairnsaccomm/public_html/include/init.run.php") (array) _GET: (string) page = tours (string) style = island (string) id = cairns end. (array) _POST: (empty) (array) _COOKIE: (empty) (array) _FILES: (empty) (array) _SERVER: (string) TZ = Australia/Sydney (string) REDIRECT_REDIRECT_UNIQUE_ID = WuLFP3fd1GgJkopAa4CWAQAAABI (string) REDIRECT_REDIRECT_SCRIPT_URL = /tours/island/cairns (string) REDIRECT_REDIRECT_SCRIPT_URI = http://www.cairnsaccommodation.com.au/tours/island/cairns (string) REDIRECT_REDIRECT_STATUS = 200 (string) REDIRECT_UNIQUE_ID = WuLFP3fd1GgJkopAa4CWAQAAABI (string) REDIRECT_SCRIPT_URL = /tours/island/cairns (string) REDIRECT_SCRIPT_URI = http://www.cairnsaccommodation.com.au/tours/island/cairns (string) REDIRECT_HANDLER = application/x-httpd-ea-php56 (string) REDIRECT_STATUS = 200 (string) UNIQUE_ID = WuLFP3fd1GgJkopAa4CWAQAAABI (string) SCRIPT_URL = /tours/island/cairns (string) SCRIPT_URI = http://www.cairnsaccommodation.com.au/tours/island/cairns (string) HTTP_HOST = www.cairnsaccommodation.com.au (string) HTTP_ACCEPT_ENCODING = x-gzip, gzip, deflate (string) HTTP_USER_AGENT = CCBot/2.0 (http://commoncrawl.org/faq/) (string) HTTP_ACCEPT = text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 (string) HTTP_IF_MODIFIED_SINCE = Fri, 19 Jan 2018 07:42:55 GMT (string) PATH = /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin (string) SERVER_SIGNATURE = (none) (string) SERVER_SOFTWARE = Apache (string) SERVER_NAME = www.cairnsaccommodation.com.au (string) SERVER_ADDR = 118.127.60.241 (string) SERVER_PORT = 80 (string) REMOTE_ADDR = 54.224.100.134 (string) DOCUMENT_ROOT = /home/cairnsaccomm/public_html (string) REQUEST_SCHEME = http (string) CONTEXT_PREFIX = /cgi-sys (string) CONTEXT_DOCUMENT_ROOT = /usr/local/cpanel/cgi-sys/ (string) SERVER_ADMIN = webmaster@cairnsaccommodation.com.au (string) SCRIPT_FILENAME = /home/cairnsaccomm/public_html/index.php (string) REMOTE_PORT = 33642 (string) REDIRECT_URL = /index.php (string) REDIRECT_QUERY_STRING = page=tours&style=island&id=cairns (string) GATEWAY_INTERFACE = CGI/1.1 (string) SERVER_PROTOCOL = HTTP/1.0 (string) REQUEST_METHOD = GET (string) QUERY_STRING = page=tours&style=island&id=cairns (string) REQUEST_URI = /tours/island/cairns (string) SCRIPT_NAME = /index.php (string) ORIG_SCRIPT_FILENAME = /usr/local/cpanel/cgi-sys/ea-php56 (string) ORIG_PATH_INFO = /index.php (string) ORIG_PATH_TRANSLATED = /home/cairnsaccomm/public_html/index.php (string) ORIG_SCRIPT_NAME = /cgi-sys/ea-php56 (string) PHP_SELF = /index.php (double) REQUEST_TIME_FLOAT = 1524811071.5751 (integer) REQUEST_TIME = 1524811071 (array) argv: (string) 0 = page=tours&style=island&id=cairns end. (integer) argc = 1 end. (array) _REQUEST: (string) page = tours (string) style = island (string) id = cairns end. (array) _SESSION: (empty) (boolean) isIE = (none) (string) server = live (array) GLOBALS: *** Avoiding Recursive GLOBALS *** (NULL) old_error_handler = (none) (NULL) PHP_SELF = (none) end.