<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">The error is the first line.. Look at<br>
<br>
,'49'=>1<b>,'50'=>,'</b>51'=>2,'<br>
<br>
Regards,<br>
<br>
<br>
<div class="moz-signature"><b>Conrado Maggi</b><br>
(re)ingenia Soluciones<br>
Tel: (011) 2054.6296<br>
Cel: (011) 15.4973.8784<br>
<a class="moz-txt-link-abbreviated" href="http://www.reingenia.com.ar">www.reingenia.com.ar</a><br>
</div>
On 11/01/2012 12:52 PM, Rodrigo Souza wrote:<br>
</div>
<blockquote
cite="mid:CAEiUfbOt0YHUNhVNPFup3kW1Tw8utQ6fT87c6NBnkEqXeYBiPg@mail.gmail.com"
type="cite">
<div><span style="font-family:verdana,sans-serif">Sorry, this is
the User_Privileges, when it should be the Sharing Privileges.
I am attaching the file.</span><br>
</div>
<div class="gmail_extra"><br clear="all">
Atte,<br>
<b>Rodrigo Souza de Oliveira</b>
<div>
<b>Consultor de TI<br>
</b>Hostplan Informática Ltda<br>
<div>Telefones: (21) 9217-7909 e/ou (21) 8153-5287
<div>website: <a moz-do-not-send="true"
href="http://www.hostplan.com.br" target="_blank">www.hostplan.com.br</a><br>
e-mail/msn: <a moz-do-not-send="true"
href="mailto:rodrigo@hostplan.com.br" target="_blank">rodrigo@hostplan.com.br</a><br>
<img moz-do-not-send="true"
src="http://www.hostplan.com.br/logo.jpg" height="137"
width="200"><br>
</div>
</div>
</div>
<br>
<br>
<br>
<div class="gmail_quote">2012/11/1 Adam Heinz <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:amh@metricwise.net"
target="_blank">amh@metricwise.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Are you sure that you didn't just paste me
user_privileges_444.php? There's nothing wrong with the
file below.<br>
<br>
<div class="gmail_quote">
<div>
<div class="h5">On Thu, Nov 1, 2012 at 11:26 AM, Rodrigo
Souza <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rodrigo@hostplan.com.br"
target="_blank">rodrigo@hostplan.com.br</a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="h5"><font><font face="verdana,sans-serif">
<div>Adam,</div>
<div><br>
</div>
<div>The problem is that I never made any
changes to rules via SQL ...</div>
<div><br>
</div>
<div>I'll put the code below in file
sharing_privileges_444.php with you if you can
give me a direction to solve the problem I
will thank.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div><?php</div>
<div><br>
</div>
<div><br>
</div>
<div>//This is the access privilege file</div>
<div>$is_admin=false;</div>
<div><br>
</div>
<div>$current_user_roles='H17';</div>
<div><br>
</div>
<div>$current_user_parent_role_seq='H1::H2::H3::H20::H17';</div>
<div><br>
</div>
<div>$current_user_profiles=array(8,);</div>
<div><br>
</div>
<div>$profileGlobalPermission=array('1'=>1,'2'=>1,);</div>
<div><br>
</div>
<div>$profileTabsPermission=array('1'=>0,'2'=>0,'4'=>0,'6'=>0,'7'=>0,'8'=>0,'9'=>0,'10'=>0,'13'=>1,'14'=>0,'15'=>1,'16'=>0,'18'=>1,'19'=>0,'20'=>0,'21'=>1,'22'=>0,'23'=>0,'24'=>1,'25'=>0,'26'=>0,'27'=>1,'30'=>1,'31'=>1,'32'=>1,'33'=>1,'34'=>1,'35'=>1,'36'=>1,'37'=>1,'38'=>1,'39'=>1,'40'=>1,'41'=>1,'42'=>1,'43'=>1,'45'=>0,'46'=>1,'47'=>1,'48'=>0,'49'=>0,'51'=>0,'52'=>0,);</div>
<div><br>
</div>
<div>$profileActionPermission=array(2=>array(0=>1,1=>1,2=>1,3=>0,4=>0,5=>0,6=>0,10=>0,),4=>array(0=>1,1=>1,2=>1,3=>0,4=>0,5=>0,6=>0,8=>0,10=>0,),6=>array(0=>1,1=>1,2=>1,3=>0,4=>0,5=>0,6=>0,8=>0,10=>0,),7=>array(0=>1,1=>1,2=>1,3=>0,4=>0,5=>0,6=>0,8=>0,9=>0,10=>0,),8=>array(0=>0,1=>0,2=>1,3=>0,4=>0,6=>0,),9=>array(0=>0,1=>0,2=>0,3=>0,4=>0,),13=>array(0=>1,1=>1,2=>1,3=>1,4=>1,5=>0,6=>0,8=>0,10=>0,),14=>array(0=>1,1=>1,2=>1,3=>0,4=>0,5=>0,6=>0,10=>0,),15=>array(0=>1,1=>1,2=>1,3=>1,4=>1,),16=>array(0=>0,1=>0,2=>0,3=>0,4=>0,),18=>array(0=>1,1=>1,2=>1,3=>1,4=>1,5=>0,6=>0,10=>0,),19=>array(0=>1,1=>1,2=>1,3=>0,4=>0,),20=>array(0=>1,1=>1,2=>1,3=>0,4=>0,),21=&g
t;array(0=>1,1=>1,2=>1,3=>1,4=>1,),22=>array(0=>1,1=>1,2=>1,3=>0,4=>0,),23=>array(0=>1,1=>1,2=>1,3=>0,4=>0,),26=>array(0=>1,1=>1,2=>1,3=>0,4=>0,),31=>array(0=>1,1=>1,2=>1,3=>1,4=>1,5=>0,6=>0,10=>0,),32=>array(0=>1,1=>1,2=>1,3=>1,4=>1,5=>0,6=>0,8=>0,),34=>array(0=>1,1=>1,2=>1,3=>1,4=>1,5=>0,6=>0,10=>0,),35=>array(0=>1,1=>1,2=>1,3=>1,4=>1,),37=>array(0=>1,1=>1,2=>1,3=>1,4=>1,5=>0,6=>0,10=>0,),38=>array(0=>1,1=>1,2=>1,3=>1,4=>1,5=>0,6=>0,10=>0,),39=>array(0=>1,1=>1,2=>1,3=>1,4=>1,5=>0,6=>0,10=>0,),40=>array(0=>1,1=>1,2=>1,3=>1,4=>1,5=>0,6=>0,10=>0,),45=>array(0=>0,1=>0,2=>0,3=>0,4=>0,),47=>array(0=>1,1=>1,2=>1,3=>1,4=>1,),48=>array(0=>0,1=>0,2=>0,3=>0,4=>0,5=>0
,6=>0,8=>0,),49=>array(0=>1,1=>1,2=>1,3=>0,4=>0,5=>0,6=>0,8=>0,),51=>array(0=>0,1=>0,2=>0,3=>0,4=>0,5=>0,6=>0,8=>1,),52=>array(0=>0,1=>0,2=>0,3=>0,4=>0,5=>0,6=>0,8=>1,),);</div>
<div><br>
</div>
<div>$current_user_groups=array();</div>
<div><br>
</div>
<div>$subordinate_roles=array();</div>
<div><br>
</div>
<div>$parent_roles=array('H1','H2','H3','H20',);</div>
<div><br>
</div>
<div>$subordinate_roles_users=array();</div>
<div><br>
</div>
<div>$user_info=array('user_name'=>'teste123','is_admin'=>'off','user_password'=>'$1$te000000$4PLMaZ/mhqu/WdNvIH0Cp0','confirm_password'=>'$1$te000000$4PLMaZ/mhqu/WdNvIH','first_name'=>'David','last_name'=>'Soares','roleid'=>'H17','email1'=>'<a
moz-do-not-send="true"
href="mailto:rodrigo@hostplan.com.br"
target="_blank">rodrigo@hostplan.com.br</a>','status'=>'Active','activity_view'=>'Today','lead_view'=>'Today','currency_id'=>'1','currency_name'=>'Brazil,
Reais','currency_code'=>'BRL','currency_symbol'=>'R$','conv_rate'=>'1.000','hour_format'=>'','end_hour'=>'','start_hour'=>'','title'=>'','phone_work'=>'','department'=>'','phone_mobile'=>'','reports_to_id'=>'74','phone_other'=>'','email2'=>'','phone_fax'=>'<a
moz-do-not-send="true"
href="tel:2192177909"
value="+552192177909" target="_blank">2192177909</a>','yahoo_id'=>'','phone_home'=>'','imagename'=>'','date_format'=>'dd-mm-yyyy','signature'=>'','description'=>'','reminder_interval'=>'5
Minutes','internal_mailer'=>'1','address_street'=>'','address_city'=>'','address_state'=>'','address_postalcode'=>'','address_country'=>'','asterisk_extension'=>'','use_asterisk'=>'1','accesskey'=>'bLucb6B4WtryNgKP','record_id'=>'','record_module'=>'','id'=>'446');</div>
<div>?></div>
</div>
<div><br>
</div>
<div><br>
</div>
</font></font>
<div class="gmail_extra">
<div><br clear="all">
Atte,<br>
<b>Rodrigo Souza de Oliveira</b>
<div><b>Consultor de TI<br>
</b>Hostplan Informática Ltda<br>
<div>Telefones: <a moz-do-not-send="true"
href="tel:%2821%29%209217-7909"
value="+552192177909" target="_blank">(21)
9217-7909</a> e/ou <a
moz-do-not-send="true"
href="tel:%2821%29%208153-5287"
value="+552181535287" target="_blank">(21)
8153-5287</a>
<div>
website: <a moz-do-not-send="true"
href="http://www.hostplan.com.br"
target="_blank">www.hostplan.com.br</a><br>
e-mail/msn: <a moz-do-not-send="true"
href="mailto:rodrigo@hostplan.com.br"
target="_blank">rodrigo@hostplan.com.br</a><br>
<img moz-do-not-send="true" height="137"
width="200"><br>
</div>
</div>
</div>
<br>
<br>
<br>
</div>
<div class="gmail_quote">2012/11/1 Adam Heinz <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:amh@metricwise.net"
target="_blank">amh@metricwise.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div>
<div>
<div>On Thu, Nov 1, 2012 at 10:43 AM,
Rodrigo Souza <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:rodrigo@hostplan.com.br"
target="_blank">rodrigo@hostplan.com.br</a>></span>
wrote:<br>
</div>
<div class="gmail_quote">
<div>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div class="gmail_extra"><span
style="font-family:'Times New
Roman';font-size:medium">Warning:
chmod(): Operation not permitted
in /var/www/vtiger/vtiger_novo/</span><span
style="font-family:'Times New
Roman';font-size:medium">log4php.debug/appenders/</span><span
style="font-family:'Times New
Roman';font-size:medium">LoggerAppenderFile.php
on line 80 Parse error: syntax
error, unexpected ',' in
/var/www/vtiger/vtiger_novo/</span><span
style="font-family:'Times New
Roman';font-size:medium">user_privileges/sharing_</span><span
style="font-family:'Times New
Roman';font-size:medium">privileges_444.php
on line 5</span></div>
</blockquote>
<div> </div>
</div>
<div>That's not a file permissions
error, it's a parse error. I'll bet
if you open
sharing_privileges_444.php, you will
find that some of the arrays inside
are malformed. This has happened to
me in the past prior to vtlib when I
used to do permissions updates by
hand. Have you changed any sharing
rules with SQL recently?</div>
</div>
<br>
</div>
</div>
_______________________________________________<br>
<a moz-do-not-send="true"
href="http://www.vtiger.com/"
target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
</div>
<br>
</div>
</div>
_______________________________________________<br>
<a moz-do-not-send="true" href="http://www.vtiger.com/"
target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
<br>
_______________________________________________<br>
<a moz-do-not-send="true" href="http://www.vtiger.com/"
target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
</blockquote>
<br>
</body>
</html>