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 : 54.235.20.17
REMOTE_PORT : 60024
SCRIPT_FILENAME : /var/www/www.stretche.com/demo/index.php
REQUEST_METHOD : GET
QUERY_STRING :
REQUEST_URI : /
#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/views/commonHeader.view.php:4]
#7 include(/var/www/www.stretche.com/demo/views/commonHeader.view.php) called at [/var/www/www.stretche.com/demo/views/layouts/defaultparts/body.view.php:28]
#8 require_once(/var/www/www.stretche.com/demo/views/layouts/defaultparts/body.view.php) called at [/var/www/www.stretche.com/demo/views/layouts/defaultlayout.php:3]
#9 include(/var/www/www.stretche.com/demo/views/layouts/defaultlayout.php) called at [/var/www/www.stretche.com/demo/classes/viewclasses/viewbag.class.php:57]
#10 Stretche\Classes\ViewClasses\ViewBag->render() called at [/var/www/www.stretche.com/demo/classes/viewclasses/view.class.php:86]
#11 Stretche\Classes\ViewClasses\View->render(Array ([page_include] => home.view.php,[view_data] => Array ([page_title] => StretchE.com | Free discounts and coupons,[page_descriptions] => StretchE.com is a directory of amazing deals and coupons! Free to download and no upfront payment! Get saving today!,[page_keywords] => Promo, Discount, Coupon, Deal,[page_image] => /demo/images/review_stretche.jpg,[page_js] => Array ([0] => /demo/library/jquery/cycle.js,[1] => /demo/library/jquery/slideshow.js,[2] => /demo/library/jquery/stepcarousel.js,[3] => /demo/js/home.js,[4] => /demo/js/dealDetails.js)))) called at [/var/www/www.stretche.com/demo/controllers/realones/Home_Controller.php:22]
#12 Stretche\Controllers\Home_Controller->action_index() called at [/var/www/www.stretche.com/demo/classes/request.class.php:89]
#13 Stretche\Classes\Request::helpercallcontroller(Array ([controller] => home,[action] => index,[params] => Array ()), \Stretche\Controllers\, _Controller, \Stretche\Controllers\MainSiteBaseController) called at [/var/www/www.stretche.com/demo/classes/request.class.php:70]
#14 Stretche\Classes\Request->helperDispatchAction(desktop) called at [/var/www/www.stretche.com/demo/classes/request.class.php:30]
#15 Stretche\Classes\Request->dispatchAction() called at [/var/www/www.stretche.com/demo/index.php:213]
#16 {closure}()
#17 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/views/commonHeader.view.php(4): Stretche\Classes\Application::instance()
#7 /var/www/www.stretche.com/demo/views/layouts/defaultparts/body.view.php(28): i in
/var/www/www.stretche.com/classes/class_mysql.php on line
135