Hello all.<br><br>I just made a new module from vtlib in Vtiger 5.4 in a LAMP plataform, i can see the module and the edit view when i try to make a new record.<br>So, when i try to save the new record i got an error:<br><br>

<span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">Sorry! Attempt to access restricted file.<span class="Apple-converted-space"> </span></span><br style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">

<span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">Filepath:<span class="Apple-converted-space"> </span></span><br style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">

<span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">Rootdirpath: &lt;root of vtigercrm&gt;</span><br>

<br>So, i changed the php.ini to show all errors and i got a lot of lines, but i notice the following.<br><br><br><b style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Notice</b><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">: Undefined index: assigned_user_id in<span class="Apple-converted-space"> </span></span><b style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">&lt;root of vtiger&gt;/modules/Beneficiarios/Save.php</b><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none"><span class="Apple-converted-space"> </span>on line<span class="Apple-converted-space"> </span></span><b style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">24</b><br>

<br><br>The new record has a field &#39;assigned to&#39;. 
<br>The line 23 and 24 of that file are:<br><br>23: if($_REQUEST[&#39;assigntype&#39;] == &#39;U&#39;) {<br>24:    $focus-&gt;column_fields[&#39;assigned_user_id&#39;] = $_REQUEST[&#39;assigned_user_id&#39;];<br><br>I also changed the debug options in vtiger, i can see that vtiger got the fields of the new record.<br>

<br>How can i solve this?<br><br>Thanks.<br><br>-- <br>Cordialmente:<br>Juan Pablo Botero<br>Administrador de Sistemas informáticos<br>Fedora Ambassador for Colombia<div><a href="http://www.jpilldev.net" target="_blank">http://www.jpilldev.net</a><br>

</div><br>