[freeside-users] Errors cancelling an account.

Scott Edwards supadupa at gmail.com
Sat May 2 13:45:21 PDT 2009


In the link, is there a customer number?  Line 39 wants a query string eg,
foo.cgi?4882 but it appears empty. only foo.cgi is getting called.  I've
only glanced at this for a minute or two, so hopefully that'll give you one
thing to narrow down.

On Sat, May 2, 2009 at 2:39 PM, K B <kbdigital at gmail.com> wrote:

>
> Hi all,
>
> First my setup:
> Ubuntu 8.04
> Freeside 1.7.3
> HTML:Mason 1.36
> Perl 5.8.8
> mySQL 5.0.51
> DBI 1.601
> DBD::mysql 0.8.2
> libdbd-mysql-perl 4.005
>
>
> I am trying to set up Freeside 1.7.3 on Ubuntu 8.04.  Everything
> seems to be in place.  I can do billing, email invoices, print
> invoices, run reports.  However, when I am trying to cancel a customer,
> I got this error.
>
>
> Can you tell me what I need to do fixing this error?
>
>
> Thank you.
>
>
> PS I can suspend the customer packages for now, effectively
> not billing the customers.  But, I would like to fix
> the error, instead of work-around it.
>
>
>
>
> System error
> error:          illegal query 0 at /var/www/freeside/misc/cancel_cust.html line 42.
> context:
> ...
> 38:     my( $query ) = $cgi->keywords;
> 39:     if ( $query =~ /^(\d+)$/ ) {
> 40:     $custnum = $1;
> 41:     } else {
> 42:     die "illegal query ". $cgi->keywords;
> 43:     }
> 44:     }
> 45:
> 46:     $curuser = $FS::CurrentUser::CurrentUser;
> ...
> code stack:     /var/www/freeside/misc/cancel_cust.html:42
> /var/www/freeside/autohandler:1
>
>
> raw error
>
> illegal query 0 at /var/www/freeside/misc/cancel_cust.html line 42.
>
>
> Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
> HTML::Mason::Exceptions::rethrow_exception('illegal query 0 at
> /var/www/freeside/misc/cancel_cust.html line 42.^J') called at
> /var/www/freeside/misc/cancel_cust.html line 42
> HTML::Mason::Commands::__ANON__('custnum', 1019199) called at
> /usr/share/perl5/HTML/Mason/Component.pm line 135
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xb058a68)',
> 'custnum', 1019199) called at /usr/share/perl5/HTML/Mason/Request.pm line
> 1262
> eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1252
> HTML::Mason::Request::comp(undef, undef, undef, 'custnum', 1019199) called
> at /usr/share/perl5/HTML/Mason/Request.pm line 921
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xa8dc168)')
> called at /var/www/freeside/autohandler line 1
> HTML::Mason::Commands::__ANON__('custnum', 1019199) called at
> /usr/share/perl5/HTML/Mason/Component.pm line 135
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xac1b308)',
> 'custnum', 1019199) called at /usr/share/perl5/HTML/Mason/Request.pm line
> 1257
> eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1252
> HTML::Mason::Request::comp(undef, undef, undef, 'custnum', 1019199) called
> at /usr/share/perl5/HTML/Mason/Request.pm line 466
> eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 466
> eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 418
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa8dc168)')
> called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa8dc168)')
> called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 832
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xa19118c)',
> 'Apache2::RequestRec=SCALAR(0xb058dd4)') called at
> /usr/local/etc/freeside/handler.pl line 347
> eval {...} at /usr/local/etc/freeside/handler.pl line 347
> HTML::Mason::handler('Apache2::RequestRec=SCALAR(0xb058dd4)') called at -e
> line 0
> eval {...} at -e line 0
>
>
>
>
> --
> Thanks
> Kenny
>
>
> --
> Thanks
> Kenny
>
> _______________________________________________
> freeside-users mailing list
> freeside-users at sisd.com
> http://420.am/cgi-bin/mailman/listinfo/freeside-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://420.am/pipermail/freeside-users/attachments/20090502/fb440fdf/attachment.htm>


More information about the freeside-users mailing list