rems

Registered
Mar 21, 2005
3
0
151
Hello.
I`m trying to write my own Cpanel module, using as example Addons.pm .
I `m receiving some strange errors, when i`m calling its functions from my html code:

(internal) Tue Mar 22 01:57:43 2005 [3656] error: Can't locate auto/main/Templates_i.al in @INC (@INC contains:/usr/local/cpanel/perl /usr/local/cpanel /usr/lib/perl5/5.6.2/i686-linux /usr/lib/perl5/5.6.2/i686-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/i686-linux /usr/lib/perl5/site_perl/5.6.2/i686-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl/5.6.2/i686-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl . /usr/lib/perl5/5.6.2/i686-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/i686-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at (eval 37) line 1
Carp::croak('Can\'t locate auto/main/Templates_i.al in @INC (@INC contains: /...') called at /usr/lib/perl5/5.6.2/AutoLoader.pm line 104
AutoLoader::AUTOLOAD() called at (eval 37) line 1
eval 'Templates_init();' called at cpanel.pl line 602
main::exectag('<cpanel Templates="listtemplates()">') called at cpanel.pl line 291
main::dotag(undef) called at cpanel.pl line 3419
main::parsehtml('GLOB(0x88ba8b8)') called at cpanel.pl line 285
(internal) Tue Mar 22 01:57:43 2005 [3656] error: Can't locate auto/main/Templates_l.al in @INC (@INC contains:/usr/local/cpanel/perl /usr/local/cpanel /usr/lib/perl5/5.6.2/i686-linux /usr/lib/perl5/5.6.2/i686-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/i686-linux /usr/lib/perl5/site_perl/5.6.2/i686-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl/5.6.2/i686-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl . /usr/lib/perl5/5.6.2/i686-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/i686-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at (eval 38) line 1
Carp::croak('Can\'t locate auto/main/Templates_l.al in @INC (@INC contains: /...') called at /usr/lib/perl5/5.6.2/AutoLoader.pm line 104
AutoLoader::AUTOLOAD() called at (eval 38) line 1
eval 'Templates_listtemplates(@RARGS);' called at cpanel.pl line 606
main::exectag('<cpanel Templates="listtemplates()">') called at cpanel.pl line 291
main::dotag(undef) called at cpanel.pl line 3419
main::parsehtml('GLOB(0x88ba8b8)') called at cpanel.pl line 285
Child [3710]: exited with signal 13


Any ideas ?

Thank you.
 

rems

Registered
Mar 21, 2005
3
0
151
System is running Fedora Core 2, WHM 10.0.0 cPanel 10.0.0-R149 , perl v5.8.3 .
 

rems

Registered
Mar 21, 2005
3
0
151
Templates.pm it is my module .

I placed it here - /usr/local/cpanel/Cpanel , like another Cpanel modules.

Why it is looking for auto/main/Templates_i.al ?

Thanks.
 

PowerProWeb

Member
Mar 21, 2005
6
0
151
rems said:
Templates.pm it is my module .

I placed it here - /usr/local/cpanel/Cpanel , like another Cpanel modules.

Why it is looking for auto/main/Templates_i.al ?

Thanks.
Because it was called at /usr/lib/perl5/5.6.2/AutoLoader.pm