HI, add require("../../../common/cfg_comm.php"); before "require("template/header.php");"
works for me. Maybe a little bug. чт, 21 окт. 2021 г. в 22:12, Eamon Garland <eamon.garl...@gmail.com>: > Hi Bogdan > i am using the following for the install > > wget https://github.com/OpenSIPS/opensips-cp/archive/master.zip > > Regards, > Eamon > On Thu, Oct 21, 2021 at 5:55 PM Bogdan-Andrei Iancu <bog...@opensips.org> > wrote: > >> Hi Eamon, >> >> What version of CP do you use ? >> >> Regards, >> >> Bogdan-Andrei Iancu >> >> OpenSIPS Founder and Developer >> https://www.opensips-solutions.com >> OpenSIPS eBootcamp 2021 >> https://opensips.org/training/OpenSIPS_eBootcamp_2021/ >> >> On 10/20/21 8:27 PM, Eamon Garland wrote: >> >> Hi >> i have installed latest version on debian 10 and get the following error >> when i try to add rules >> >> PHP Fatal error: Uncaught Error: Call t*o undefined function >> get_group()* 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: http://x.x.x.x/cp/tools/system/drouting/gateways.php >> >> [image: cdca5e74-523d-4cc2-b56b-f598aed8535d] >> >> _______________________________________________ >> Users mailing >> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> >> _______________________________________________ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users