Auteur Sujet: [Résolu] [MUSHRAIDER BRIDGE] - Problème de liaison entre wordpress et mushraider  (Lu 630 fois)

Aratas

  • Newbie
  • *
  • Messages: 8
    • Voir le profil
Bonsoir,

je me tourne vers vous afin d'avoir une piste sur la problèmatique que je rencontre.
Voici les détails concernant mon problème:

•   Version de MushRaider : Version 1.7.0.2
•   Navigateur : Firefox 59.0.2
•   Votre hébergement et configuration serveur (version de PHP, Apache (ou serveur HTTP utilisé), MySQL) : J’héberge sur mon propre serveur qui est :
  • Debian 9
  • Version PHP : 7.0
  • Version Apache 2.4.25
  • Version mysql : MariaDB 10.1.26
•   Description détaillée du problème et comment le reproduire
  • Le problème se produit à l’activation entre la liaison mushraider et wordpress
•   Ce que vous avez déjà essayé comme manipulations
  • J’ai tenté de réinstaller mushraider en supprimant le dossier et la base de données et tenter de vider le cache des dossiers « /var/www/wordpress/evenement/app/tmp/cache/models » et « /var/www/wordpress/evenement/app/tmp/cache/persistent »
•   Joindre les logs d'erreur
  • J’ai activé le mode débug voici ce que j’obtiens :
Citer
[internal function]AuthController->login()

--------------------------------------------------------------------------------------------------------

Citer
CORE/Cake/Controller/Controller.php line 491ReflectionMethod->invokeArgs(AuthController, array)
'action' => $request->params['action'] )); } return $method->invokeArgs($this, $request->params['pass']);

-------------------------------------------------------------------------------------------------------

Citer
CORE/Cake/Routing/Dispatcher.php line 193Controller->invokeAction(CakeRequest) 
  • object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'auth', 'action' => 'login', 'named' => array(), 'pass' => array(), 'isAjax' => false, 'models' => array( 'User' => array( [maximum depth reached] ), 'Role' => array( [maximum depth reached] ), 'Setting' => array( [maximum depth reached] ), 'Character' => array( [maximum depth reached] ), 'EventsTemplate' => array( [maximum depth reached] ), 'RaidsRole' => array( [maximum depth reached] ), 'EventsCharacter' => array( [maximum depth reached] ), 'Event' => array( [maximum depth reached] ), 'Comment' => array( [maximum depth reached] ) ) ) data => array( 'User' => array( 'password' => '*****', 'login' => '*****', 'remember' => '0' ) ) query => array() url => 'auth/login' base => '/evenement' webroot => '/evenement/' here => '/evenement/auth/login' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }
    [/l][/l][/l][/l]
