R0.22 and earlier: No Longer Supported
[Solved] Error XML-RPC
- controler
- Topic Author
- New Member
-
Less
More
15 years 8 months ago - 15 years 8 months ago #1
by controler
[Solved] Error XML-RPC was created by controler
Fatal error: Call to undefined function xmlrpc_encode_request() in /www/www/modules/mod_joomdle_courses/mod_joomdle_courses.php on line 47
Me muestra este error cuando me logueo en joomla. Es que no esta activo el xml-rpc?
Desde el servicio tecnico del serrver me dicen que no lo tienen activo pero que añadiendo las siguientes lineas al .htaccess se activaría:
<IfModule mod_security.c>
SecFilterRemove 114
</IfModule>
Es que tengo que colocar el .htaccess en algun sitio especifico?
Me muestra este error cuando me logueo en joomla. Es que no esta activo el xml-rpc?
Desde el servicio tecnico del serrver me dicen que no lo tienen activo pero que añadiendo las siguientes lineas al .htaccess se activaría:
<IfModule mod_security.c>
SecFilterRemove 114
</IfModule>
Es que tengo que colocar el .htaccess en algun sitio especifico?
Last edit: 15 years 8 months ago by Antonio Durán.
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7861
15 years 8 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: Error XML-RPC
No lo se seguro ni mucho menos, pero dudo mucho que poniendo algo en el .htacces actives el xml-rpc.
Para comprobarlo abre la pagina de PHP info (en Joomla por ejemplo) y mira si aparece el bloque XMLRPC. Si no, preguntale a tu hosting donde se supone que tienes que poner el archivo.
Para comprobarlo abre la pagina de PHP info (en Joomla por ejemplo) y mira si aparece el bloque XMLRPC. Si no, preguntale a tu hosting donde se supone que tienes que poner el archivo.
The topic has been locked.
- controler
- Topic Author
- New Member
-
Less
More
15 years 8 months ago #3
by controler
Replied by controler on topic Re: Error XML-RPC
Esta es exactamente lo que me dicen del servicio tecnico:
There is a mod_security rule on our servers which denies requests to the xmlrpc.php module. This restriction is in place as an additional security measure. The reason for this is that the xmlrpc.php is a common target for hackers who scan for outdated and flawed versions of the XMLRPC module.
To disable this specific XMLRPC-related rule, please create a .htaccess file in the folder where you've installed the script and put the following lines in it:
<IfModule mod_security.c>
SecFilterRemove 114
</IfModule>
There is a mod_security rule on our servers which denies requests to the xmlrpc.php module. This restriction is in place as an additional security measure. The reason for this is that the xmlrpc.php is a common target for hackers who scan for outdated and flawed versions of the XMLRPC module.
To disable this specific XMLRPC-related rule, please create a .htaccess file in the folder where you've installed the script and put the following lines in it:
<IfModule mod_security.c>
SecFilterRemove 114
</IfModule>
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7861
15 years 8 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Re: Error XML-RPC
Ah, ok. Siempre se aprende algo 
Entonces en teoría si debería funcionar...Segun eso deberías poner el .htaccess donde esten los scripts con xmlrpc.
Lo mejor es probar primero con el modulo que lista los cursos, que es el mas sencillo. Instalalo y activalo y pone el .htaccess en el directorio modules/mod_joomdle_courses, a ver si realmente funciona así la funcion.
Entonces en teoría si debería funcionar...Segun eso deberías poner el .htaccess donde esten los scripts con xmlrpc.
Lo mejor es probar primero con el modulo que lista los cursos, que es el mas sencillo. Instalalo y activalo y pone el .htaccess en el directorio modules/mod_joomdle_courses, a ver si realmente funciona así la funcion.
The topic has been locked.
- controler
- Topic Author
- New Member
-
Less
More
15 years 8 months ago #5
by controler
Replied by controler on topic Re: Error XML-RPC
despues de probar el phpinfo() y ver que sigue sin estar activado el xmlrpc, les pedi mas informacion al ST y esta es ahora la respuesta:
Hello,
The XML RPC extension of PHP is not available on our servers. It is currently "Experimental" (according to www.php.net/manual/en/intro.xmlrpc.php ). For the time being, there are no immediate plans to include this extension on our servers.
However, you can use the XML-RPC library from phpxmlrpc.sourceforge.net/ if it is supported by Moodle. This is the library that my colleague's instructions apply to.
Como mi ingles es de barrio no lo entiendo bien, pero creo que la solucion no es facil de implementar no?
Hello,
The XML RPC extension of PHP is not available on our servers. It is currently "Experimental" (according to www.php.net/manual/en/intro.xmlrpc.php ). For the time being, there are no immediate plans to include this extension on our servers.
However, you can use the XML-RPC library from phpxmlrpc.sourceforge.net/ if it is supported by Moodle. This is the library that my colleague's instructions apply to.
Como mi ingles es de barrio no lo entiendo bien, pero creo que la solucion no es facil de implementar no?
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7861
15 years 8 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Re: Error XML-RPC
No, al menos que yo sepa no 
Ya me parecía a mi raro lo primero que te decían...
Sin XML-PRC Joomdle no puede funcionar, ya que toda la comunicación entre Moodle y Joomla se hace usando ese protocolo.
Ya me parecía a mi raro lo primero que te decían...
Sin XML-PRC Joomdle no puede funcionar, ya que toda la comunicación entre Moodle y Joomla se hace usando ese protocolo.
The topic has been locked.
- controler
- Topic Author
- New Member
-
Less
More
15 years 8 months ago #7
by controler
Replied by controler on topic Re: Error XML-RPC
Bueno, ajo y agua sera. Gracias de todas formas
The topic has been locked.