diff options
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/docs/signup.html | 1 | ||||
-rw-r--r-- | httemplate/docs/upgrade8.html | 1 | ||||
-rwxr-xr-x | httemplate/search/cust_main.cgi | 4 |
3 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/docs/signup.html b/httemplate/docs/signup.html index a40b1f963..ae5f63f15 100644 --- a/httemplate/docs/signup.html +++ b/httemplate/docs/signup.html @@ -18,6 +18,7 @@ Then: <ul> <li>Add the user `freeside' to the the external machine. <li>Copy or symlink fs_signup/FS-SignupClient/cgi/signup.cgi into the web server's document space. + <li>When linking to signup.cgi, you can include a referring custnum in the URL as follows: <code>http://public.web.server/path/signup.cgi?ref=1542</code> <li>Enable CGI execution for files with the `.cgi' extension. (with <a href="http://www.apache.org/docs/mod/mod_mime.html#addhandler">Apache</a>) <li>Create the /usr/local/freeside directory on the external machine (owned by the freeside user). <li>touch /usr/local/freeside/fs_signupd_socket; chown freeside /usr/local/freeside/fs_signupd_socket; chmod 600 /usr/local/freeside/fs_signupd_socket diff --git a/httemplate/docs/upgrade8.html b/httemplate/docs/upgrade8.html index e2bb333d6..dfbe6a253 100644 --- a/httemplate/docs/upgrade8.html +++ b/httemplate/docs/upgrade8.html @@ -138,6 +138,7 @@ CREATE INDEX cust_main2 ON cust_main ( ship_company ); <pre> ALTER TABLE cust_main ADD COLUMN comments varchar NULL; </pre> + <li>If you are using the signup server, reinstall it according to the <a href="signup.html">instructions</a>. The 1.3.x signup server is not compatible with 1.4.x. <li>Run bin/dbdef-create. <li>create a service based on svc_forward <li>Run bin/fs-migrate-svc_acct_sm diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi index d038896f6..5defaf4af 100755 --- a/httemplate/search/cust_main.cgi +++ b/httemplate/search/cust_main.cgi @@ -1,5 +1,5 @@ <% -#<!-- $Id: cust_main.cgi,v 1.3 2001-08-28 14:34:14 ivan Exp $ --> +#<!-- $Id: cust_main.cgi,v 1.4 2001-08-28 16:58:08 ivan Exp $ --> use strict; #use vars qw( $conf %ncancelled_pkgs %all_pkgs $cgi @cust_main $sortby ); @@ -81,7 +81,7 @@ if ( scalar(@cust_main) == 1 && ! $cgi->param('referral_custnum') ) { END print ' <SELECT NAME="referral_depth" SIZE="1" onChange="changed(this)">'; my $max = 8; #config file - $cgi->param('referral_depth') =~ /^(\d+)$/ + $cgi->param('referral_depth') =~ /^(\d*)$/ or eidiot "Illegal referral_depth"; my $referral_depth = $1; |