🌍
Français
sur la page tools/ws.htm
quand je veux charger la liste des méthodes :
Error Error invalid regular expression flag b <br /> <b>Notice</b>: Use of undefined constant COMMUNITY_TABLE - assumed 'COMMUNITY_TABLE' in <b>C:\wamp\www\piwigo\plugins\community\main.inc.php</b> on line <b>186</b><br /> <pre><br /> <b>Warning</b>: [mysql error 1146] Table 'piwigo.community_table' doesn't exist SELECT permission_level FROM COMMUNITY_TABLE WHERE user_id = 1 ; in <b>C:\wamp\www\piwigo\include\dblayer\functions_mysql.inc.php</b> on line <b>654</b><br /> </pre><br /> <b>Warning</b>: mysql_num_rows(): supplied argument is not a valid MySQL result resource in <b>C:\wamp\www\piwigo\plugins\community\main.inc.php</b> on line <b>190</b><br /> {"stat":"ok","result":{"methods":["pwg.caddie.add","pwg.categories.add","pwg.categories.delete","pwg.categories.getAdminList","pwg.categories.getImages","pwg.categories.getList","pwg.categories.move","pwg.categories.setInfo","pwg.getVersion","pwg.images.add","pwg.images.addChunk","pwg.images.addComment","pwg.images.addFile","pwg.images.addSimple","pwg.images.checkFiles", pwgGetJsonResult([object Object])@http://localhost/piwigo/tools/ws.htm:75 onSuccess_getMethodList([object Object])@http://localhost/piwigo/tools/ws.htm:117 ([object Object],null)@http://localhost/piwigo/tools/ws.htm:105 (4)@http://localhost/piwigo/tools/prototype.js:1295 ([object Event])@http://localhost/piwigo/tools/prototype.js:1238 ([object Event])@http://localhost/piwigo/tools/prototype.js:209
Hors ligne
oui, je sais :-/ j'ai déjà passé plusieurs heures sur la mise à niveau mais pas encore terminé. Donc pour l'instant Community 2.2 n'est pas compatible avec l'API web (= les webservices). Je viens d'ajouter une note sur le gestionnaire d'extensions.
Hors ligne
tu le sais peut etre aussi mais quand on tente de noter une image, il y a un popup javascript:
200 JSON.parse <br /> <b>Notice</b>: Use of undefined constant COMMUNITY_TABLE - assumed 'COMMUNITY_TABLE' in <b>C:\wamp\www\piwigo\plugins\community\main.inc.php</b> on line <b>186</b><br /> <pre><br /> <b>Warning</b>: [mysql error 1146] Table 'piwigo.community_table' doesn't exist SELECT permission_level FROM COMMUNITY_TABLE WHERE user_id = 1 ; in <b>C:\wamp\www\piwigo\include\dblayer\functions_mysql.inc.php</b> on line <b>654</b><br /> </pre><br /> <b>Warning</b>: mysql_num_rows(): supplied argument is not
Hors ligne