For whatever its worth I also get error of somewhat same kind. i.e. Just after installing/configuring , I log onto the siremis Web GUI and I (as advised) try to change the "admin" user password or disable the "member" user. I get same sort of error. Below is the output from the pop-up firefox window.
You can reproduce this. By logging in as admin/admin. --> Click "Administration" Top Left --> Click "User Management" ---> Select "member" user ---> Click "Edit" ----> change status from "active" to "inactive" ---> Click Save. Note: u need to allow pop-ups in firefox for this domain/ip. ------------------------------------------------------------------------------------------------ popup window's url http://192.168.90.125/siremis/system/user_edit/2 ------------------------------------------------------------------------------------------------ Parse error: syntax error, unexpected ',' in /var/www/siremis-2.0.0/openbiz/bin/Expression.php(368) : eval()'d code on line 1 [{"target":"ERROR","content":" \n[2010-11-03 10:52:37 (GMT)] An exception occurred while executing this script: \nError message: #256, EVAL: $ret = member, 3, 10; \nParse error<\/b>: syntax error, unexpected ',' in \/var\/www\/siremis-2.0.0\/openbiz\/bin\/Expression.php(368) : eval()'d code<\/b> on line 1<\/b> \n<\/font> \nScript name and line number of error: \/var\/www\/siremis-2.0.0\/openbiz\/bin\/Expression.php:378<\/font> \n function:<\/b> errorHandler ( 256, \"EVAL: $ret = member, 3, 10; <br \/>\n<b>Parse error<\/b>: syntax e...\", \"\/var\/www\/siremis-2.0.0\/openbiz\/bin\/Expression.php\", 378, Array(5) ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/sysheader.inc 117\n function:<\/b> userErrorHandler ( 256, \"EVAL: $ret = member, 3, 10; <br \/>\n<b>Parse error<\/b>: syntax e...\", \"\/var\/www\/siremis-2.0.0\/openbiz\/bin\/Expression.php\", 378, Array(5) ) @ \n function:<\/b> trigger_error ( \"EVAL: $ret = member, 3, 10; <br \/>\n<b>Parse error<\/b>: syntax e...\", 256 ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/Expression.php 378\n function:<\/b> eval_syntax ( \"$ret = member, 3, 10;\" ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/Expression.php 327\n function:<\/b> evaluateExpression ( \"{[fld_username], 3, 10}\", Object(UserForm) ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/Expression.php 190\n function:<\/b> replaceVarExpr ( \"@validate:betweenLength([fld_username], 3, 10)\", Object(UserForm) ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/Expression.php 311\n function:<\/b> evaluateExpression ( \"{...@validate:betweenLength([fld_username], 3, 10)}\", Object(UserForm) ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/easy\/element\/Element.php 472\n function:<\/b> validate ( ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/easy\/EasyForm.php 1370\n function:<\/b> validateForm ( ) @ \/var\/www\/siremis-2.0.0\/siremis\/modules\/system\/form\/UserForm.php 146\n function:<\/b> validateForm ( ) @ \/var\/www\/siremis-2.0.0\/siremis\/modules\/system\/form\/UserForm.php 106\n function:<\/b> UpdateUser ( ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/BizController.php 310\n function:<\/b> invoke ( ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/BizController.php 110\n function:<\/b> dispatchRequest ( ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/BizController.php 32\n function:<\/b> include_once ( \"\/var\/www\/siremis-2.0.0\/openbiz\/bin\/BizController.php\" ) @ \/var\/www\/siremis-2.0.0\/siremis\/bin\/controller.php 6<\/div>\nPlease ask system administrator for help...<\/div>\n"}] ----------------------------------------------------------------------------------------- Apache access.log (The last controller.php... line is when you try to save the status) --------------------------------------------- 192.168.90.254 - - [03/Nov/2010:07:05:06 -0400] "GET /siremis/system/user_detail/2 HTTP/1.1" 200 5365 " http://192.168.90.125/siremis/system/user_list" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.16) Gecko/2009121707 CentOS/3.0.16-1.el5.centos Firefox/3.0.16" 192.168.90.254 - - [03/Nov/2010:07:05:12 -0400] "GET /siremis/system/user_edit/2 HTTP/1.1" 200 3777 " http://192.168.90.125/siremis/system/user_detail/2" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.16) Gecko/2009121707 CentOS/3.0.16-1.el5.centos Firefox/3.0.16" 192.168.90.254 - - [03/Nov/2010:07:05:43 -0400] "POST /siremis/bin/controller.php?F=RPCInvoke&P0=[system.form.UserEditForm]&P1=[UpdateUser]&__this=btn_save:save_onclick HTTP/1.1" 200 864 "http://192.168.90.125/siremis/system/user_edit/2" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.16) Gecko/2009121707 CentOS/3.0.16-1.el5.centos Firefox/3.0.16" ------------------------------------------------ apaches error.log is empty btw. On Tue, Nov 2, 2010 at 10:17 AM, Jeremya <jer...@electrosilk.net> wrote: > Elena-Ramona Modroiu wrote: > > On 11/02/2010 12:22 PM, Jeremya wrote: > >> Elena-Ramona Modroiu wrote: > >> > >>> On 11/02/2010 07:57 AM, Jeremya wrote: > >>> > >>>> Elena-Ramona Modroiu wrote: > >>>> > >>>> > >>>>> Hi, > >>>>> > >>>>> Siremis v2.0.0 is out – the web management interface for Kamailio > >>>>> (Openser) v3.1.0 and SIP Express Router (SER). > >>>>> > >>>>> > >>>> I downloaded and installed the latest source version of kamailio 3.1.0 > >>>> (not git) and compiled an installed it. This works as expected. > >>>> > >>>> I then downloaded siremis v 2.0.0 and installed it as instructed, > >>>> including creating the siremis tables etc. I can use it to some > >>>> extent, > >>>> but the 'save' function for user edits fails. I can't change existing > >>>> users nor add new ones. The form just sits there > >>>> > >>>> > >> I accessed it from the siremis management panel - not user panel. > >> I used wireshark to monitor. > >> When I analyse it I only see the initial POST request. There are no > >> responses - though I do see an animation on the web page of cycling > >> 'blocks' - I assume made by java-script > >> > >> The POST is > >> > >> 342 3.792484 203.31.40.68 203.31.40.102 HTTP POST > >> > /siremis/bin/controller.php?F=RPCInvoke&P0=[system.form.UserEditForm]&P1=[UpdateUser]&__this=btn_save:save_onclick > >> > >> HTTP/1.1 (application/x-www-form-urlencoded) > >> > >> > > Is there any error message in apache logs? There should be at least > > some error http reply. > > > > Ramona > > apache access log > > 203.31.40.68 - - [02/Nov/2010:19:15:23 +0800] "GET > /siremis/system/user_edit/1 HTTP/1.1" 200 18076 > "http://sentinel.bronzemail.com/siremis/system/user_list" "Mozilla/5.0 > (X11; U; Linux i686; en-US; rv:1.9.2.11) Gecko/20101028 > CentOS/3.6-2.el5.centos Firefox/3.6.11" > 203.31.40.68 - - [02/Nov/2010:19:15:43 +0800] "POST > > /siremis/bin/controller.php?F=RPCInvoke&P0=[system.form.UserEditForm]&P1=[UpdateUser]&__this=btn_save:save_onclick > HTTP/1.1" 200 2476 > "http://sentinel.bronzemail.com/siremis/system/user_edit/1" "Mozilla/5.0 > (X11; U; Linux i686; en-US; rv:1.9.2.11) Gecko/20101028 > CentOS/3.6-2.el5.centos Firefox/3.6.11" > > > apache error log > > [Tue Nov 02 19:15:43 2010] [error] [client 203.31.40.68] PHP Parse > error: syntax error, unexpected ',' in > /var/www/siremis-2.0.0/openbiz/bin/Expression.php(368) : eval()'d code > on line 1, referer: > http://sentinel.bronzemail.com/siremis/system/user_edit/1 > > > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users