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 2900 → Model->getDataSource() * @return array
*/
protected function _readDataSource ( $type , $query ) {
$results = $this -> getDataSource ()-> read ( $this , $query );
$this -> resetAssociations ();
ROOT/cakelib/lib/Cake/Model/Model.php line 2872 → Model->_readDataSource(string, array) return null ;
}
return $this -> _readDataSource ( $type , $query );
}
'first'
array(
'conditions' => array(
'PollQuestion.online' => (int) 1
),
'fields' => null,
'joins' => array(),
'limit' => (int) 1,
'offset' => null,
'order' => array(
(int) 0 => 'created DESC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true
)
APP/Controller/AccueilController.php line 15 → Model->find(string, array) }
function index (){
$this -> loadModel ( 'PollQuestion' );
$k [ 'polls' ] = $this -> PollQuestion -> find ( 'first' , array( 'conditions' => array( 'PollQuestion.online' => 1 ), 'order' => 'created DESC' ));
$ips = $this -> PollQuestion -> PollOption -> PollVote -> find ( 'all' , array( 'fields' => array( 'PollVote.ip' ), 'conditions' => array( 'PollOption.poll_question_id' => $k [ 'polls' ][ 'PollQuestion' ][ 'id' ], 'PollVote.ip' => $this -> request -> clientIp ())));
'first'
array(
'conditions' => array(
'PollQuestion.online' => (int) 1
),
'order' => 'created DESC'
)
[internal function] → AccueilController->index(string)
ROOT/cakelib/lib/Cake/Controller/Controller.php line 490 → ReflectionMethod->invokeArgs(AccueilController, array) 'action' => $request -> params [ 'action' ]
));
}
return $method -> invokeArgs ( $this , $request -> params [ 'pass' ]);
object(AccueilController) {
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
uses => array(
[maximum depth reached]
)
name => 'Accueil'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Accueil'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => ''
modelKey => 'accueil'
validationErrors => null
Session => object(SessionComponent) {}
Auth => object(AuthComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Cookie => object(CookieComponent) {}
PollQuestion => object(PollQuestion) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
array(
(int) 0 => 'home'
)
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 => false
base => ''
webroot => '/'
here => '/'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
ROOT/cakelib/lib/Cake/Routing/Dispatcher.php line 160 → Dispatcher->_invoke(AccueilController, CakeRequest, CakeResponse) ));
}
$response = $this -> _invoke ( $controller , $request , $response );
if (isset( $request -> params [ 'return' ])) {
object(AccueilController) {
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
uses => array(
[maximum depth reached]
)
name => 'Accueil'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Accueil'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => ''
modelKey => 'accueil'
validationErrors => null
Session => object(SessionComponent) {}
Auth => object(AuthComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Cookie => object(CookieComponent) {}
PollQuestion => object(PollQuestion) {}
[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 => false
base => ''
webroot => '/'
here => '/'
[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 => false
base => ''
webroot => '/'
here => '/'
[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])
}