[freeside] 1.4.1rc2 and Mason

Richard Siddall richard.siddall at elirion.net
Fri May 9 15:36:06 PDT 2003


I installed 1.4.1rc2 on a Linux machine in the lab, upgraded Mason to
1.20, and found a couple of small bugs:

1/ handler.pl - Makefile puts the masondocs at /var/www/freeside by
default, but handler.pl expects them at /var/www/masonside.  Patch to
handler.pl attached.

2/ search/cust_pkg.cgi - $sth not declared as my variable at one point.
Patch attached.

3/ Clicking on "unlinked mail forwards (by service number)" on the main
screen gives a 404: "The requested URL /search/svc_forward.cgi was not
found on this server."  I assumed the file was missing from the tar.gz
and did not investigate any further.

Regards,

	Richard.

-------------- next part --------------
--- httemplate/search/cust_pkg.cgi.orig	Fri May  9 18:37:10 2003
+++ httemplate/search/cust_pkg.cgi	Fri May  9 18:37:49 2003
@@ -93,7 +93,7 @@
                       AND cust_svc.svcpart = pkg_svc.svcpart
                       AND cust_pkg.pkgpart = pkg_svc.pkgpart
                       GROUP BY cust_svc.pkgnum,cust_svc.svcpart";
-      $sth = dbh->prepare($query) or die dbh->errstr. " preparing $query";
+      my $sth = dbh->prepare($query) or die dbh->errstr. " preparing $query";
          
       $sth->execute or die "Error executing \"$query\": ". $sth->errstr;
   

-------------- next part --------------
--- htetc/handler.pl.orig	Fri May  9 18:47:43 2003
+++ htetc/handler.pl	Fri May  9 18:47:53 2003
@@ -38,7 +38,7 @@
 my $ah = new HTML::Mason::ApacheHandler (
   #interp => $interp,
   #auto_send_headers => 0,
-  comp_root=>'/var/www/masonside',
+  comp_root=>'/var/www/freeside',
   data_dir=>'/usr/local/etc/freeside/masondata',
   #out_mode=>'stream',
 );



More information about the freeside-devel mailing list