--------------------------------------------------------------------------------------------------------
  • Citer
    CORE/Cake/Routing/Dispatcher.php line 167Dispatcher->_invoke(AuthController, CakeRequest) 
    object(AuthController) { components => array( 'Session' => null, 'Cookie' => null, 'Lang' => null, 'Tools' => null, 'Patcher' => null, 'Emailing' => null ) helpers => array() uses => array( (int) 0 => 'Ticket', (int) 1 => 'User', (int) 2 => 'Role', (int) 3 => 'Setting', (int) 4 => 'Character' ) userRequired => false api => object(stdClass) { enabled => '1' privateKey => 'jEYldETuJ5vILZsRTaWKaEvwMHne2xae' } bridge => object(stdClass) { enabled => '1' url => 'http://www.red-game.fr/wp-content/plugins/mushraider-bridge/mushraider-bridge-login.php' default_group => '3' } user => null pageTitle => 'Connexion à MushRaider - Red-Game Planning' pageDescription => 'MushRaider raid planner' breadcrumb => array() appLocales => array( 'eng' => 'English', 'fra' => 'Français', 'deu' => 'Deutsch' ) appLocales_ => array( 'en-en' => 'English', 'fr-fr' => 'Français', 'de-de' => 'Deutsch' ) name => 'Auth' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array( [maximum depth reached] ) query => array([maximum depth reached]) url => 'auth/login' base => '/evenement' webroot => '/evenement/' here => '/evenement/auth/login' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => 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] ) } viewPath => 'Auth' layoutPath => null viewVars => array( 'appLocales' => array( 'eng' => 'English', 'fra' => 'Français', 'deu' => 'Deutsch' ), 'bridge' => object(stdClass) {} ) view => 'login' layout => 'login' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(AuthController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 1 => 'index', (int) 2 => 'login', (int) 3 => 'signup', (int) 4 => 'recovery', (int) 5 => 'password', (int) 6 => 'logout' ) modelClass => 'Ticket' modelKey => 'auth' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Cookie => object(CookieComponent) { name => 'CakeCookie' time => null path => '/' domain => '' secure => false key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi' httpOnly => false settings => array([maximum depth reached]) components => array([maximum depth reached]) _encrypted => true [protected] _values => array( [maximum depth reached] ) [protected] _type => 'cipher' [protected] _reset => (int) 0 [protected] _expires => '1526597256' [protected] _response => object(CakeResponse) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Lang => object(LangComponent) { controller => object(AuthController) {} settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Tools => object(ToolsComponent) { model => null controller => object(AuthController) {} settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Patcher => object(PatcherComponent) { controller => object(AuthController) {} settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Emailing => object(EmailingComponent) { email => object(CakeEmail) {} settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Setting => object(Setting) { name => 'Setting' useDbConfig => 'default' useTable => 'settings' id => false data => array([maximum depth reached]) schemaName => 'mushraider' table => 'settings' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => 'mr_' plugin => null alias => 'Setting' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 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]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'auth', 'action' => 'login', 'named' => array(), 'pass' => array(), 'isAjax' => false, 'models' => array( 'User' => array( [maximum depth reached] ), 'Role' => array( [maximum depth reached] ), 'Setting' => array( [maximum depth reached] ), 'Character' => array( [maximum depth reached] ), 'EventsTemplate' => array( [maximum depth reached] ), 'RaidsRole' => array( [maximum depth reached] ), 'EventsCharacter' => array( [maximum depth reached] ), 'Event' => array( [maximum depth reached] ), 'Comment' => array( [maximum depth reached] ) ) ) data => array( 'User' => array( 'password' => '*****', 'login' => '*****', 'remember' => '0' ) ) query => array() url => 'auth/login' base => '/evenement' webroot => '/evenement/' here => '/evenement/auth/login' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }
--------------------------------------------------------------------------------------------------------

Citer
APP/webroot/index.php line 109Dispatcher->dispatch(CakeRequest, CakeResponse)
$Dispatcher = new Dispatcher(); $Dispatcher->dispatch( new CakeRequest(), new CakeResponse() );

--------------------------------------------------------------------------------------------------------
Vous trouverez ci-dessous les logs erreur:

Citer
018-04-20 00:52:16 Error: [Error] Call to undefined function mcrypt_get_iv_size()
Request URL: /evenement/auth/login
Stack Trace:
#0 [internal function]: AuthController->login()
#1 /var/www/wordpress/evenement/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(AuthController), Array)
#2 /var/www/wordpress/evenement/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/wordpress/evenement/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(AuthController), Object(CakeRequest))
#4 /var/www/wordpress/evenement/app/webroot/index.php(109): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}


J'espère que j'ai pu donner à maximum d'information.
S'il y a besoin de donner plus d'information faites le moi savoir, je ferais le necessaire.
Je vous remercie par avance,
En attente de votre retour,

Cordialement,
Aratas Lerouge[/list]
« Modifié: 22 avril 2018, 19:09:36 par Aratas »

Aratas

  • Newbie
  • *
  • Messages: 8
    • Voir le profil
Bonsoir,

J'ai tenté de poursuivre la problème que je rencontre. J'ai effectué les modification suivant:

- Modification des sites available d'appache au niveau des chemins
- redémarrage du serveur apache
- Réinstallations de mushraider 1.7.0.2
- Mise en place d'API - Bridge avec wordpress.
- Vérification des logs: voici ce que j'obtiens:
Citer
2018-04-20 22:52:12 Error: [ConfigureException] Could not load configuration file: /var/www/wordpress/evenement/app/Config/config.ini
Request URL: /evenement/install/step/1
Stack Trace:
#0 /var/www/wordpress/evenement/lib/Cake/Core/Configure.php(329): IniReader->read('config.ini')
#1 /var/www/wordpress/evenement/app/Config/database.php(18): Configure::load('config.ini', 'configini')
#2 /var/www/wordpress/evenement/lib/Cake/Model/ConnectionManager.php(69): DATABASE_CONFIG->__construct()
#3 /var/www/wordpress/evenement/lib/Cake/Model/ConnectionManager.php(83): ConnectionManager::_init()
#4 /var/www/wordpress/evenement/lib/Cake/Model/Model.php(3640): ConnectionManager::getDataSource('default')
#5 /var/www/wordpress/evenement/lib/Cake/Model/Model.php(1162): Model->setDataSource('default')
#6 /var/www/wordpress/evenement/lib/Cake/Model/Model.php(3667): Model->setSource('settings')
#7 /var/www/wordpress/evenement/lib/Cake/Model/Model.php(3038): Model->getDataSource()
#8 /var/www/wordpress/evenement/lib/Cake/Model/Model.php(3010): Model->_readDataSource('first', Array)
#9 /var/www/wordpress/evenement/app/Model/Setting.php(15): Model->find('first', Array)
#10 /var/www/wordpress/evenement/app/Config/routes.php(32): Setting->getOption('homePage')
#11 /var/www/wordpress/evenement/lib/Cake/Routing/Router.php(1267): include('/var/www/wordpr...')
#12 /var/www/wordpress/evenement/lib/Cake/Routing/Router.php(596): Router::_loadRoutes()
#13 /var/www/wordpress/evenement/lib/Cake/Routing/Dispatcher.php(219): Router::parse('install/step/1')
#14 /var/www/wordpress/evenement/lib/Cake/Event/CakeEventManager.php(243): Dispatcher->parseParams(Object(CakeEvent))
#15 /var/www/wordpress/evenement/lib/Cake/Routing/Dispatcher.php(147): CakeEventManager->dispatch(Object(CakeEvent))
#16 /var/www/wordpress/evenement/app/webroot/index.php(109): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#17 {main}
2018-04-20 23:13:34 Error: [Error] Call to undefined function mcrypt_get_iv_size()
Request URL: /evenement/auth/login
Stack Trace:
#0 [internal function]: AuthController->login()
#1 /var/www/wordpress/evenement/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(AuthController), Array)
#2 /var/www/wordpress/evenement/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/wordpress/evenement/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(AuthController), Object(CakeRequest))
#4 /var/www/wordpress/evenement/app/webroot/index.php(109): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}

En vous remerciant par avance,
Cordialement,
Aratas,

Aratas

  • Newbie
  • *
  • Messages: 8
    • Voir le profil
Bonjour,

Après plusieurs tentative de modification sur le système d'exploitation debian suivi de plusieurs recherche. j'ai pu enfin trouver comment lié le site wordpress suivi du plugin mushraider avec mushraider.

J'ai fait une recherche en me basant sur cette erreur :
Citer
"[Error] Call to undefined function mcrypt_get_iv_size()"

Je suis tomber sur ce site:
Citer
https://stackoverflow.com/questions/27633584/php-fatal-error-call-to-undefined-function-mcrypt-get-iv-size-in-appserv/27633717

Et donc j'ai installé
Citer
mcrypt php7.1-mcrypt
En tapant cette commande :
Citer
apt-get install mcrypt php7.1-mcrypt
Suivi d'un redémarrage du service apache:
Citer
/etc/init.d/apache2 restart

En espérant que ça peut aider plus d'un.
Cordialement,
Aratas Lerouge,