[freeside] Signup.cgi
Kevin Ragsdale
KevinR at nationsnetwork.com
Tue Sep 17 10:03:40 PDT 2002
>-----Original Message-----
>From: ivan at 420.am [mailto:ivan at 420.am]
>Sent: Tuesday, September 17, 2002 8:00 AM
>To: ivan-freeside at sisd.com
>Subject: Re: [freeside] Signup.cgi
>
>
>On Wed, Sep 11, 2002 at 05:03:54PM -0500, Kevin Ragsdale wrote:
>> I'm now subscribed at my work email address, so sorry for
>breaking the
>> thread. I installed the Signup server on a separate machine
>- and did more
>> reading on proper configuration of Apache :^) - and now the
>.cgi page will
>> come up. However, I'm getting an "Error: Illegal username
>(error code
>> illegal_username) (2-50)"
>
>Nothing in Freeside could possibly generate that exact error. When
>reporting errors, always report the ENTIRE, EXACT ERROR, WITH CUT AND
>PASTE.
>
>I'm guessing the error you received was:
>
> Error: Illegal username (error code illegal_username) (2-50):
>
>Note the trailing colon and the absense of any value, as would be
>returned by FS::svc_acct::check:
>
> if ( $username_uppercase ) {
> $recref->{username} =~ /^([a-z0-9_\-\.\&]{$usernamemin,$ulen})$/i
> or return gettext('illegal_username'). "
>($usernamemin-$ulen): ". $recref->{username};
> $recref->{username} = $1;
> } else {
> $recref->{username} =~ /^([a-z0-9_\-\.\&]{$usernamemin,$ulen})$/
> or return gettext('illegal_username'). "
>($usernamemin-$ulen): ". $recref->{username};
> $recref->{username} = $1;
> }
>
>Since the username is being passed as part of your signup
>data, as shown
>by your debug trace below, I'd guess that you have made a serious error
>configuring your service definitions, have set the `username'
>to a fixed
>value, and are blanking out all usernames. Do you receive the same
>error adding usernames for this service with the regular web interface?
I can create users from the web interface with this service with no
problems. Username was set to default in the service definition with no
entry. I changed that to Off, and everything seems to be working on the
signup server now, though success.html doesn't load after account creation.
I'm testing with COMP right now - do you only get the success page with a
billable signup?
>If that's not the case, I have no idea what could be causing the
>username to disappear before it gets to FS::svc_acct::check.
>
>
>--
>_ivan
Thanks again,
Kevin
More information about the freeside-users
mailing list