<div dir="ltr">HI, add  require("../../../common/cfg_comm.php");<div>before "require("template/header.php");"</div><div><br></div><div>works for me. Maybe a little bug. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 21 окт. 2021 г. в 22:12, Eamon Garland <<a href="mailto:eamon.garland@gmail.com">eamon.garland@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Bogdan<div>i am using the following for the install</div><div><pre style="box-sizing:inherit;overflow:auto;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px;padding:9.5px;margin-top:0px;margin-bottom:10px;line-height:1.42857;color:rgb(51,51,51);word-break:break-all;background-color:rgb(245,245,245);border:1px solid rgb(204,204,204);border-radius:4px">wget <a href="https://github.com/OpenSIPS/opensips-cp/archive/master.zip" target="_blank">https://github.com/OpenSIPS/opensips-cp/archive/master.zip</a></pre></div></div>Regards,<div>Eamon<br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 21, 2021 at 5:55 PM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <font face="monospace">Hi Eamon,<br>
      <br>
      What version of CP do you use ?<br>
      <br>
      Regards,<br>
    </font>
    <pre cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 2021 
  <a href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/" target="_blank">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre>
    <div>On 10/20/21 8:27 PM, Eamon Garland
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div id="gmail-m_8872996617285137456gmail-m_4357925633692551373__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);text-align:left" dir="ltr">
        Hi
        <div>i have installed latest version on debian 10 and get the
          following error when i try to add rules </div>
        <div>
          <div><br>
          </div>
          <div>
            <div> PHP Fatal error:  Uncaught Error: Call t<b>o undefined
                function get_group()</b> in
/var/www/html/opensips-cp/web/tools/system/drouting/template/header.php:33\nStack
              trace:\n#0
              /var/www/html/opensips-cp/web/tools/system/drouting/rules.php(24):
              require()\n#1 {main}\n  thrown in
              /var/www/html/opensips-cp/web/tools/system/drouting/template/header.php
              on line 33, referer:
              <a href="http://x.x.x.x/cp/tools/system/drouting/gateways.php" target="_blank">http://x.x.x.x/cp/tools/system/drouting/gateways.php</a></div>
          </div>
          <div><br>
          </div>
        </div>
      </div>
      <img style="border: 0px; display: none;" src="https://tracking.getmailbird.com/OpenTrackingPixel/?messageId=Mailbird-07383153-e2fc-4877-995f-2567fab13f7e@itelecoms.ie&senderHash=2F6920D8BDAEEBF8AEA7D4FE972D5FF8AABBA763AD500A4BF7025570B1D8BD81&recipientHash=2F6920D8BDAEEBF8AEA7D4FE972D5FF8AABBA763AD500A4BF7025570B1D8BD81&internalId=066f9b81-bcd9-4ae0-9df2-995b05243df8" alt="cdca5e74-523d-4cc2-b56b-f598aed8535d" width="1" height="1">
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>