<div dir="ltr"><div><div><div><div><div>Hi Al,<br><br></div><div>Thanks for reply, really appreciate that,<br></div>Actually the problem was 1st one, as you mentioned i didn't have populated modules/PaySlip.<br></div><div>
Now i copied files modules/PaySlip. Renamed files and class name,<br></div>But now i am having other problem. now it shows header and menu, in Content section its just blank.<br><br></div>Why is that?<br><br></div>Thanks,<br>
</div>Salim<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 27 January 2013 00:55, Alan Lord (News) <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">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>
</div>> <<a href="http://pastebin.com/raw.php?i=hyqNyVfr" target="_blank">http://pastebin.com/raw.php?i=hyqNyVfr</a>><br>
<div class="im">> 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>
</div>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>
<span class="HOEnZb"><font color="#888888"><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>
</font></span></blockquote></div><br></div>