[Vtigercrm-developers] vtlib Module Issue

Alan Lord (News) alanslists at gmail.com
Sat Jan 26 11:25:57 PST 2013


On 26/01/13 19:07, salim wrote:
> Hi All,
>
> I was trying to create a Custom module with vtlib, based on
> vtigerCRM_5.2.0_Vtlib.pdf. I ran the Final Completed Script,
> It said that PaySlip Module created and so on..
> <http://pastebin.com/raw.php?i=hyqNyVfr>
> But when i try to access the Module.
> It says 'Module name is missing. Please check the module name.;
> I have tried Both vTiger 5.4.0 and 6.0.0
> in 6.0.0 i am getting this error : 'Permission to perform the operation
> is denied for name'

A couple of things spring to mind:

1. Have you actually created the modules/PaySlip directory and populated 
it? (Using the template in vtlib/ModuleDir/5.4.0 and then editing the 
filenames and class of PaySlip.php)

2. Check the case of your module class definition, e.g. class Payslip 
vs. class PaySlip

3. If you are using any version control or symlinks in the development 
of your modules/PaySlip code then this can trigger the "Sorry! Attempt 
to access restricted file." messages.


HTH

Al

-- 
Libertus Solutions
http://www.libertus.co.uk



More information about the vtigercrm-developers mailing list