[freeside] Self-service server error: errant AUTOLOAD ParseDate

Shivkumar shivkumar at outbackwifi.com
Tue Apr 12 23:49:07 PDT 2005


hi,
the output of that command is "ok"; which probably means that 
Date::Manip is installed.
Any other ideas?

Regards,

Shivkumar



Kristian Hoffmann said the following:

>What does this command yield...
>
>perl -MDate::Manip -e 'print "ok\n";'
>
>...or in other words, do you have Date::Manip installed?
>
>-Kristian
>
>On Tue, 12 Apr 2005, Shivkumar wrote:
>
>  
>
>>hi,
>>I have a freeside server up and running with the following config:
>>debian sarge/testing kernel 2.4.27-1
>>freeside v1.5.0 pre6
>>HTML::Mason
>>apache-ssl-1.3.33+mod_perl-1.29
>>postgresql-7.4.7-2
>>I have set up another machine as the self-service machine as per the
>>installation document.
>>I am able to login into the self-service machine's web interface
>>(self_service), change passwords etc.
>>When i access the signup page, I am presented with the ISP signup page
>>which asks me to fill up various details. I select one of the packages
>>that I hav made available and when I type in the username and password
>>and click on submit, I get a 500 error.
>>This is the error that I see on the freeside server's self-service log.
>>but strangely, the customer does get added into the Freeside database
>>because I can see the customer's details on the Freeside machine's web
>>interface.
>>In fact, the customer got added twice because I thought that he's not
>>been added the first time!
>>Now when i try to cancel the customer, I get a similar error (errant
>>AUTOLOAD ParseDate) as when adding the customer before but this time on
>>the web page. I am attaching it for your analysis.
>>Please forgive the mess!
>>
>>System error
>>
>>error:  errant AUTOLOAD ParseDate for epoch 1113292369 (no args) at
>>/usr/local/share/perl/5.8.4/FS/Record.pm line 532
>>FS::Record::AUTOLOAD('epoch 1113292369') called at
>>/usr/local/share/perl/5.8.4/FS/part_pkg/flat.pm line 55
>>FS::part_pkg::flat::calc_remain('FS::part_pkg::flat=HASH(0x9b5d904)',
>>'FS::cust_pkg=HASH(0x9b4b384)') called at
>>/usr/local/share/perl/5.8.4/FS/cust_pkg.pm line 637
>>FS::cust_pkg::calc_remain('FS::cust_pkg=HASH(0x9b4b384)') called at
>>/usr/local/share/perl/5.8.4/FS/cust_pkg.pm line 399
>>FS::cust_pkg::cancel('FS::cust_pkg=HASH(0x9b4b384)') called at
>>/usr/local/share/perl/5.8.4/FS/cust_main.pm line 1104
>>FS::cust_main::cancel('FS::cust_main=HASH(0x9b4b18c)') called at
>>/var/www/freeside/misc/cust_main-cancel.cgi line 10
>>HTML::Mason::Commands::__ANON__('keywords', 14) called at
>>/usr/local/share/perl/5.8.4/HTML/Mason/Component.pm line 136
>>HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9b597cc)'
>>'keywords', 14) called at
>>/usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 1074
>>eval {...} called at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm
>>line 1068
>>HTML::Mason::Request::comp('undef', 'undef', 'keywords', 14) called at
>>/usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 760
>>HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x9aa
>>b34)') called at /var/www/freeside/autohandler line 1
>>HTML::Mason::Commands::__ANON__('keywords', 14) called at
>>/usr/local/share/perl/5.8.4/HTML/Mason/Component.pm line 136
>>HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x99ffdbc)'
>>'keywords', 14) called at
>>/usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 1069
>>eval {...} called at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm
>>line 1068
>>HTML::Mason::Request::comp('undef', 'undef', 'undef', 'keywords', 14)
>>called at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 338
>>eval {...} called at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm
>>line 338
>>eval {...} called at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm
>>line 297
>>HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9aa6b34)
>>) called at /usr/local/share/perl/5.8.4/HTML/Mason/ApacheHandler.pm line
>>134
>>eval {...} called at
>>/usr/local/share/perl/5.8.4/HTML/Mason/ApacheHandler.pm line 134
>>HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=
>>ASH(0x9aa6b34)') called at
>>/usr/local/share/perl/5.8.4/HTML/Mason/ApacheHandler.pm line 827
>>HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x8
>>95610)', 'Apache=SCALAR(0x9a4c528)') called at
>>/usr/local/etc/freeside/handler.pl line 303
>>eval {...} called at /usr/local/etc/freeside/handler.pl line 303
>>HTML::Mason::handler('Apache=SCALAR(0x9a4c528)') called at /dev/null line
>>0
>>eval {...} called at /dev/null line 0
>>context:  |
>>...  |
>>83:  | # or simply report the caller's package (croak() and carp()),
>>respectively.
>>84:  | # confess() and croak() die, carp() and cluck() warn.
>>85:  |
>>86:  | sub croak { die shortmess @_ }
>>87:  | sub confess { die longmess @_ }
>>88:  | sub carp { warn shortmess @_ }
>>89:  | sub cluck { warn longmess @_ }
>>90:  |
>>91:  | 1;
>>...  |
>>code stack:  | /usr/share/perl/5.8/Carp.pm:87
>>/usr/local/share/perl/5.8.4/FS/Record.pm:532
>>/usr/local/share/perl/5.8.4/FS/part_pkg/flat.pm:55
>>/usr/local/share/perl/5.8.4/FS/cust_pkg.pm:637
>>/usr/local/share/perl/5.8.4/FS/cust_pkg.pm:399
>>/usr/local/share/perl/5.8.4/FS/cust_main.pm:1104
>>/var/www/freeside/misc/cust_main-cancel.cgi:10
>>/var/www/freeside/autohandler:1
>>
>>
>>
>> --
>>Regards,
>>
>>Shivkumar
>>
>>
>>
>>    
>>
>
>  
>



More information about the freeside-users mailing list