<div dir="ltr"><font face="arial, sans-serif"><span style="white-space:nowrap">Thanks for your reply . i have solved the problem.</span></font></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 5 February 2013 03:55, Juan Pablo Jaramillo Pineda <span dir="ltr"><<a href="mailto:juanpablojp1@gmail.com" target="_blank">juanpablojp1@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everyone<br>
<br>
2013/1/26 salim <<a href="mailto:salim@posibolt.com">salim@posibolt.com</a>>:<br>
<div class="im">> Hi Al,<br>
><br>
> Thanks for reply, really appreciate that,<br>
> Actually the problem was 1st one, as you mentioned i didn't have populated<br>
> modules/PaySlip.<br>
> Now i copied files modules/PaySlip. Renamed files and class name,<br>
> But now i am having other problem. now it shows header and menu, in Content<br>
> section its just blank.<br>
<br>
</div>I was getting the same problem on 5.4.0. I solved with<br>
"initWebservice" as follows:<br>
<br>
....<br>
// Initialize all the tables required<br>
$module->initTables();<br>
$module->initWebservice();<br>
....<br>
<div><div class="h5"><br>
><br>
> Why is that?<br>
><br>
> Thanks,<br>
> Salim<br>
><br>
><br>
> On 27 January 2013 00:55, Alan Lord (News) <<a href="mailto:alanslists@gmail.com">alanslists@gmail.com</a>> wrote:<br>
>><br>
>> On 26/01/13 19:07, salim wrote:<br>
>> > Hi All,<br>
>> ><br>
>> > I was trying to create a Custom module with vtlib, based on<br>
>> > vtigerCRM_5.2.0_Vtlib.pdf. I ran the Final Completed Script,<br>
>> > It said that PaySlip Module created and so on..<br>
>> > <<a href="http://pastebin.com/raw.php?i=hyqNyVfr" target="_blank">http://pastebin.com/raw.php?i=hyqNyVfr</a>><br>
>> > But when i try to access the Module.<br>
>> > It says 'Module name is missing. Please check the module name.;<br>
>> > I have tried Both vTiger 5.4.0 and 6.0.0<br>
>> > in 6.0.0 i am getting this error : 'Permission to perform the operation<br>
>> > is denied for name'<br>
>><br>
>> A couple of things spring to mind:<br>
>><br>
>> 1. Have you actually created the modules/PaySlip directory and populated<br>
>> it? (Using the template in vtlib/ModuleDir/5.4.0 and then editing the<br>
>> filenames and class of PaySlip.php)<br>
>><br>
>> 2. Check the case of your module class definition, e.g. class Payslip<br>
>> vs. class PaySlip<br>
>><br>
>> 3. If you are using any version control or symlinks in the development<br>
>> of your modules/PaySlip code then this can trigger the "Sorry! Attempt<br>
>> to access restricted file." messages.<br>
>><br>
>><br>
>> HTH<br>
>><br>
>> Al<br>
>><br>
>> --<br>
>> Libertus Solutions<br>
>> <a href="http://www.libertus.co.uk" target="_blank">http://www.libertus.co.uk</a><br>
>><br>
>> _______________________________________________<br>
>> <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Juan Pablo Jaramillo Pineda<br>
Estudiante Ingeniería en Sistemas y Computación<br>
Universidad de Caldas<br>
<a href="http://about.me/juanpablojp1" target="_blank">http://about.me/juanpablojp1</a><br>
<a href="http://verlaciudad.com" target="_blank">http://verlaciudad.com</a><br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Muhammed Abdul Salim<br>
</div>