getConnect(); return $this->conn; } /**************************************************************** * * set mysql database server connection * first define constant host, username, password * db name in config.php file * ****************************************************************/ private function getConnect() { $this->conn = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD) or die($this->error("Problem In Database Connection!", "There is some problem in database connection.\nPlease check your databse host name, username and password!")); //echo DB_NAME; if (is_resource($this->conn)) { mysql_select_db(DB_NAME) or die($this->error("Problem In Selecting Database!", "There is some problem in database selection.\nplease check database exists or database name is correct.")); } return $this->conn; } } ?>
( ! ) Fatal error: Uncaught Error: Class 'dbconn' not found in /data/httpd_data/vccedge-support-system/htdocs/www-vccedge-com/media_pressrelease_page.php on line 11
Call Stack
#TimeMemoryFunctionLocation
10.0002470208newrelic_exception_handler ( ).../UNKNOWN?:0
( ! ) Error: Class 'dbconn' not found in /data/httpd_data/vccedge-support-system/htdocs/www-vccedge-com/media_pressrelease_page.php on line 11
Call Stack
#TimeMemoryFunctionLocation
10.0000462592{main}( ).../media_pressrelease_page.php:0