[SR-Users] Error using newest Siremis and kamailio 5.0.3
Daniel-Constantin Mierla
miconda at gmail.com
Thu Mar 1 15:00:28 CET 2018
Hello,
then it seems that php-xmlrpc package is not containing the same as pear
package XML_RPC, try to install it via pear:
pear install XML_RPC
I see there is also XML_RPC2 package in pear, try also this one if the
first one fails.
Cheers,
Daniel
On 01.03.18 14:55, Olli Attila wrote:
> Hello,
>
> php-xmlrpc was missing but after installing it still the same error:
>
> php-xmlrpc version (1:7.0+49).
>
> [Thu Mar 01 15:53:57.259783 2018] [:error] [pid 29780] [client
> 178.75.166.214:54711] PHP Fatal error: require_once(): Failed opening
> required 'XML/RPC.php'
> (include_path='.:/usr/share/php:/usr/share/pear:/var/www/html/https/siremis/openbiz/others/')
> in
> /var/www/html/https/siremis/siremis/modules/sipadmin/service/asipto/libs/cmds/serxr.php
> on line 2
>
> Cheers,
> Olli
>
>
> Daniel-Constantin Mierla kirjoitti 2018-03-01 15:50:
>> Hello,
>>
>> and php-xmlrpc package?
>>
>> Cheers,
>> Daniel
>>
>>
>> On 01.03.18 14:46, Olli Attila wrote:
>>> Hello,
>>>
>>> php-xml is installed:
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> php-xml is already the newest version (1:7.0+49)
>>>
>>> Webserver gives this on error log:
>>> [Thu Mar 01 15:39:09.261279 2018] [:error] [pid 29112]
>>> PHP Fatal error: require_once(): Failed opening required
>>> 'XML/RPC.php'
>>> (include_path='.:/usr/share/php:/usr/share/pear:/var/www/html/https/siremis/openbiz/others/')
>>>
>>> in
>>> /var/www/html/https/siremis/siremis/modules/sipadmin/service/asipto/libs/cmds/serxr.php
>>>
>>> on line 2
>>>
>>> Cheers,
>>> Olli
>>>
>>>
>>> Daniel-Constantin Mierla kirjoitti 2018-03-01 15:36:
>>>> Hello,
>>>>
>>>> have you installed php-xml package?
>>>>
>>>> Also, look at error logs for web server, anything reported there?
>>>>
>>>> Cheers,
>>>> Daniel
>>>>
>>>>
>>>> On 01.03.18 13:42, Olli Attila wrote:
>>>>> Hello,
>>>>>
>>>>> I installed Siremis today from master branch alongside with Kamailio
>>>>> 5.0.3 and entering "XMLRPC Commands" menu gives me this error:
>>>>>
>>>>> [2018-03-01 12:28:34 (GMT)] An exception occurred while executing
>>>>> this
>>>>> script:
>>>>> Error message: #256, Unable to location template file
>>>>> system_internal_error.tpl.
>>>>> Script name and line number of error:
>>>>> /var/www/html/https/siremis/openbiz/bin/Resource.php:283
>>>>> function: errorHandler ( 256, "Unable to location template file
>>>>> system_internal_error.tpl.",
>>>>> "/var/www/html/https/siremis/openbiz/bin/Resource.php", 283,
>>>>> Array(11)
>>>>> ) @ /var/www/html/https/siremis/openbiz/bin/sysheader.inc 117
>>>>> function: userErrorHandler ( 256, "Unable to location template file
>>>>> system_internal_error.tpl.",
>>>>> "/var/www/html/https/siremis/openbiz/bin/Resource.php", 283,
>>>>> Array(11)
>>>>> ) @
>>>>> function: trigger_error ( "Unable to location template file
>>>>> system_internal_error.tpl.", 256 ) @
>>>>> /var/www/html/https/siremis/openbiz/bin/Resource.php 283
>>>>> function: getTplFileWithPath ( "system_internal_error.tpl", "email" )
>>>>> @ /var/www/html/https/siremis/openbiz/bin/BizSystem.php 560
>>>>> function: getTplFileWithPath ( "system_internal_error.tpl", "email" )
>>>>> @
>>>>> /var/www/html/https/siremis/siremis/modules/service/userEmailService.php
>>>>>
>>>>>
>>>>> 108
>>>>> function: SystemInternalErrorEmail ( Array(2), Null ) @
>>>>> /var/www/html/https/siremis/siremis/modules/common/form/ErrorForm.php
>>>>> 34
>>>>> function: Report ( ) @
>>>>> /var/www/html/https/siremis/openbiz/bin/BizController.php 310
>>>>> function: invoke ( ) @
>>>>> /var/www/html/https/siremis/openbiz/bin/BizController.php 110
>>>>> function: dispatchRequest ( ) @
>>>>> /var/www/html/https/siremis/openbiz/bin/BizController.php 32
>>>>> function: include_once (
>>>>> "/var/www/html/https/siremis/openbiz/bin/BizController.php" ) @
>>>>> /var/www/html/https/siremis/siremis/bin/controller.php 6
>>>>>
>>>>> (I'm running PHP 7.0.27-0+deb9u1 and MariaDb Server version: 5.1.73
>>>>> Source distribution)
>>>>>
>>>>> What is going wrong here?
>>>>>
>>>>> I found this online but I think this is already fixed on the Siremis
>>>>> master branch?
>>>>> https://lists.kamailio.org/pipermail/sr-users/2016-December/095373.html
>>>>>
>>>>>
>>>>> Cheers,
>>>>> Olli
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Kamailio (SER) - Users Mailing List
>>>>> sr-users at lists.kamailio.org
>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
More information about the sr-users
mailing list