<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'=&gt;1<b>,'50'=&gt;,'</b>51'=&gt;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&aacute;tica Ltda<br>
          <div>Telefones: (21) 9217-7909 e/ou (21) 8153-5287
            <div>website:&nbsp;<a moz-do-not-send="true"
                href="http://www.hostplan.com.br" target="_blank">www.hostplan.com.br</a><br>
              e-mail/msn:&nbsp;<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">&lt;<a
              moz-do-not-send="true" href="mailto:amh@metricwise.net"
              target="_blank">amh@metricwise.net</a>&gt;</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? &nbsp;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">&lt;<a moz-do-not-send="true"
                      href="mailto:rodrigo@hostplan.com.br"
                      target="_blank">rodrigo@hostplan.com.br</a>&gt;</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>&lt;?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'=&gt;1,'2'=&gt;1,);</div>
                          <div><br>
                          </div>
                          <div>$profileTabsPermission=array('1'=&gt;0,'2'=&gt;0,'4'=&gt;0,'6'=&gt;0,'7'=&gt;0,'8'=&gt;0,'9'=&gt;0,'10'=&gt;0,'13'=&gt;1,'14'=&gt;0,'15'=&gt;1,'16'=&gt;0,'18'=&gt;1,'19'=&gt;0,'20'=&gt;0,'21'=&gt;1,'22'=&gt;0,'23'=&gt;0,'24'=&gt;1,'25'=&gt;0,'26'=&gt;0,'27'=&gt;1,'30'=&gt;1,'31'=&gt;1,'32'=&gt;1,'33'=&gt;1,'34'=&gt;1,'35'=&gt;1,'36'=&gt;1,'37'=&gt;1,'38'=&gt;1,'39'=&gt;1,'40'=&gt;1,'41'=&gt;1,'42'=&gt;1,'43'=&gt;1,'45'=&gt;0,'46'=&gt;1,'47'=&gt;1,'48'=&gt;0,'49'=&gt;0,'51'=&gt;0,'52'=&gt;0,);</div>
                          <div><br>
                          </div>
                          <div>$profileActionPermission=array(2=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;0,4=&gt;0,5=&gt;0,6=&gt;0,10=&gt;0,),4=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;0,4=&gt;0,5=&gt;0,6=&gt;0,8=&gt;0,10=&gt;0,),6=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;0,4=&gt;0,5=&gt;0,6=&gt;0,8=&gt;0,10=&gt;0,),7=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;0,4=&gt;0,5=&gt;0,6=&gt;0,8=&gt;0,9=&gt;0,10=&gt;0,),8=&gt;array(0=&gt;0,1=&gt;0,2=&gt;1,3=&gt;0,4=&gt;0,6=&gt;0,),9=&gt;array(0=&gt;0,1=&gt;0,2=&gt;0,3=&gt;0,4=&gt;0,),13=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;1,4=&gt;1,5=&gt;0,6=&gt;0,8=&gt;0,10=&gt;0,),14=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;0,4=&gt;0,5=&gt;0,6=&gt;0,10=&gt;0,),15=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;1,4=&gt;1,),16=&gt;array(0=&gt;0,1=&gt;0,2=&gt;0,3=&gt;0,4=&gt;0,),18=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;1,4=&gt;1,5=&gt;0,6=&gt;0,10=&gt;0,),19=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;0,4=&gt;0,),20=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;0,4=&gt;0,),21=&g
