Warning (2) : mysqli::mysqli(): (HY000/2005): Unknown MySQL server host 'mysql51-115.bdb' (2) [APP/Config/bootstrap.php , line 37 ]Code Context }
$mysqli = new mysqli ( "mysql51-115.bdb" , "francosccake" , "1Eoi7Qcz0wFb" , "francosccake" );
$boot = true
$engine = 'File'
$duration = '+10 seconds'
$prefix = 'frs_'
$exception = array(
'handler' => 'ErrorHandler::handleException'
)
$error = array(
'handler' => 'ErrorHandler::handleError',
'level' => (int) 24575
) mysqli::mysqli() - [internal], line ??
include - APP/Config/bootstrap.php, line 37
Configure::bootstrap() - ROOT/cakelib/lib/Cake/Core/Configure.php, line 92
include - ROOT/cakelib/lib/Cake/bootstrap.php, line 175
[main] - APP/webroot/index.php, line 85 Warning (2) : mysqli::query() [mysqli.query ]: Couldn't fetch mysqli [APP/Config/bootstrap.php , line 39 ]Code Context $mysqli = new mysqli ( "mysql51-115.bdb" , "francosccake" , "1Eoi7Qcz0wFb" , "francosccake" );
$guestip = clientIp ();
$result = $mysqli -> query ( "SELECT mybb_users.uid, mybb_users.username, mybb_users.usergroup FROM mybb_sessions LEFT JOIN mybb_users ON (mybb_users.uid = mybb_sessions.uid) WHERE mybb_users.lastip ='" . $guestip . "' AND mybb_sessions.uid<>0 AND mybb_users.tempoban = 0 ORDER BY mybb_users.lastactive DESC LIMIT 1;" );
$boot = true
$engine = 'File'
$duration = '+10 seconds'
$prefix = 'frs_'
$exception = array(
'handler' => 'ErrorHandler::handleException'
)
$error = array(
'handler' => 'ErrorHandler::handleError',
'level' => (int) 24575
)
$mysqli = object(mysqli) {
affected_rows => null
client_info => null
client_version => null
connect_errno => null
connect_error => null
errno => null
error => null
error_list => null
field_count => null
host_info => null
info => null
insert_id => null
server_info => null
server_version => null
stat => null
sqlstate => null
protocol_version => null
thread_id => null
warning_count => null
}
$guestip = '3.238.180.255' mysqli::query() - [internal], line ??
include - APP/Config/bootstrap.php, line 39
Configure::bootstrap() - ROOT/cakelib/lib/Cake/Core/Configure.php, line 92
include - ROOT/cakelib/lib/Cake/bootstrap.php, line 175
[main] - APP/webroot/index.php, line 85 Warning (2) : mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given [APP/Config/bootstrap.php , line 40 ]Code Context $guestip = clientIp ();
$result = $mysqli -> query ( "SELECT mybb_users.uid, mybb_users.username, mybb_users.usergroup FROM mybb_sessions LEFT JOIN mybb_users ON (mybb_users.uid = mybb_sessions.uid) WHERE mybb_users.lastip ='" . $guestip . "' AND mybb_sessions.uid<>0 AND mybb_users.tempoban = 0 ORDER BY mybb_users.lastactive DESC LIMIT 1;" );
$user = mysqli_fetch_array ( $result );
$boot = true
$engine = 'File'
$duration = '+10 seconds'
$prefix = 'frs_'
$exception = array(
'handler' => 'ErrorHandler::handleException'
)
$error = array(
'handler' => 'ErrorHandler::handleError',
'level' => (int) 24575
)
$mysqli = object(mysqli) {
affected_rows => null
client_info => null
client_version => null
connect_errno => null
connect_error => null
errno => null
error => null
error_list => null
field_count => null
host_info => null
info => null
insert_id => null
server_info => null
server_version => null
stat => null
sqlstate => null
protocol_version => null
thread_id => null
warning_count => null
}
$guestip = '3.238.180.255'
$result = null mysqli_fetch_array - [internal], line ??
include - APP/Config/bootstrap.php, line 40
Configure::bootstrap() - ROOT/cakelib/lib/Cake/Core/Configure.php, line 92
include - ROOT/cakelib/lib/Cake/bootstrap.php, line 175
[main] - APP/webroot/index.php, line 85 Warning (2) : mysqli_free_result() expects parameter 1 to be mysqli_result, null given [APP/Config/bootstrap.php , line 41 ]Code Context $result = $mysqli -> query ( "SELECT mybb_users.uid, mybb_users.username, mybb_users.usergroup FROM mybb_sessions LEFT JOIN mybb_users ON (mybb_users.uid = mybb_sessions.uid) WHERE mybb_users.lastip ='" . $guestip . "' AND mybb_sessions.uid<>0 AND mybb_users.tempoban = 0 ORDER BY mybb_users.lastactive DESC LIMIT 1;" );
$user = mysqli_fetch_array ( $result );
mysqli_free_result ( $result );
$boot = true
$engine = 'File'
$duration = '+10 seconds'
$prefix = 'frs_'
$exception = array(
'handler' => 'ErrorHandler::handleException'
)
$error = array(
'handler' => 'ErrorHandler::handleError',
'level' => (int) 24575
)
$mysqli = object(mysqli) {
affected_rows => null
client_info => null
client_version => null
connect_errno => null
connect_error => null
errno => null
error => null
error_list => null
field_count => null
host_info => null
info => null
insert_id => null
server_info => null
server_version => null
stat => null
sqlstate => null
protocol_version => null
thread_id => null
warning_count => null
}
$guestip = '3.238.180.255'
$result = null
$user = null mysqli_free_result - [internal], line ??
include - APP/Config/bootstrap.php, line 41
Configure::bootstrap() - ROOT/cakelib/lib/Cake/Core/Configure.php, line 92
include - ROOT/cakelib/lib/Cake/bootstrap.php, line 175
[main] - APP/webroot/index.php, line 85 Warning (2) : mysqli::query() [mysqli.query ]: Couldn't fetch mysqli [APP/Config/bootstrap.php , line 45 ]Code Context $gid = $user [ 'usergroup' ];
$username = $user [ 'username' ];
$admin = $mysqli -> query ( "SELECT mybb_usergroups.cancp FROM mybb_users LEFT JOIN mybb_usergroups ON (mybb_users.usergroup = mybb_usergroups.gid) WHERE mybb_users.uid = '" . $uid . "' ;" );
$boot = true
$engine = 'File'
$duration = '+10 seconds'
$prefix = 'frs_'
$exception = array(
'handler' => 'ErrorHandler::handleException'
)
$error = array(
'handler' => 'ErrorHandler::handleError',
'level' => (int) 24575
)
$mysqli = object(mysqli) {
affected_rows => null
client_info => null
client_version => null
connect_errno => null
connect_error => null
errno => null
error => null
error_list => null
field_count => null
host_info => null
info => null
insert_id => null
server_info => null
server_version => null
stat => null
sqlstate => null
protocol_version => null
thread_id => null
warning_count => null
}
$guestip = '3.238.180.255'
$result = null
$user = null
$uid = null
$gid = null
$username = null mysqli::query() - [internal], line ??
include - APP/Config/bootstrap.php, line 45
Configure::bootstrap() - ROOT/cakelib/lib/Cake/Core/Configure.php, line 92
include - ROOT/cakelib/lib/Cake/bootstrap.php, line 175
[main] - APP/webroot/index.php, line 85 Warning (2) : mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given [APP/Config/bootstrap.php , line 46 ]Code Context $username = $user [ 'username' ];
$admin = $mysqli -> query ( "SELECT mybb_usergroups.cancp FROM mybb_users LEFT JOIN mybb_usergroups ON (mybb_users.usergroup = mybb_usergroups.gid) WHERE mybb_users.uid = '" . $uid . "' ;" );
$isAdmin = mysqli_fetch_array ( $admin );
$boot = true
$engine = 'File'
$duration = '+10 seconds'
$prefix = 'frs_'
$exception = array(
'handler' => 'ErrorHandler::handleException'
)
$error = array(
'handler' => 'ErrorHandler::handleError',
'level' => (int) 24575
)
$mysqli = object(mysqli) {
affected_rows => null
client_info => null
client_version => null
connect_errno => null
connect_error => null
errno => null
error => null
error_list => null
field_count => null
host_info => null
info => null
insert_id => null
server_info => null
server_version => null
stat => null
sqlstate => null
protocol_version => null
thread_id => null
warning_count => null
}
$guestip = '3.238.180.255'
$result = null
$user = null
$uid = null
$gid = null
$username = null
$admin = null mysqli_fetch_array - [internal], line ??
include - APP/Config/bootstrap.php, line 46
Configure::bootstrap() - ROOT/cakelib/lib/Cake/Core/Configure.php, line 92
include - ROOT/cakelib/lib/Cake/bootstrap.php, line 175
[main] - APP/webroot/index.php, line 85 Warning (2) : mysqli_free_result() expects parameter 1 to be mysqli_result, null given [APP/Config/bootstrap.php , line 47 ]Code Context $admin = $mysqli -> query ( "SELECT mybb_usergroups.cancp FROM mybb_users LEFT JOIN mybb_usergroups ON (mybb_users.usergroup = mybb_usergroups.gid) WHERE mybb_users.uid = '" . $uid . "' ;" );
$isAdmin = mysqli_fetch_array ( $admin );
mysqli_free_result ( $admin );
$boot = true
$engine = 'File'
$duration = '+10 seconds'
$prefix = 'frs_'
$exception = array(
'handler' => 'ErrorHandler::handleException'
)
$error = array(
'handler' => 'ErrorHandler::handleError',
'level' => (int) 24575
)
$mysqli = object(mysqli) {
affected_rows => null
client_info => null
client_version => null
connect_errno => null
connect_error => null
errno => null
error => null
error_list => null
field_count => null
host_info => null
info => null
insert_id => null
server_info => null
server_version => null
stat => null
sqlstate => null
protocol_version => null
thread_id => null
warning_count => null
}
$guestip = '3.238.180.255'
$result = null
$user = null
$uid = null
$gid = null
$username = null
$admin = null
$isAdmin = null mysqli_free_result - [internal], line ??
include - APP/Config/bootstrap.php, line 47
Configure::bootstrap() - ROOT/cakelib/lib/Cake/Core/Configure.php, line 92
include - ROOT/cakelib/lib/Cake/bootstrap.php, line 175
[main] - APP/webroot/index.php, line 85 Warning (2) : mysqli::close() [mysqli.close ]: Couldn't fetch mysqli [APP/Config/bootstrap.php , line 54 ]Code Context $isAdmin = (!empty( $siteAdmin )) ? 1 : $isAdmin ;
Configure :: write ( 'user' , array( 'name' => $username , 'uid' => $uid , 'gid' => $gid , 'isAdmin' => $isAdmin ));
$mysqli -> close ();
$boot = true
$engine = 'File'
$duration = '+10 seconds'
$prefix = 'frs_'
$exception = array(
'handler' => 'ErrorHandler::handleException'
)
$error = array(
'handler' => 'ErrorHandler::handleError',
'level' => (int) 24575
)
$mysqli = object(mysqli) {
affected_rows => null
client_info => null
client_version => null
connect_errno => null
connect_error => null
errno => null
error => null
error_list => null
field_count => null
host_info => null
info => null
insert_id => null
server_info => null
server_version => null
stat => null
sqlstate => null
protocol_version => null
thread_id => null
warning_count => null
}
$guestip = '3.238.180.255'
$result = null
$user = null
$uid = null
$gid = null
$username = null
$admin = null
$isAdmin = null
$s = object(CakeSession) {
[protected] _userAgent => '5616fe327d732b7d270f236559ef56ec'
[protected] _initialized => true
}
$siteAdmin = false mysqli::close() - [internal], line ??
include - APP/Config/bootstrap.php, line 54
Configure::bootstrap() - ROOT/cakelib/lib/Cake/Core/Configure.php, line 92
include - ROOT/cakelib/lib/Cake/bootstrap.php, line 175
[main] - APP/webroot/index.php, line 85
Errors | FrancoScape - Le Savoir de RuneScape
CakePHP: the rapid development php framework:
Erreur interne
une erreur interne s'est produite
Ce n'est pas votre faute. Vous êtes prié(e) de :
contacter un administrateur via le formulaire de contact du site ou sur les forums.
revenir ultérieurement.
Stack Trace
ROOT/cakelib/lib/Cake/Model/Datasource/DboSource.php line 260 → Mysql->connect() ));
}
if ( $autoConnect ) {
$this -> connect ();
}
ROOT/cakelib/lib/Cake/Model/ConnectionManager.php line 105 → DboSource->__construct(array) 'message' => 'Datasource is not found in Model/Datasource package.'
));
}
self :: $_dataSources [ $name ] = new $class ( self :: $config ->{ $name });
self :: $_dataSources [ $name ]-> configKeyName = $name ;
array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'prefix' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => true,
'encoding' => 'utf8'
)
ROOT/cakelib/lib/Cake/Model/Model.php line 3474 → ConnectionManager::getDataSource(string) $this -> useDbConfig = $dataSource ;
}
$db = ConnectionManager :: getDataSource ( $this -> useDbConfig );
if (!empty( $oldConfig ) && isset( $db -> config [ 'prefix' ])) {
ROOT/cakelib/lib/Cake/Model/Model.php line 1126 → Model->setDataSource(string) * @return void
*/
public function setSource ( $tableName ) {
$this -> setDataSource ( $this -> useDbConfig );
$db = ConnectionManager :: getDataSource ( $this -> useDbConfig );
ROOT/cakelib/lib/Cake/Model/Model.php line 3496 → Model->setSource(string) public function getDataSource () {
if (! $this -> _sourceConfigured && $this -> useTable !== false ) {
$this -> _sourceConfigured = true ;
$this -> setSource ( $this -> useTable );
}
ROOT/cakelib/lib/Cake/Model/Model.php line 1355 → Model->getDataSource() */
public function schema ( $field = false ) {
if ( $this -> useTable !== false && (! is_array ( $this -> _schema ) || $field === true )) {
$db = $this -> getDataSource ();
$db -> cacheSources = ( $this -> cacheSources && $db -> cacheSources );
ROOT/cakelib/lib/Cake/Model/Model.php line 1447 → Model->schema() }
if (empty( $this -> _schema )) {
$this -> schema ();
}
APP/Plugin/Media/Model/Behavior/MediaBehavior.php line 17 → Model->hasField(string) 'conditions' => 'ref = "' . $model -> name . '"' ,
'dependent' => true
);
if( $model -> hasField ( 'media_id' )){
$model -> belongsTo [ 'Thumb' ] = array(
ROOT/cakelib/lib/Cake/Model/BehaviorCollection.php line 145 → MediaBehavior->setup(Quete, array) $config = array();
}
$this -> _loaded [ $alias ]-> settings [ 'priority' ] = $priority ;
$this -> _loaded [ $alias ]-> setup ( ClassRegistry :: getObject ( $this -> modelName ), $config );
object(Quete) {
belongsTo => array(
[maximum depth reached]
)
actsAs => array(
[maximum depth reached]
)
recursive => (int) -1
useDbConfig => 'default'
useTable => 'quetes'
id => null
data => array([maximum depth reached])
schemaName => null
table => 'quetes'
primaryKey => 'id'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => null
name => 'Quete'
alias => 'Quete'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
hasOne => array([maximum depth reached])
hasMany => array(
[maximum depth reached]
)
hasAndBelongsToMany => array([maximum depth reached])
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => null
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
findMethods => array(
[maximum depth reached]
)
medias => array(
[maximum depth reached]
)
[protected] _schema => null
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => null
[protected] _validator => null
}
array(
'dependent' => true
)
ROOT/cakelib/lib/Cake/Model/BehaviorCollection.php line 66 → BehaviorCollection->load(string, array)
if (!empty( $behaviors )) {
foreach ( BehaviorCollection :: normalizeObjectArray ( $behaviors ) as $config ) {
$this -> load ( $config [ 'class' ], $config [ 'settings' ]);
}
'Media.Media'
array(
'dependent' => true
)
ROOT/cakelib/lib/Cake/Model/Model.php line 747 → BehaviorCollection->init(string, array) }
$this -> _createLinks ();
$this -> Behaviors -> init ( $this -> alias , $this -> actsAs );
}
'Quete'
array(
(int) 0 => 'Containable',
'Media.Media' => array(
'dependent' => true
)
)
[internal function] → Model->__construct(array) array(
'class' => 'Quete',
'alias' => 'Quete',
'id' => null
)
ROOT/cakelib/lib/Cake/Utility/ClassRegistry.php line 168 → ReflectionClass->newInstance(array) }
}
if ( $reflection -> getConstructor ()) {
$instance = $reflection -> newInstance ( $settings );
} else {
array(
'class' => 'Quete',
'alias' => 'Quete',
'id' => null
)
ROOT/cakelib/lib/Cake/Controller/Controller.php line 738 → ClassRegistry::init(array)
$this ->{ $modelClass } = ClassRegistry :: init (array(
'class' => $plugin . $modelClass , 'alias' => $modelClass , 'id' => $id
));
if (! $this ->{ $modelClass }) {
array(
'class' => 'Quete',
'alias' => 'Quete',
'id' => null
)
ROOT/cakelib/lib/Cake/Controller/Controller.php line 367 → Controller->loadModel(string) foreach ( $this -> uses as $modelClass ) {
list( $plugin , $class ) = pluginSplit ( $modelClass , true );
if ( $name === $class ) {
return $this -> loadModel ( $modelClass );
}
ROOT/cakelib/lib/Cake/Controller/Controller.php line 405 → Controller->__isset(string) return $this -> Components -> load ( 'Paginator' )-> settings ;
}
if (isset( $this ->{ $name })) {
return $this ->{ $name };
APP/Controller/QuetesController.php line 20 → Controller->__get(string) }
public function view ( $id = null , $slug = null ) {
$view = $this -> Quete -> find ( 'first' , array( 'conditions' => array( 'Quete.id' => $id , 'Quete.online' => 1 )));
if (empty( $view )) {
[internal function] → QuetesController->view(string, string) '203'
'la-tourte-de-la-terreur'
ROOT/cakelib/lib/Cake/Controller/Controller.php line 490 → ReflectionMethod->invokeArgs(QuetesController, array) 'action' => $request -> params [ 'action' ]
));
}
return $method -> invokeArgs ( $this , $request -> params [ 'pass' ]);
object(QuetesController) {
helpers => array(
[maximum depth reached]
)
cacheAction => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Quetes'
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Quetes'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'view'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Quete'
modelKey => 'quete'
validationErrors => null
Session => object(SessionComponent) {}
Auth => object(AuthComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
array(
(int) 0 => '203',
(int) 1 => 'la-tourte-de-la-terreur'
)
ROOT/cakelib/lib/Cake/Routing/Dispatcher.php line 185 → Controller->invokeAction(CakeRequest) $controller -> startupProcess ();
$render = true ;
$result = $controller -> invokeAction ( $request );
if ( $result instanceof CakeResponse ) {
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'quetes/203/la-tourte-de-la-terreur'
base => ''
webroot => '/'
here => '/quetes/203/la-tourte-de-la-terreur'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
ROOT/cakelib/lib/Cake/Routing/Dispatcher.php line 160 → Dispatcher->_invoke(QuetesController, CakeRequest, CakeResponse) ));
}
$response = $this -> _invoke ( $controller , $request , $response );
if (isset( $request -> params [ 'return' ])) {
object(QuetesController) {
helpers => array(
[maximum depth reached]
)
cacheAction => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Quetes'
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Quetes'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'view'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Quete'
modelKey => 'quete'
validationErrors => null
Session => object(SessionComponent) {}
Auth => object(AuthComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'quetes/203/la-tourte-de-la-terreur'
base => ''
webroot => '/'
here => '/quetes/203/la-tourte-de-la-terreur'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
APP/webroot/index.php line 99 → Dispatcher->dispatch(CakeRequest, CakeResponse) $Dispatcher -> dispatch (
new CakeRequest (),
new CakeResponse ()
);
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'quetes/203/la-tourte-de-la-terreur'
base => ''
webroot => '/'
here => '/quetes/203/la-tourte-de-la-terreur'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}