• HOME
  • Werbung
  • Ăśber Bestofnet
  • Kontakt
  • LOGIN
  • ALL
  • AT
  • DE
  • CH
  • NET
Warning (2): PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///var/run/mysqld/mysqld.sock) [CORE/Cake/Model/Datasource/Database/Mysql.php, line 149]
Code Context
                $config['password'],
                $flags
            );
$config = array(
	'password' => '*****',
	'login' => '*****',
	'host' => '*****',
	'database' => '*****',
	'port' => '*****',
	'prefix' => '*****',
	'persistent' => false,
	'datasource' => 'Database/Mysql',
	'encoding' => 'utf8'
)
$flags = array(
	(int) 12 => (int) 0,
	(int) 1000 => (int) 1,
	(int) 3 => (int) 2,
	(int) 1002 => 'SET NAMES utf8'
)
$dsn = 'mysql:host=localhost;port=3306;dbname=bestofnetsql1'
PDO::__construct() - [internal], line ??
Mysql::connect() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 149
DboSource::__construct() - CORE/Cake/Model/Datasource/DboSource.php, line 260
ConnectionManager::getDataSource() - CORE/Cake/Model/ConnectionManager.php, line 101
Model::setDataSource() - CORE/Cake/Model/Model.php, line 3158
Model::setSource() - CORE/Cake/Model/Model.php, line 1092
Model::getDataSource() - CORE/Cake/Model/Model.php, line 3180
Model::find() - CORE/Cake/Model/Model.php, line 2631
BannersHelper::getAd() - APP/Plugin/Admanager/View/Helper/BannersHelper.php, line 54
include - APP/tmp/cache/views/home.php, line 20
View::renderCache() - CORE/Cake/View/View.php, line 555
CacheDispatcher::beforeDispatch() - CORE/Cake/Routing/Filter/CacheDispatcher.php, line 58
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 246
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 141
[main] - APP/webroot/index.php, line 94