t;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;1,4=&gt;1,),22=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;0,4=&gt;0,),23=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;0,4=&gt;0,),26=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;0,4=&gt;0,),31=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;1,4=&gt;1,5=&gt;0,6=&gt;0,10=&gt;0,),32=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;1,4=&gt;1,5=&gt;0,6=&gt;0,8=&gt;0,),34=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;1,4=&gt;1,5=&gt;0,6=&gt;0,10=&gt;0,),35=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;1,4=&gt;1,),37=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;1,4=&gt;1,5=&gt;0,6=&gt;0,10=&gt;0,),38=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;1,4=&gt;1,5=&gt;0,6=&gt;0,10=&gt;0,),39=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;1,4=&gt;1,5=&gt;0,6=&gt;0,10=&gt;0,),40=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;1,4=&gt;1,5=&gt;0,6=&gt;0,10=&gt;0,),45=&gt;array(0=&gt;0,1=&gt;0,2=&gt;0,3=&gt;0,4=&gt;0,),47=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;1,4=&gt;1,),48=&gt;array(0=&gt;0,1=&gt;0,2=&gt;0,3=&gt;0,4=&gt;0,5=&gt;0
,6=&gt;0,8=&gt;0,),49=&gt;array(0=&gt;1,1=&gt;1,2=&gt;1,3=&gt;0,4=&gt;0,5=&gt;0,6=&gt;0,8=&gt;0,),51=&gt;array(0=&gt;0,1=&gt;0,2=&gt;0,3=&gt;0,4=&gt;0,5=&gt;0,6=&gt;0,8=&gt;1,),52=&gt;array(0=&gt;0,1=&gt;0,2=&gt;0,3=&gt;0,4=&gt;0,5=&gt;0,6=&gt;0,8=&gt;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'=&gt;'teste123','is_admin'=&gt;'off','user_password'=&gt;'$1$te000000$4PLMaZ/mhqu/WdNvIH0Cp0','confirm_password'=&gt;'$1$te000000$4PLMaZ/mhqu/WdNvIH','first_name'=&gt;'David','last_name'=&gt;'Soares','roleid'=&gt;'H17','email1'=&gt;'<a
                              moz-do-not-send="true"
                              href="mailto:rodrigo@hostplan.com.br"
                              target="_blank">rodrigo@hostplan.com.br</a>','status'=&gt;'Active','activity_view'=&gt;'Today','lead_view'=&gt;'Today','currency_id'=&gt;'1','currency_name'=&gt;'Brazil,
Reais','currency_code'=&gt;'BRL','currency_symbol'=&gt;'R$','conv_rate'=&gt;'1.000','hour_format'=&gt;'','end_hour'=&gt;'','start_hour'=&gt;'','title'=&gt;'','phone_work'=&gt;'','department'=&gt;'','phone_mobile'=&gt;'','reports_to_id'=&gt;'74','phone_other'=&gt;'','email2'=&gt;'','phone_fax'=&gt;'<a
                              moz-do-not-send="true"
                              href="tel:2192177909"
                              value="+552192177909" target="_blank">2192177909</a>','yahoo_id'=&gt;'','phone_home'=&gt;'','imagename'=&gt;'','date_format'=&gt;'dd-mm-yyyy','signature'=&gt;'','description'=&gt;'','reminder_interval'=&gt;'5
Minutes','internal_mailer'=&gt;'1','address_street'=&gt;'','address_city'=&gt;'','address_state'=&gt;'','address_postalcode'=&gt;'','address_country'=&gt;'','asterisk_extension'=&gt;'','use_asterisk'=&gt;'1','accesskey'=&gt;'bLucb6B4WtryNgKP','record_id'=&gt;'','record_module'=&gt;'','id'=&gt;'446');</div>
                          <div>?&gt;</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&aacute;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:&nbsp;<a moz-do-not-send="true"
                                href="http://www.hostplan.com.br"
                                target="_blank">www.hostplan.com.br</a><br>
                              e-mail/msn:&nbsp;<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">&lt;<a moz-do-not-send="true"
                            href="mailto:amh@metricwise.net"
                            target="_blank">amh@metricwise.net</a>&gt;</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">&lt;<a
                                    moz-do-not-send="true"
                                    href="mailto:rodrigo@hostplan.com.br"
                                    target="_blank">rodrigo@hostplan.com.br</a>&gt;</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>&nbsp;</div>
                                </div>
                                <div>That's not a file permissions
                                  error, it's a parse error. &nbsp;I'll bet
                                  if you open
                                  sharing_privileges_444.php, you will
                                  find that some of the arrays inside
                                  are malformed. &nbsp;This has happened to
                                  me in the past prior to vtlib when I
                                  used to do permissions updates by
                                  hand. &nbsp;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>