🌍
Français
Ca marche super bien en local, mais quand j'essaye sur mon site j'ai une erreur 401, msg="Access denied"
Je suis bien loggé en admin et les fichiers sont uploades .
J'utilise le plugincommunity
la reponse a ma requete:
<?xml version="1.0"?> <rsp stat="fail"> <err code="401" msg="Access denied" /> </rsp><br /> <b>Notice</b>: Trying to get property 'result' of non-object in <b>/home/photobob/www/focus_piwigo/plugins/community/main.inc.php</b> on line <b>795</b><br /> <br /> <b>Notice</b>: Trying to get property 'image_id' of non-object in <b>/home/photobob/www/focus_piwigo/plugins/community/main.inc.php</b> on line <b>795</b><br /> <pre><br /> <b>Warning</b>: [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND cp.moderated = 'false'' at line 6 SELECT cp.category_id, c.uppercats FROM focus_piwigocommunity_permissions AS cp LEFT JOIN focus_piwigocategories AS c ON category_id = c.id WHERE cp.id IN () AND cp.moderated = 'false' ; in <b>/home/photobob/www/focus_piwigo/include/dblayer/functions_mysqli.inc.php</b> on line <b>856</b><br /> </pre><br /> <b>Fatal error</b>: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/photobob/www/focus_piwigo/include/dblayer/functions_mysqli.inc.php:220 Stack trace: #0 /home/photobob/www/focus_piwigo/plugins/community/main.inc.php(852): pwg_db_fetch_assoc(false) #1 /home/photobob/www/focus_piwigo/include/functions_plugins.inc.php(264): community_sendResponse('<?xml version="...') #2 /home/photobob/www/focus_piwigo/include/ws_core.inc.php(294): trigger_notify('sendResponse', '<?xml version="...') #3 /home/photobob/www/focus_piwigo/include/ws_protocols/rest_handler.php(42): PwgServer->sendResponse(Object(PwgError)) #4 /home/photobob/www/focus_piwigo/include/ws_core.inc.php(281): PwgRestRequestHandler->handleRequest(Object(PwgServer)) #5 /home/photobob/www/focus_piwigo/ws.php(79): PwgServer->run() #6 {main} thrown in <b>/home/photobob/www/focus_piwigo/include/dblayer/functions_mysqli.inc.php</b> on line <b>220</b><br /> .
Est que ca peut etre un problme d'acces a la base de données.?
Merci
Hors ligne
Super :-)
Hors ligne
re
Editer le premier message clic sur la roue et résolu
Hors ligne