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.22.156.205
REMOTE_PORT : 49714
SCRIPT_FILENAME : /var/www/www.stretche.com/demo/index.php
REQUEST_METHOD : GET
QUERY_STRING : page=category&category_id=11539&q=Beauty
REQUEST_URI : /beauty
#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:631]
#3 Search->byTerm(Beauty) called at [/var/www/www.stretche.com/demo/controllers/searchDeals.controller.php:108]
#4 include_once(/var/www/www.stretche.com/demo/controllers/searchDeals.controller.php) called at [/var/www/www.stretche.com/demo/index.php:88]
#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(631): db_getDBObject()
#3 /var/www/www.stretche.com/demo/controllers/searchDeals.controller.php(108): Search->byTerm('Beauty')
#4 /var/www/www.stretche.com/demo/index.php(88): 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