Hi Ronald,

Thanks for troubleshooting and fixing this. I pushed the fix on git !
https://github.com/OpenSIPS/opensips-cp/commit/492a0eb46dedc1f09297ed331013254cdd5bf1a8

Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
  https://www.siphub.com

On 08.12.2023 16:57, [email protected] wrote:
Hi Bogan-Andrei,

Show errors was not an otion: I get error after log in. Instead I did the following:

using tail -f on apache error log file


calling call center on the left menu and result is blank page

[..]


calling TLS management on the left panel and result is blank page

[..]


Calling UAC Registrant on the left menu and result is blank page

[..]


--

diff /var/www/html/opensipscp/web/common/tools/tviewer/tviewer.php /var/www/html/opensips-cp/web/common/tools/tviewer/tviewer.php


68,72c68,70
< if (isset($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_columns']) {
< for ($i=0; $i
< if (isset($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_columns'][$i]['action_script']) && $custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_columns'][$i]['action_script']!="" && file_exists($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_columns'][$i]['action_script'])) < require($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_columns'][$i]['action_script']);
< }
---
> for ($i=0; $i<count($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_columns']); $i++) { > if (isset($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_columns'][$i]['action_script']) && $custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_columns'][$i]['action_script']!="" && file_exists($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_columns'][$i]['action_script'])) > require($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_columns'][$i]['action_script']);
85,89c83,85
< if (isset($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_buttons'])) {
< for ($i=0; $i
< if (isset($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_buttons'][$i]['action_script']) && $custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_buttons'][$i]['action_script']!="" && file_exists($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_buttons'][$i]['action_script'])) < require($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_buttons'][$i]['action_script']);
< }
---
> for ($i=0; $i<count($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_buttons']); $i++) { > if (isset($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_buttons'][$i]['action_script']) && $custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_buttons'][$i]['action_script']!="" && file_exists($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_buttons'][$i]['action_script'])) > require($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_action_buttons'][$i]['action_script']);
98,99c94
< if (isset($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_search']['enabled']) && < $custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_search']['enabled'])
---
> if ($custom_config[$module_id][$_SESSION[$module_id]['submenu_item_id']]['custom_search']['enabled'])


I hope this is enough?

Regards,

Ronald

December 8, 2023 at 8:39 AM, "Bogdan-Andrei Iancu" <[email protected] <mailto:[email protected]?to=%22Bogdan-Andrei%20Iancu%22%20%3Cbogdan%40opensips.org%3E>> wrote:

    Hi Ronald,

    yes, please check for ERR or WARN in php.

    Regards,

    Bogdan-Andrei Iancu

    OpenSIPS Founder and Developer
       https://www.opensips-solutions.com
       https://www.siphub.com

    On 07.12.2023 22:26, [email protected] wrote:

        Hi Bogdan-Andrei,
        The others like adresses and dialplan or dynamic routing (very
        important one) work and the dialogues give the right answers.
        No reaction means blank page.
        Want me to enable PHP error messages?
        Regards,
        Ronald

        December 7, 2023 at 6:18 PM, "Bogdan-Andrei Iancu"
        <[email protected]
        
<mailto:[email protected]?to=%22Bogdan-Andrei%20Iancu%22%20%3Cbogdan%40opensips.org%3E>>
        wrote:

            Hi Ronald,

            Tool as Addresses or Diaplan are still working in 9.3.4 ?
            and just to clarify, what exactly means "no reaction"?
            when you click on the "Call Center" tool, you still have
            the old tool in the main right window? or is it turning
            blank ?

            Regards,

            Bogdan-Andrei Iancu

            OpenSIPS Founder and Developer
               https://www.opensips-solutions.com
               https://www.siphub.com

            On 07.12.2023 15:44, [email protected] wrote:

                Hi Bogdan,
                Short answer: yes.
                Did not change anything in modules.inc.php.
                I have 2 directories opensips-cp and opensipscp,
                containing 9.3.3 and 9.3.4 respectively. also
                configured in apache2.
                Copied the db.inc.php from the 9.3.3 to the 9.3.4
                directory.
                Regards,
                Ronald Geerligs

                December 7, 2023 at 9:08 AM, "Bogdan-Andrei Iancu"
                <[email protected]
                
<mailto:[email protected]?to=%22Bogdan-Andrei%20Iancu%22%20%3Cbogdan%40opensips.org%3E>>
                wrote:

                    Hi Ronald,

                    So same server with an OpenSIPS 3.4 works with OCP
                    9.3.3, but not with OCP 9.3.4 - the only
                    difference between the 2 tests is the version of
                    OCP, still exactly the same env is used, right ?
                    Any setting in the modules.inc.php ?

                    Regards,

                    Bogdan-Andrei Iancu

                    OpenSIPS Founder and Developer
                       https://www.opensips-solutions.com
                       https://www.siphub.com

                    On 06.12.2023 20:58, [email protected] wrote:

                        Hi all,
                        I do not know where to post this, but maybe it
                        is all right.
                        I use:
                        Opensips 3.4 compiled on Oracle VM ARM Ubuntu
                        22.04.2 LTS - php 7.4 with OCP 9.3.3.
                        Everything works!
                        Installed OCP 9.3.4 and many menues on the
                        left side have no reaction:
                        CallCenter
                        keepalived
                        TLS management !
                        UAC registrant
                        SMPP Gateway
                        TCP Management
                        Regards,
                        Ronald Geerligs

                        October 2, 2023 at 8:49 AM, "Răzvan Crainea"
                        <[email protected]
                        
<mailto:[email protected]?to=%22R%C4%83zvan%20Crainea%22%20%3Crazvan%40opensips.org%3E>>
                        wrote:

                            Hi, Nineto!
                            Although it was not already released,
                            OpenSIPS master branch should be
                            compatible with OpenSIPS 3.4. The
                            compatibility process is not yet
                            complete, therefore a full release (9.3.4)
                            is not available yet for
                            OpenSIPS 3.4.
                            Best regards,
                            Răzvan Crainea
                            OpenSIPS Core Developer / SIPhub CTO
                            http://www.opensips-solutions.com/ /
                            https://www.siphub.com/
                            On 9/29/23 19:15, Nine to one wrote:

                                Hello OpenSIPS Control Panel developers,
                                From website OCP only mentioned
                                support up to OpenSIPS 3.3, I am using
                                3.4, so want to know if current OCP
                                already support OpenSIPS 3.4 or not.
                                Thanks,
                                Nineto
                                _______________________________________________
                                Users mailing list
                                [email protected]
                                
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

                            _______________________________________________
                            Users mailing list
                            [email protected]
                            
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

                        _______________________________________________
                        Users mailing list
                        [email protected]
                        http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to