[freeside-users] Undefined subroutine &HTML::Mason::Commands::include - when attempting to add a service definition

niles at atheos.net niles at atheos.net
Mon Jan 9 16:45:09 PST 2006


Hello,

My Setup:  Slackware 10.1.0 - Linux 2.4.29 Kernel, Freeside 1.5.7,  
Mason-1.32 (also tried 1.31), Perl 5.8.6, Mysql 4.1.12
(also tried with Postgresql 8.1.2), DBD-mysql-3.0002, DBD-Pg-1.43.

Here's my error when attempting to add a new service definition:
error:
Undefined subroutine &HTML::Mason::Commands::include called at /usr/ 
local/freeside/htdocs/edit/part_svc.cgi line 267.
context:
...

263:
% }
264:
% $part_svc->svcpart('') if $clone; #undone
265:
% $html .= "</TABLE>";
266:
%
267:
% $html .= include('/elements/progress-init.html',
268:
% $layer, #form name
269:
% [ qw(svc svcpart disabled exportnum), @fields ],
270:
% 'process/part_svc.cgi',
271:
% $p.'browse/part_svc.cgi',
...

code stack:
/usr/local/freeside/htdocs/edit/part_svc.cgi:267
/usr/local/freeside/htdocs/edit/part_svc.cgi:289
/usr/local/freeside/htdocs/autohandler:1




Here is the raw error:

Undefined subroutine &HTML::Mason::Commands::include called at /usr/ 
local/freeside/htdocs/edit/part_svc.cgi line 267.


Trace begun at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/ 
Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Undefined subroutine  
&HTML::Mason::Commands::include called at /usr/local/freeside/htdocs/ 
edit/part_svc.cgi line 267.^J') called at /usr/local/freeside/htdocs/ 
edit/part_svc.cgi line 267
HTML::Mason::Commands::__ANON__('svc_acct') called at /usr/lib/perl5/ 
site_perl/5.8.6/HTML/Widgets/SelectLayers.pm line 180
HTML::Widgets::SelectLayers::html('HTML::Widgets::SelectLayers=HASH 
(0x80d86f0)') called at /usr/local/freeside/htdocs/edit/part_svc.cgi  
line 289
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.6/ 
HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH 
(0x96e9224)') called at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/ 
Request.pm line 1252
eval {...} at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm  
line 1246
HTML::Mason::Request::comp(undef, undef) called at /usr/lib/perl5/ 
site_perl/5.8.6/HTML/Mason/Request.pm line 916
HTML::Mason::Request::call_next 
('HTML::Mason::Request::ApacheHandler=HASH(0x95d945c)') called at / 
usr/local/freeside/htdocs/autohandler line 1
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.6/ 
HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH 
(0x96bb4e8)') called at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/ 
Request.pm line 1247
eval {...} at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm  
line 1246
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/ 
perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 461
eval {...} at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm  
line 461
eval {...} at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm  
line 413
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH 
(0x95d945c)') called at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/ 
ApacheHandler.pm line 167
HTML::Mason::Request::ApacheHandler::exec 
('HTML::Mason::Request::ApacheHandler=HASH(0x95d945c)') called at / 
usr/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm line 817
HTML::Mason::ApacheHandler::handle_request 
('HTML::Mason::ApacheHandler=HASH(0x92570a0)', 'Apache=SCALAR 
(0x92570dc)') called at /usr/local/etc/freeside/handler.pl line 160
HTML::Mason::handler('Apache=SCALAR(0x92570dc)') called at /dev/null  
line 0



Any ideas?
Thanks
Niles
eval {...} at /dev/null line 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://420.am/pipermail/freeside-users/attachments/20060109/5ac069f8/attachment.html


More information about the freeside-users mailing list