<div>For whatever its worth I also get error of somewhat same kind.</div><div>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.</div>
<div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>You can reproduce this.</div><div>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. </div>
<div>Note: u need to allow pop-ups in firefox for this domain/ip.</div></div><div><br></div><div><br></div><div>------------------------------------------------------------------------------------------------</div><div>popup window's url <a href="http://192.168.90.125/siremis/system/user_edit/2">http://192.168.90.125/siremis/system/user_edit/2</a></div>
<div>------------------------------------------------------------------------------------------------</div><div><div><br></div><div>Parse error: syntax error, unexpected ',' in /var/www/siremis-2.0.0/openbiz/bin/Expression.php(368) : eval()'d code on line 1</div>
<div>[{"target":"ERROR","content":"</div><div>\n[2010-11-03 10:52:37 (GMT)] An exception occurred while executing this script:</div><div>\nError message: #256, EVAL: $ret = member, 3, 10;</div>
<div>\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></div><div>\n<\/font></div><div>
\nScript name and line number of error: \/var\/www\/siremis-2.0.0\/openbiz\/bin\/Expression.php:378<\/font></div><div>\n</div><div><br></div><div>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</div>
<div>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</div>
<div>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</div><div>
function:<\/b> eval_syntax ( \"$ret = member, 3, 10;\" ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/Expression.php 327\n</div><div>function:<\/b> evaluateExpression ( \"{[fld_username], 3, 10}\", Object(UserForm) ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/Expression.php 190\n</div>
<div>function:<\/b> replaceVarExpr ( \"@validate:betweenLength([fld_username], 3, 10)\", Object(UserForm) ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/Expression.php 311\n</div><div>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</div>
<div>function:<\/b> validate ( ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/easy\/EasyForm.php 1370\n</div><div>function:<\/b> validateForm ( ) @ \/var\/www\/siremis-2.0.0\/siremis\/modules\/system\/form\/UserForm.php 146\n</div>
<div>function:<\/b> validateForm ( ) @ \/var\/www\/siremis-2.0.0\/siremis\/modules\/system\/form\/UserForm.php 106\n</div><div>function:<\/b> UpdateUser ( ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/BizController.php 310\n</div>
<div>function:<\/b> invoke ( ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/BizController.php 110\n</div><div>function:<\/b> dispatchRequest ( ) @ \/var\/www\/siremis-2.0.0\/openbiz\/bin\/BizController.php 32\n</div>
<div>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"}]</div>
</div><div>-----------------------------------------------------------------------------------------</div><div><br></div><div><br></div><div><br></div><div><br></div><div>Apache access.log (The last controller.php... line is when you try to save the status)</div>
<div>---------------------------------------------</div><div><div>192.168.90.254 - - [03/Nov/2010:07:05:06 -0400] "GET /siremis/system/user_detail/2 HTTP/1.1" 200 5365 "<a href="http://192.168.90.125/siremis/system/user_list">http://192.168.90.125/siremis/system/user_list</a>" "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"</div>
<div>192.168.90.254 - - [03/Nov/2010:07:05:12 -0400] "GET /siremis/system/user_edit/2 HTTP/1.1" 200 3777 "<a href="http://192.168.90.125/siremis/system/user_detail/2">http://192.168.90.125/siremis/system/user_detail/2</a>" "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"</div>
<div>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 "<a href="http://192.168.90.125/siremis/system/user_edit/2">http://192.168.90.125/siremis/system/user_edit/2</a>" "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"</div>
</div><div><br></div><div>------------------------------------------------</div><div><br></div><div>apaches error.log is empty btw.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br><br><div class="gmail_quote">
On Tue, Nov 2, 2010 at 10:17 AM, Jeremya <span dir="ltr"><<a href="mailto:jeremy@electrosilk.net">jeremy@electrosilk.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">Elena-Ramona Modroiu wrote:<br>
> On 11/02/2010 12:22 PM, Jeremya wrote:<br>
>> Elena-Ramona Modroiu wrote:<br>
>><br>
>>> On 11/02/2010 07:57 AM, Jeremya wrote:<br>
>>><br>
>>>> Elena-Ramona Modroiu wrote:<br>
>>>><br>
>>>><br>
>>>>> Hi,<br>
>>>>><br>
>>>>> Siremis v2.0.0 is out – the web management interface for Kamailio<br>
>>>>> (Openser) v3.1.0 and SIP Express Router (SER).<br>
>>>>><br>
>>>>><br>
>>>> I downloaded and installed the latest source version of kamailio 3.1.0<br>
>>>> (not git) and compiled an installed it. This works as expected.<br>
>>>><br>
>>>> I then downloaded siremis v 2.0.0 and installed it as instructed,<br>
>>>> including creating the siremis tables etc. I can use it to some<br>
>>>> extent,<br>
>>>> but the 'save' function for user edits fails. I can't change existing<br>
>>>> users nor add new ones. The form just sits there<br>
>>>><br>
>>>><br>
>> I accessed it from the siremis management panel - not user panel.<br>
>> I used wireshark to monitor.<br>
>> When I analyse it I only see the initial POST request. There are no<br>
>> responses - though I do see an animation on the web page of cycling<br>
>> 'blocks' - I assume made by java-script<br>
>><br>
>> The POST is<br>
>><br>
>> 342 3.792484 203.31.40.68 203.31.40.102 HTTP POST<br>
>> /siremis/bin/controller.php?F=RPCInvoke&P0=[system.form.UserEditForm]&P1=[UpdateUser]&__this=btn_save:save_onclick<br>
>><br>
>> HTTP/1.1 (application/x-www-form-urlencoded)<br>
>><br>
>><br>
> Is there any error message in apache logs? There should be at least<br>
> some error http reply.<br>
><br>
> Ramona<br>
<br>
</div></div>apache access log<br>
<br>
203.31.40.68 - - [02/Nov/2010:19:15:23 +0800] "GET<br>
/siremis/system/user_edit/1 HTTP/1.1" 200 18076<br>
"<a href="http://sentinel.bronzemail.com/siremis/system/user_list" target="_blank">http://sentinel.bronzemail.com/siremis/system/user_list</a>" "Mozilla/5.0<br>
(X11; U; Linux i686; en-US; rv:1.9.2.11) Gecko/20101028<br>
CentOS/3.6-2.el5.centos Firefox/3.6.11"<br>
203.31.40.68 - - [02/Nov/2010:19:15:43 +0800] "POST<br>
<div class="im">/siremis/bin/controller.php?F=RPCInvoke&P0=[system.form.UserEditForm]&P1=[UpdateUser]&__this=btn_save:save_onclick<br>
</div>HTTP/1.1" 200 2476<br>
"<a href="http://sentinel.bronzemail.com/siremis/system/user_edit/1" target="_blank">http://sentinel.bronzemail.com/siremis/system/user_edit/1</a>" "Mozilla/5.0<br>
(X11; U; Linux i686; en-US; rv:1.9.2.11) Gecko/20101028<br>
CentOS/3.6-2.el5.centos Firefox/3.6.11"<br>
<br>
<br>
apache error log<br>
<br>
[Tue Nov 02 19:15:43 2010] [error] [client 203.31.40.68] PHP Parse<br>
error: syntax error, unexpected ',' in<br>
/var/www/siremis-2.0.0/openbiz/bin/Expression.php(368) : eval()'d code<br>
on line 1, referer:<br>
<a href="http://sentinel.bronzemail.com/siremis/system/user_edit/1" target="_blank">http://sentinel.bronzemail.com/siremis/system/user_edit/1</a><br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br>