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 : 50.19.155.235
REMOTE_PORT : 49803
SCRIPT_FILENAME : /var/www/www.stretche.com/demo/index.php
REQUEST_METHOD : GET
QUERY_STRING : page=directory_list&q=Auto+Repair&num=1&radius=20&rpp=50
REQUEST_URI : /directory/Auto+Repair/1/20/50
#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/models/users/webuser.class.php:207]
#3 Stretche\Models\Users\WebUser->__construct() called at [/var/www/www.stretche.com/demo/classes/application.class.php:61]
#4 Stretche\Classes\Application->updateLoggedInUser() called at [/var/www/www.stretche.com/demo/classes/application.class.php:33]
#5 Stretche\Classes\Application->__construct() called at [/var/www/www.stretche.com/demo/classes/application.class.php:42]
#6 Stretche\Classes\Application::instance() called at [/var/www/www.stretche.com/demo/controllers/location.controller.php:4]
#7 include_once(/var/www/www.stretche.com/demo/controllers/location.controller.php) called at [/var/www/www.stretche.com/demo/index.php:204]
#8 {closure}()
#9 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/models/users/webuser.class.php(207): db_getDBObject()
#3 /var/www/www.stretche.com/demo/classes/application.class.php(61): Stretche\Models\Users\WebUser->__construct()
#4 /var/www/www.stretche.com/demo/classes/application.class.php(33): Stretche\Classes\Application->updateLoggedInUser()
#5 /var/www/www.stretche.com/demo/classes/application.class.php(42): Stretche\Classes\Application->__construct()
#6 /var/www/www.stretche.com/demo/controllers/location.controller.php(4): Stretche\Classes\Application::instance()
#7 /var/www/www.stretche.com/demo/index.php(204): include_once('/var/www/ in /var/www/www.stretche.com/classes/class_mysql.php on line 135