Warning (2): mysql_connect() [function.mysql-connect]: Access denied for user 'status_socialc'@'localhost' (using password: YES) [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 100]
Context |
Code$config = array("persistent" => false, "host" => "localhost", "login" => "status_socialc", "password" => "scravings", "database" => "status_socialc", "port" => "", "connect" => "mysql_pconnect", "driver" => "mysql", "schema" => "", "prefix" => "", "encoding" => "")
$connect = "mysql_pconnect"
$this->connected = false;
if (!$config['persistent'] || $config['connect'] === 'mysql_connect') {
$this->connection = mysql_connect($config['host'] . ':' . $config['port'], $config['login'], $config['password'], true);
} else {
mysql_connect - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 100
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 90
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 107
Model::setDataSource() - CORE/cake/libs/model/model.php, line 1974
Model::__construct() - CORE/cake/libs/model/model.php, line 378
AuthenticationComponent::check() - CORE/app/controllers/components/authentication.php, line 22
MainPagesController::beforeFilter() - CORE/app/controllers/main_pages_controller.php, line 9
Dispatcher::start() - CORE/cake/dispatcher.php, line 380
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 334
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 323
[main] - CORE/app/webroot/index.php, line 83
Warning: fopen(/usr/local/www/vhosts/socialcraving.com/httpdocs/app/tmp/logs/error.log) [function.fopen]: failed to open stream: Permission denied in /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/libs/file.php on line 110
Warning: [File] Could not open /usr/local/www/vhosts/socialcraving.com/httpdocs/app/tmp/logs/error.log with mode a! in /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/libs/file.php on line 111
Warning (2): mysql_select_db(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 105]
Context |
Code$config = array("persistent" => false, "host" => "localhost", "login" => "status_socialc", "password" => "scravings", "database" => "status_socialc", "port" => "", "connect" => "mysql_pconnect", "driver" => "mysql", "schema" => "", "prefix" => "", "encoding" => "")
$connect = "mysql_pconnect"
$this->connection = $connect($config['host'], $config['login'], $config['password']);
}
if (mysql_select_db($config['database'], $this->connection)) {
$this->connected = true;
mysql_select_db - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 105
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 90
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 107
Model::setDataSource() - CORE/cake/libs/model/model.php, line 1974
Model::__construct() - CORE/cake/libs/model/model.php, line 378
AuthenticationComponent::check() - CORE/app/controllers/components/authentication.php, line 22
MainPagesController::beforeFilter() - CORE/app/controllers/main_pages_controller.php, line 9
Dispatcher::start() - CORE/cake/dispatcher.php, line 380
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 334
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 323
[main] - CORE/app/webroot/index.php, line 83
Warning: fopen(/usr/local/www/vhosts/socialcraving.com/httpdocs/app/tmp/logs/error.log) [function.fopen]: failed to open stream: Permission denied in /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/libs/file.php on line 110
Warning: [File] Could not open /usr/local/www/vhosts/socialcraving.com/httpdocs/app/tmp/logs/error.log with mode a! in /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/libs/file.php on line 111
Warning (2): mysql_query(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 133]
Context |
Code$sql = "SHOW TABLES FROM `status_socialc`;"
* @access protected
*/
function _execute($sql) {
return mysql_query($sql, $this->connection);
}
mysql_query - [internal], line ??
DboMysql::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 133
DboMysql::listSources() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 145
Model::setSource() - CORE/cake/libs/model/model.php, line 744
Model::__construct() - CORE/cake/libs/model/model.php, line 388
AuthenticationComponent::check() - CORE/app/controllers/components/authentication.php, line 22
MainPagesController::beforeFilter() - CORE/app/controllers/main_pages_controller.php, line 9
Dispatcher::start() - CORE/cake/dispatcher.php, line 380
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 334
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 323
[main] - CORE/app/webroot/index.php, line 83
Warning: fopen(/usr/local/www/vhosts/socialcraving.com/httpdocs/app/tmp/logs/error.log) [function.fopen]: failed to open stream: Permission denied in /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/libs/file.php on line 110
Warning: [File] Could not open /usr/local/www/vhosts/socialcraving.com/httpdocs/app/tmp/logs/error.log with mode a! in /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/libs/file.php on line 111
Warning (2): session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/basics.php:787) [CORE/cake/libs/session.php, line 154]
Context |
Code$base = "/"
$start = true
$this->__initSession();
session_cache_limiter ("must-revalidate");
session_start();
header ('P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"');
session_start - [internal], line ??
CakeSession::__construct() - CORE/cake/libs/session.php, line 154
SessionComponent::__construct() - CORE/cake/libs/controller/components/session.php, line 54
Component::_loadComponents() - CORE/cake/libs/controller/component.php, line 127
Component::init() - CORE/cake/libs/controller/component.php, line 62
Controller::_initComponents() - CORE/cake/libs/controller/controller.php, line 327
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 79
Object::cakeError() - CORE/cake/libs/object.php, line 176
Model::setSource() - CORE/cake/libs/model/model.php, line 749
Model::__construct() - CORE/cake/libs/model/model.php, line 388
AuthenticationComponent::check() - CORE/app/controllers/components/authentication.php, line 22
MainPagesController::beforeFilter() - CORE/app/controllers/main_pages_controller.php, line 9
Dispatcher::start() - CORE/cake/dispatcher.php, line 380
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 334
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 323
[main] - CORE/app/webroot/index.php, line 83
Warning: fopen(/usr/local/www/vhosts/socialcraving.com/httpdocs/app/tmp/logs/error.log) [function.fopen]: failed to open stream: Permission denied in /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/libs/file.php on line 110
Warning: [File] Could not open /usr/local/www/vhosts/socialcraving.com/httpdocs/app/tmp/logs/error.log with mode a! in /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/libs/file.php on line 111
Warning (2): session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/basics.php:787) [CORE/cake/libs/session.php, line 154]
Context |
Code$base = "/"
$start = true
$this->__initSession();
session_cache_limiter ("must-revalidate");
session_start();
header ('P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"');
session_start - [internal], line ??
CakeSession::__construct() - CORE/cake/libs/session.php, line 154
SessionComponent::__construct() - CORE/cake/libs/controller/components/session.php, line 54
Component::_loadComponents() - CORE/cake/libs/controller/component.php, line 127
Component::init() - CORE/cake/libs/controller/component.php, line 62
Controller::_initComponents() - CORE/cake/libs/controller/controller.php, line 327
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 79
Object::cakeError() - CORE/cake/libs/object.php, line 176
Model::setSource() - CORE/cake/libs/model/model.php, line 749
Model::__construct() - CORE/cake/libs/model/model.php, line 388
AuthenticationComponent::check() - CORE/app/controllers/components/authentication.php, line 22
MainPagesController::beforeFilter() - CORE/app/controllers/main_pages_controller.php, line 9
Dispatcher::start() - CORE/cake/dispatcher.php, line 380
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 334
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 323
[main] - CORE/app/webroot/index.php, line 83
Warning: fopen(/usr/local/www/vhosts/socialcraving.com/httpdocs/app/tmp/logs/error.log) [function.fopen]: failed to open stream: Permission denied in /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/libs/file.php on line 110
Warning: [File] Could not open /usr/local/www/vhosts/socialcraving.com/httpdocs/app/tmp/logs/error.log with mode a! in /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/libs/file.php on line 111
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/basics.php:787) [CORE/cake/libs/session.php, line 155]
Context |
Code$base = "/"
$start = true
$this->__initSession();
session_cache_limiter ("must-revalidate");
session_start();
header ('P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"');
$this->__checkValid();
header - [internal], line ??
CakeSession::__construct() - CORE/cake/libs/session.php, line 155
SessionComponent::__construct() - CORE/cake/libs/controller/components/session.php, line 54
Component::_loadComponents() - CORE/cake/libs/controller/component.php, line 127
Component::init() - CORE/cake/libs/controller/component.php, line 62
Controller::_initComponents() - CORE/cake/libs/controller/controller.php, line 327
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 79
Object::cakeError() - CORE/cake/libs/object.php, line 176
Model::setSource() - CORE/cake/libs/model/model.php, line 749
Model::__construct() - CORE/cake/libs/model/model.php, line 388
AuthenticationComponent::check() - CORE/app/controllers/components/authentication.php, line 22
MainPagesController::beforeFilter() - CORE/app/controllers/main_pages_controller.php, line 9
Dispatcher::start() - CORE/cake/dispatcher.php, line 380
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 334
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 323
[main] - CORE/app/webroot/index.php, line 83
Warning: fopen(/usr/local/www/vhosts/socialcraving.com/httpdocs/app/tmp/logs/error.log) [function.fopen]: failed to open stream: Permission denied in /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/libs/file.php on line 110
Warning: [File] Could not open /usr/local/www/vhosts/socialcraving.com/httpdocs/app/tmp/logs/error.log with mode a! in /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/libs/file.php on line 111
Missing Database Table »
Missing Database Table »
Missing Database Table »
Notice (8): Undefined variable: settings [CORE/app/views/layouts/default.thtml, line 31]
Context |
Code$this = View object
$___viewFn = "/usr/local/www/vhosts/socialcraving.com/httpdocs/app/views/layouts/default.thtml"
$___dataForView = array("model" => "Setting", "table" => "settings", "title_for_layout" => "Missing Database Table", "content_for_layout" => "Missing Database Table
No Database table for model Setting (expected settings), create it first.
Notice:
If you want to customize this error message, create app/views/errors/missing_table.ctp
", "scripts_for_layout" => "", "cakeDebug" => "", "html" => HtmlHelper object, "session" => SessionHelper object)
$loadHelpers = false
$cached = true
$model = "Setting"
$table = "settings"
$title_for_layout = "Missing Database Table"
$content_for_layout = "Missing Database Table
No Database table for model Setting (expected settings), create it first.
Notice:
If you want to customize this error message, create app/views/errors/missing_table.ctp
"
$scripts_for_layout = ""
$cakeDebug = ""
$html = HtmlHelper object
$session = SessionHelper object
$BASE = null
$params = array("models" => array)
$page_title = "Missing Database Table"
?>
<html>
<head>
<title><?php if($title_for_layout){echo $title_for_layout . " » ";}?><?=$settings->get("application.title");?></title>
<meta name="verify-v1" content="vY89ibPkT9PCD4Wm/maMBBNlnb48kA2YatKXX/tveIk=" />
include - CORE/app/views/layouts/default.thtml, line 31
View::_render() - CORE/cake/libs/view/view.php, line 779
View::renderLayout() - CORE/cake/libs/view/view.php, line 492
View::render() - CORE/cake/libs/view/view.php, line 353
Controller::render() - CORE/cake/libs/controller/controller.php, line 623
ErrorHandler::missingTable() - CORE/cake/libs/error.php, line 213
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 91
Object::cakeError() - CORE/cake/libs/object.php, line 176
Model::setSource() - CORE/cake/libs/model/model.php, line 749
Model::__construct() - CORE/cake/libs/model/model.php, line 388
SettingsHelper::get() - CORE/app/views/helpers/settings.php, line 6
include - CORE/app/views/layouts/default.thtml, line 31
View::_render() - CORE/cake/libs/view/view.php, line 779
View::renderLayout() - CORE/cake/libs/view/view.php, line 492
View::render() - CORE/cake/libs/view/view.php, line 353
Controller::render() - CORE/cake/libs/controller/controller.php, line 623
ErrorHandler::missingTable() - CORE/cake/libs/error.php, line 213
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 91
Object::cakeError() - CORE/cake/libs/object.php, line 176
Model::setSource() - CORE/cake/libs/model/model.php, line 749
Model::__construct() - CORE/cake/libs/model/model.php, line 388
SettingsHelper::get() - CORE/app/views/helpers/settings.php, line 6
include - CORE/app/views/layouts/default.thtml, line 31
View::_render() - CORE/cake/libs/view/view.php, line 779
View::renderLayout() - CORE/cake/libs/view/view.php, line 492
View::render() - CORE/cake/libs/view/view.php, line 353
Controller::render() - CORE/cake/libs/controller/controller.php, line 623
ErrorHandler::missingTable() - CORE/cake/libs/error.php, line 213
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 91
Object::cakeError() - CORE/cake/libs/object.php, line 176
Model::setSource() - CORE/cake/libs/model/model.php, line 749
Model::__construct() - CORE/cake/libs/model/model.php, line 388
AuthenticationComponent::check() - CORE/app/controllers/components/authentication.php, line 22
MainPagesController::beforeFilter() - CORE/app/controllers/main_pages_controller.php, line 9
Dispatcher::start() - CORE/cake/dispatcher.php, line 380
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 334
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 323
[main] - CORE/app/webroot/index.php, line 83
Warning: fopen(/usr/local/www/vhosts/socialcraving.com/httpdocs/app/tmp/logs/debug.log) [function.fopen]: failed to open stream: Permission denied in /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/libs/file.php on line 110
Warning: [File] Could not open /usr/local/www/vhosts/socialcraving.com/httpdocs/app/tmp/logs/debug.log with mode a! in /usr/local/www/vhosts/socialcraving.com/httpdocs/cake/libs/file.php on line 111
Fatal error: Call to a member function get() on a non-object in /usr/local/www/vhosts/socialcraving.com/httpdocs/app/views/layouts/default.thtml on line 31