Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'phpuser'@'vps-1124193-14853.manage.myhosting.com' (using password: YES) in /var/www/www.stretche.com/classes/class_mysql.php on line 38
db_host: www.stretche.com
db_user:phpuser
db_name:stretchemain
ERROR: http://www.stretche.com/demo/index.php
Query: constructor: mysql_connect
_SERVER data
REMOTE_ADDR : 107.21.156.140
REMOTE_PORT : 41335
SCRIPT_FILENAME : /var/www/www.stretche.com/demo/index.php
REQUEST_METHOD : GET
QUERY_STRING : page=dealdetails&listing_id=432&location_id=276
REQUEST_URI : /business432/BennysTacosampRotisserie/276
#0 mysql->_handle_error(constructor: mysql_connect, 1) called at [/var/www/www.stretche.com/classes/class_mysql.php:46]
#1 mysql->mysql(DIRECTORYDB) called at [/var/www/www.stretche.com/functions/db_funct.php:24]
#2 db_getDBObject() called at [/var/www/www.stretche.com/demo/model/search.class.php:808]
#3 Search->logImpressions(Array ([0] => 432), , , pageview) called at [/var/www/www.stretche.com/demo/controllers/getDeal.controller.php:43]
#4 include_once(/var/www/www.stretche.com/demo/controllers/getDeal.controller.php) called at [/var/www/www.stretche.com/demo/index.php:105]
#5 {closure}()
#6 call_user_func(Closure Object ()) called at [/var/www/www.stretche.com/demo/index.php:215]
Fatal error: Uncaught exception 'Exception' with message 'Access denied for user 'phpuser'@'vps-1124193-14853.manage.myhosting.com' (using password: YES)' in /var/www/www.stretche.com/classes/class_mysql.php:135
Stack trace:
#0 /var/www/www.stretche.com/classes/class_mysql.php(46): mysql->_handle_error('constructor: my...', 1)
#1 /var/www/www.stretche.com/functions/db_funct.php(24): mysql->mysql('DIRECTORYDB')
#2 /var/www/www.stretche.com/demo/model/search.class.php(808): db_getDBObject()
#3 /var/www/www.stretche.com/demo/controllers/getDeal.controller.php(43): Search->logImpressions(Array, '', '', 'pageview')
#4 /var/www/www.stretche.com/demo/index.php(105): include_once('/var/www/www.st...')
#5 [internal function]: {closure}()
#6 /var/www/www.stretche.com/demo/index.php(215): call_user_func(Object(Closure))
#7 {main}
thrown in /var/www/www.stretche.com/classes/class_mysql.php on line 135