[OpenSIPS-Users] Broken links in opensips-cp

Vincent DOCQUOIS v.docquois.netvisio at gmail.com
Thu Feb 16 06:31:10 EST 2017


Hi Bogdan and Răzvan,

It was set in /etc/php5/apache2/php.ini but my php binaries did not point on it which explains the issue.
I have reinstalled php5 and all is fine now.

Thank you for your support

Vincent


> Le 16 févr. 2017 à 11:30, Vincent DOCQUOIS <v.docquois.netvisio at gmail.com> a écrit :
> 
> Hi Bogdan,
> 
> yes, you can find attached my /etc/php5/apache2/php.ini (which is almost the default one)
> 
> I have just restarted apache2 service again and nothing has changed (Note that I am on Debian 8)
> 
> I will try to uninstall/reinstall all php5 packages to see
> 
> Regards
> 
> Vincent
> 
> <php.ini>
> 
>> Le 16 févr. 2017 à 10:44, Bogdan-Andrei Iancu <bogdan at opensips.org <mailto:bogdan at opensips.org>> a écrit :
>> 
>> Hi Vincent,
>> 
>> are you sure you enabled "short_open_tag = On ;" in your php.ini ( /etc/php5/apache2/php.ini ) and restarted apache/httpd service ?
>> 
>> Regards,
>>  Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com <http://www.opensips-solutions.com/>
>> On 02/15/2017 06:08 PM, Vincent DOCQUOIS wrote:
>>> Hi Răzvan,
>>> 
>>> Thank you for your answer. Here are the error I get in Apache logs :
>>> 
>>> [Wed Feb 15 14:50:15.058415 2017] [:error] [pid 24973] [client 10.220.1.254:52170] PHP Notice:  Undefined index: dispatcher_setid in /var/www/opensips-cp/web/tools/system/dispatcher/template/dispatcher.main.php on line 58, referer: http://10.220.1.82/cp/menu.php <http://10.220.1.82/cp/menu.php>
>>> [Wed Feb 15 14:50:15.058431 2017] [:error] [pid 24973] [client 10.220.1.254:52170] PHP Notice:  Undefined index: dispatcher_dest in /var/www/opensips-cp/web/tools/system/dispatcher/template/dispatcher.main.php on line 59, referer: http://10.220.1.82/cp/menu.php <http://10.220.1.82/cp/menu.php>
>>> [Wed Feb 15 14:50:15.058438 2017] [:error] [pid 24973] [client 10.220.1.254:52170] PHP Notice:  Undefined index: dispatcher_descr in /var/www/opensips-cp/web/tools/system/dispatcher/template/dispatcher.main.php on line 60, referer: http://10.220.1.82/cp/menu.php <http://10.220.1.82/cp/menu.php>
>>> 
>>> I am not familiar with web environment then I don't know how these variables are supposed to be defined
>>> 
>>> Here is my dispatcher table data (set_id=1)
>>> 
>>> 1	1	sip:10.230.1.83:5060 <sip:10.230.1.83:5060>	sip:10.230.1.82:5060 <sip:10.230.1.82:5060>	0	1	0		Server1
>>> 4	1	sip:10.230.1.99:5060 <sip:10.230.1.99:5060>	sip:10.230.1.82:5060 <sip:10.230.1.82:5060>	2	1	0		Server2
>>> 
>>> These 2 lines are correctly displayed in opensips-cp but "edit" and "delete" are not available
>>> 
>>> Regards
>>> 
>>> vincent
>>> 
>>>> Le 15 févr. 2017 à 16:05, Răzvan Crainea <razvan at opensips.org <mailto:razvan at opensips.org>> a écrit :
>>>> 
>>>> Hi, Vincent!
>>>> 
>>>> Are you seeing any errors in your apache logs?
>>>> 
>>>> Best regards,
>>>> Răzvan Crainea
>>>> OpenSIPS Solutions
>>>> www.opensips-solutions.com <http://www.opensips-solutions.com/>
>>>> On 02/15/2017 04:00 PM, Vincent DOCQUOIS wrote:
>>>>> Hi all,
>>>>> 
>>>>> Hi all,
>>>>> 
>>>>> I am using Opensips 2.2 without any problem, I just have issues with opensips-cp (the latest sources get from git repo).
>>>>> 
>>>>> I have configured it according to the documentation and the dialog, dynamic routing, siptrace are working fine. However, "edit" and "delete" buttons are missing in dispatcher and dialplan sections.
>>>>> For example in dispatcher section, I can see this message : "Memory State'); } ?> '.$state_link.''; echo ''; echo ''; } ?> '.$state_link.''; echo ''; echo ''; } ?>" and I get '.$edit_link.' and '.$delete_link.' in columns.
>>>>> 
>>>>> I have configured it the same way as the other modules and short_open_tag = On in php.ini. I have no more idea to fix this problem, could you help me please
>>>>> 
>>>>> Thank you
>>>>> 
>>>>> Vincent
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>> 
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170216/f338d90d/attachment-0001.html>


More information about the Users mailing list