Warning (2): mysql_connect() [function.mysql-connect]: No such file or directory [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 561]Code |
Context
if (!$config['persistent']) {
$this->connection = mysql_connect($config['host'] . ':' . $config['port'], $config['login'], $config['password'], true);
$config = array(
"persistent" => false,
"host" => "*****",
"login" => "*****",
"password" => "*****",
"database" => "*****",
"port" => "*****",
"driver" => "mysql",
"prefix" => "*****"
)
mysql_connect - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 561
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 143
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 114
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2852
Model::__construct() - CORE/cake/libs/model/model.php, line 469
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 150
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 502
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 86
Warning (2): mysql_query() expects parameter 2 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 613]Code |
Context */
function _execute($sql) {
return mysql_query($sql, $this->connection);
$sql = "SHOW FULL COLUMNS FROM `pc_contents`"
mysql_query - [internal], line ??
DboMysql::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 613
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 253
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 287
DboMysqlBase::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 125
Model::schema() - CORE/cake/libs/model/model.php, line 929
Model::setSource() - CORE/cake/libs/model/model.php, line 780
Model::__construct() - CORE/cake/libs/model/model.php, line 474
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 150
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 502
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 86
Warning (2): mysql_errno() expects parameter 1 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 695]Code */
function lastError() {
if (mysql_errno($this->connection)) {
mysql_errno - [internal], line ??
DboMysql::lastError() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 695
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 257
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 287
DboMysqlBase::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 125
Model::schema() - CORE/cake/libs/model/model.php, line 929
Model::setSource() - CORE/cake/libs/model/model.php, line 780
Model::__construct() - CORE/cake/libs/model/model.php, line 474
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 150
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 502
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 86
Warning (2): Invalid argument supplied for foreach() [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 127]Code |
Context $db->cacheSources = ($this->cacheSources && $db->cacheSources);
if ($db->isInterfaceSupported('describe') && $this->useTable !== false) {
$this->_schema = $db->describe($this, $field);
$model = AppModel
AppModel::$useDbConfig = "default"
AppModel::$useTable = "contents"
AppModel::$displayField = NULL
AppModel::$id = NULL
AppModel::$data = array
AppModel::$table = "contents"
AppModel::$primaryKey = "id"
AppModel::$_schema = NULL
AppModel::$validate = array
AppModel::$validationErrors = array
AppModel::$tablePrefix = "pc_"
AppModel::$name = "Content"
AppModel::$alias = "Content"
AppModel::$tableToModel = array
AppModel::$logTransactions = false
AppModel::$cacheQueries = false
AppModel::$belongsTo = array
AppModel::$hasOne = array
AppModel::$hasMany = array
AppModel::$hasAndBelongsToMany = array
AppModel::$actsAs = NULL
AppModel::$Behaviors = BehaviorCollection object
AppModel::$whitelist = array
AppModel::$cacheSources = true
AppModel::$findQueryType = NULL
AppModel::$recursive = 1
AppModel::$order = NULL
AppModel::$virtualFields = array
AppModel::$__associationKeys = array
AppModel::$__associations = array
AppModel::$__backAssociation = array
AppModel::$__insertID = NULL
AppModel::$__numRows = NULL
AppModel::$__affectedRows = NULL
AppModel::$_findMethods = array
$cache = null
$fields = false
$cols = false
DboMysqlBase::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 127
Model::schema() - CORE/cake/libs/model/model.php, line 929
Model::setSource() - CORE/cake/libs/model/model.php, line 780
Model::__construct() - CORE/cake/libs/model/model.php, line 474
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 150
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 502
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 86
Warning (2): mysql_real_escape_string() expects parameter 2 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 684]Code |
Context }
default:
return "'" . mysql_real_escape_string($data, $this->connection) . "'";
$data = "index"
$column = "string"
$safe = false
$parent = null
mysql_real_escape_string - [internal], line ??
DboMysql::value() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 684
DboSource::__parseKey() - CORE/cake/libs/model/datasources/dbo_source.php, line 2290
DboSource::conditionKeysToString() - CORE/cake/libs/model/datasources/dbo_source.php, line 2232
DboSource::conditionKeysToString() - CORE/cake/libs/model/datasources/dbo_source.php, line 2175
DboSource::conditions() - CORE/cake/libs/model/datasources/dbo_source.php, line 2112
DboSource::buildStatement() - CORE/cake/libs/model/datasources/dbo_source.php, line 1473
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1263
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 819
Model::find() - CORE/cake/libs/model/model.php, line 2142
AppController::beforeFilter() - APP/app_controller.php, line 24
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 522
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 86
http://beecheyspostcardhistory.org.au/
yearly
http://beecheyspostcardhistory.org.au/homes
yearly
http://beecheyspostcardhistory.org.au/homes/aboutus
yearly
http://beecheyspostcardhistory.org.au/homes/contactus
yearly
http://beecheyspostcardhistory.org.au/homes/links
yearly
http://beecheyspostcardhistory.org.au/homes/acquisition
yearly
http://beecheyspostcardhistory.org.au/homes/specialpicks
yearly