Hy Adam, <br>I try but it give me this error:<br><br>Parse error: syntax error, unexpected &#39;,&#39; in /home/xxx/public_html/xxx/user_privileges/sharing_privileges_820.php on line 5<br>Line5 is: <br><br>$defaultOrgSharingPermission=array(&#39;2&#39;=&gt;2,&#39;4&#39;=&gt;2,&#39;6&#39;=&gt;2,&#39;7&#39;=&gt;2,&#39;9&#39;=&gt;3,&#39;13&#39;=&gt;3,&#39;16&#39;=&gt;3,&#39;20&#39;=&gt;2,&#39;21&#39;=&gt;2,&#39;22&#39;=&gt;2,&#39;23&#39;=&gt;2,&#39;26&#39;=&gt;2,&#39;8&#39;=&gt;2,&#39;30&#39;=&gt;2,&#39;31&#39;=&gt;3,&#39;35&#39;=&gt;2,&#39;36&#39;=&gt;2,&#39;37&#39;=&gt;2,&#39;38&#39;=&gt;2,&#39;40&#39;=&gt;2,&#39;45&#39;=&gt;2,&#39;46&#39;=&gt;,&#39;47&#39;=&gt;2,&#39;50&#39;=&gt;2,&#39;51&#39;=&gt;,&#39;52&#39;=&gt;2,&#39;53&#39;=&gt;2,);<br>

<br><br><br><div class="gmail_quote">2012/9/13 Adam Heinz <span dir="ltr">&lt;<a 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 class="HOEnZb"><div class="h5">On Thu, Sep 13, 2012 at 8:29 AM, Marian Banica &lt;<a href="mailto:marian@webio.ro">marian@webio.ro</a>&gt; wrote:<br>
&gt; I have an instance where i get error 500 when i try to recalculate sharing<br>
&gt; access rights for users. I get access to the database but no access to setup<br>
&gt; Apache, PHP or MySQL limits.<br>
&gt; There is any option to run any SQL command to do the same?<br>
<br>
</div></div>&gt;From the command line<br>
<br>
cd &lt;docroot&gt;<br>
php -r &quot;require_once &#39;include/utils/UserInfoUtil.php&#39;;<br>
RecalculateSharingRules();&quot;<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Matteo Baranzoni - Greenbit WEB<br><br><font style="color:rgb(153,153,153)" size="1"><b>:: Avvertenze Legali ::</b><br>Questa email, e ogni eventuale allegato, è a uso esclusivo della Persona o della Società/Ente a cui è indirizzato e potrebbe contenere informazioni riservate. Se avete ricevuto questa email per errore, ci scusiamo per l&#39;accaduto e Vi preghiamo cortesemente di darcene sollecita comunicazione e a cancellare l&#39;email e ogni eventuale allegato. Vi ricordiamo che l&#39;utilizzo, la conservazione, la distribuzione e/o la diffusione dei dati ricevuti per errore costituiscono violazioni alle disposizioni del D.Lgs. 196/03 (Codice della Privacy).<br>

This e-mail, and any attachment, is for the intended recipient only and is confidential. If this e-mail has been misdirected, please let the sender know and delete it with any attachment, thanks. Any disclosure, copying, distribution is prohibited</font><br>

<br><br>