[Vtigercrm-developers] vtlib Module Issue

salim salimcmd at gmail.com
Mon Feb 4 20:23:37 PST 2013


Thanks for your reply . i have solved the problem.


On 5 February 2013 03:55, Juan Pablo Jaramillo Pineda <
juanpablojp1 at gmail.com> wrote:

> Hello everyone
>
> 2013/1/26 salim <salim at posibolt.com>:
> > Hi Al,
> >
> > Thanks for reply, really appreciate that,
> > Actually the problem was 1st one, as you mentioned i didn't have
> populated
> > modules/PaySlip.
> > Now i copied files modules/PaySlip. Renamed files and class name,
> > But now i am having other problem. now it shows header and menu, in
> Content
> > section its just blank.
>
> I was getting the same problem on 5.4.0. I solved with
> "initWebservice" as follows:
>
> ....
> // Initialize all the tables required
> $module->initTables();
> $module->initWebservice();
> ....
>
> >
> > Why is that?
> >
> > Thanks,
> > Salim
> >
> >
> > On 27 January 2013 00:55, Alan Lord (News) <alanslists at gmail.com> wrote:
> >>
> >> 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
> >>
> >> _______________________________________________
> >> http://www.vtiger.com/
> >
> >
> >
> > _______________________________________________
> > http://www.vtiger.com/
>
>
>
> --
> Juan Pablo Jaramillo Pineda
> Estudiante Ingeniería en Sistemas y Computación
> Universidad de Caldas
> http://about.me/juanpablojp1
> http://verlaciudad.com
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
Muhammed Abdul Salim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130205/ca0d80ed/attachment.html 


More information about the vtigercrm-developers mailing list