[freeside-users] When I try to cancel a customer I get this error in the 'confirm cancellation'

Twanny Azzopardi twanny_azzopardi at hotmail.com
Mon Jun 16 09:56:32 PDT 2008


Please tell me how to do this update, I'm not used to CVS!


Best regards,Twanny Azzopardi.79713618.

----------------------------------------
> Date: Mon, 9 Jun 2008 14:14:47 -0700
> From: ivan at freeside.biz
> To: freeside-users at sisd.com
> Subject: Re: [freeside-users] When I try to cancel a customer I get	this	error in the 'confirm cancellation' window.
> 
> Will be fixed in 1.7.4, or update misc/cancel_cust.html to 
> FREESIDE_1_7_BRANCH from CVS.
> 
> Workaround: cancel each of the customer's packages (usually only one).
> 
> -- 
> _ivan
> 
> 
> On Thu, Jun 05, 2008 at 09:13:56AM +0200, Twanny Azzopardi wrote:
>> 
>> 
>> 
>> 
>> 
>> System error
>> error:  	illegal query 0 at /var/www/html/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/html/freeside/misc/cancel_cust.html:42
>> /var/www/html/freeside/autohandler:1
>> raw error
>> 
>> 
>> 
>> 
>> 
>> 
>> illegal query 0 at /var/www/html/freeside/misc/cancel_cust.html line 42.
>> 
>> 
>> Trace begun at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/Exceptions.pm line 129
>> HTML::Mason::Exceptions::rethrow_exception('illegal query 0 at /var/www/html/freeside/misc/cancel_cust.html line 42.^J') called at /var/www/html/freeside/misc/cancel_cust.html line 42
>> HTML::Mason::Commands::__ANON__('custnum', 10) called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/Component.pm line 135
>> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xc6cf504)', 'custnum', 10) called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/Request.pm line 1251
>> eval {...} at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/Request.pm line 1245
>> HTML::Mason::Request::comp(undef, undef, 'custnum', 10) called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/Request.pm line 914
>> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xc7e7bc4)') called at /var/www/html/freeside/autohandler line 1
>> HTML::Mason::Commands::__ANON__('custnum', 10) called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/Component.pm line 135
>> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xc503fc8)', 'custnum', 10) called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/Request.pm line 1246
>> eval {...} at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/Request.pm line 1245
>> HTML::Mason::Request::comp(undef, undef, undef, 'custnum', 10) called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/Request.pm line 459
>> eval {...} at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/Request.pm line 459
>> eval {...} at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/Request.pm line 411
>> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xc7e7bc4)') called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 168
>> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xc7e7bc4)') called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 826
>> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xa69bd08)', 'Apache2::RequestRec=SCALAR(0xc6fc684)') 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(0xc6fc684)') called at -e line 0
>> eval {...} at -e line 0
>> 
>> Your help will be very much appreciated, I am in the implementation stage.
>> 
>> Regards,
>> Twanny.
>> 
>> _________________________________________________________________
>> Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
>> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
>> _______________________________________________
>> freeside-users mailing list
>> freeside-users at sisd.com
>> http://420.am/cgi-bin/mailman/listinfo/freeside-users
> 
> _______________________________________________
> freeside-users mailing list
> freeside-users at sisd.com
> http://420.am/cgi-bin/mailman/listinfo/freeside-users

_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE


More information about the freeside-users mailing list