You are not logged in.
Pages: 1
Topic closed
Hey all,
GLPI 9.1.6
Webservices 1.7
I have a php script that was working with webservices 1.6
Moving to 1.7 I am now getting an error when running it:
ERROR: XMLRPC fault - (3): Unknown internal function for glpi.listUsers (xml-rpc)
Array
(
[faultCode] => 3
[faultString] => Unknown internal function for glpi.listUsers (xml-rpc)
)
I have checked permissions, .htaccess, reconfiogured the user and ip under webservices inside the GLPI webservices UI.
ANy ideas at all?
Offline
I make a test in 1.7.1 and no problem for me
[root@yllen scripts]# php testxmlrpc.php method=glpi.listUsers
+ Configuration read from '/root/.config/glpi_webservices_config'
+ Calling 'glpi.listUsers' on http://localhost//git91/plugins/webservices/xmlrpc.php?session=t69s2km8cnc0vo78tbr6ta5ee3
+ Response: Array
(
[0] => Array
(
[id] => 2
[name] => glpi
[firstname] =>
Have you some errors in GLPI logs? in apache logs?
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Bonjour yllen,
Je me permets de revenir sur ce problème, car je rencontre le même.
Je suis dessus depuis 2 jours, impossible de trouver le problème.
GLPI 0.84.4 : avec webservice 1.4
GLPI 9.1.6 avec webservice 1.7 =>
[faultCode] => 3
[faultString] => Unknown internal function for glpi.listUsers (xml-rpc)
Merci d'avance !
Logs apache
127.0.0.1 - - [14/Nov/2017:20:36:10 +0100] "POST /glpi/plugins/webservices/xmlrpc.php HTTP/1.0" 200 1196 "-" "-"
127.0.0.1 - - [14/Nov/2017:20:36:11 +0100] "POST /glpi/plugins/webservices/xmlrpc.php HTTP/1.0" 200 866 "-" "-"
127.0.0.1 - - [14/Nov/2017:20:36:11 +0100] "POST /glpi/plugins/webservices/xmlrpc.php HTTP/1.0" 200 869 "-" "-"
127.0.0.1 - - [14/Nov/2017:20:36:11 +0100] "POST /glpi/plugins/webservices/xmlrpc.php HTTP/1.0" 200 758 "-" "-"
1641618 14-11-2017 20:36 webservice (864) Connexion (webservice, 127.0.0.1, glpi.doLogout, xml-rpc)
1641617 14-11-2017 20:36 webservice (864) Connexion (webservice, 127.0.0.1, glpi.createTicket, xml-rpc)
1641616 14-11-2017 20:36 webservice (864) Connexion (webservice, 127.0.0.1, glpi.listUsers, xml-rpc)
1641615 14-11-2017 20:36 Connexion (anonymous, 127.0.0.1, glpi.doLogin, xml-rpc)
Last edited by nicowizz (2017-11-14 23:59:43)
Offline
up , merci !
Last edited by nicowizz (2017-11-16 00:19:04)
Offline
Il me faudrait les erreurs apache pour pouvoir vous aider.
Dans Configuration > Webservices > onglet méthoides, vous voyez glpi.listUsers en opérationnel ?
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
OK j'ai compris, c'est le problème qu plugin qui se désactive.
Point corrigé dans le tarball du plugin https://forge.glpi-project.org/tarballs-plugins/
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
New version published: https://forge.glpi-project.org/projects … ices/files
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Pages: 1
Topic closed