asipto / siremis

Web Admin Interface for Kamailio
http://www.siremis.org
98 stars 46 forks source link

Issue with UserForm.php #52

Closed demonspork closed 4 years ago

demonspork commented 4 years ago

10.1.41-MariaDB-0+deb9u1 Debian 9.9 kamailio 4.4.4 (x86_64/linux) Apache/2.4.25 (Debian) PHP 7.0.33

This error crops up any time I attempt to edit a user, either the admin user I signed in as or another user.

[2019-10-29 02:21:09 (GMT)] An exception occurred while executing this script:
Error message: #2, Declaration of UserForm::validateForm() should be compatible with EasyForm::validateForm($cleanError = true)
Script name and line number of error: /var/www/siremis-4.4.0/siremis/modules/system/form/UserForm.php:27

function: errorHandler ( 2, "Declaration of UserForm::validateForm() should be compatible wit...", "/var/www/siremis-4.4.0/siremis/modules/system/form/UserForm.php", 27, Array(12) ) @ /var/www/siremis-4.4.0/openbiz/bin/sysheader.inc 117
function: userErrorHandler ( 2, "Declaration of UserForm::validateForm() should be compatible wit...", "/var/www/siremis-4.4.0/siremis/modules/system/form/UserForm.php", 27, Array(12) ) @ /var/www/siremis-4.4.0/siremis/modules/system/form/UserForm.php 27
function: include_once ( "/var/www/siremis-4.4.0/siremis/modules/system/form/UserForm.php" ) @ /var/www/siremis-4.4.0/openbiz/bin/ObjectFactory.php 162
function: constructObject ( "system.form.UserEditForm" ) @ /var/www/siremis-4.4.0/openbiz/bin/ObjectFactory.php 56
function: getObject ( "system.form.UserEditForm", 0 ) @ /var/www/siremis-4.4.0/openbiz/bin/BizSystem.php 252
function: getObject ( "system.form.UserEditForm" ) @ /var/www/siremis-4.4.0/openbiz/bin/BizController.php 297
function: invoke ( ) @ /var/www/siremis-4.4.0/openbiz/bin/BizController.php 110
function: dispatchRequest ( ) @ /var/www/siremis-4.4.0/openbiz/bin/BizController.php 32
function: include_once ( "/var/www/siremis-4.4.0/openbiz/bin/BizController.php" ) @ /var/www/siremis-4.4.0/siremis/bin/controller.php 6
miconda commented 4 years ago

You have to use latest github version of siremis (5.1 at this moment) for php7. See:

It should be pretty ok to run it with kamailio 4.4, but it is strongly recommended to use at least kamailio 5.2, because the older versions are no longer maintained (5.1.x will end of life soon).

Open a new issue if siremis 5.1 has issues.