Ok, attempted to update to 4.0.5 today.  Painful (again), and my attempt 
failed so I've rolled back to my working 4.0.4-1.
  Here's my notes:

Notes on 4.0.5:

1. When searching for sponsor email, takes the first one found.  It looks in 
SQL, no matter what is specified in the authentication sources.  I think 
searching the local SQL users DB should be something specified by configuration 
(would need a "Local User" or "SQL User" Source).
2. in ./conf/httpd.conf.d/captive-portal-common.pl, line 54 was changed and 
this breaks access to sponsor authorization page 
("/cgi-perl/email_activation.cgi" on the portal web server).  Changing back to 
old line 54 fixes this, here's the old line:
                <Location ~ 
"/content/|/activate/email(.*)|/cgi-perl/email_activation.cgi">
3. When I click on the button to authorize a guest, I get this message:
Can't use string ("2") as an ARRAY ref while "strict refs" in use at 
/usr/local/pf/lib/pf/web.pm line 582.
  From dinking around with the code, it appears that 
"pf::Portal::getInternalSources()" is only returning the scalar context value 
of the grep in the return value, not the array.  Messed with it, but my perl 
foo is very weak.

The fix for #1 was to change the email address on the dummy user I used to make 
it possible for 1-click sponsorship acceptance (I had used my email address).  
Not sure of a good fix for this, but for now I'll use an invalid email for that 
user.

As noted in 2., the fix was to roll back the change to the <Location...> line 
in the captive-portal-common.pl in the web config.

Item 3 stumped me.  Spent about 4 hours screwing with every combination I could 
think of.  Clearly this is beyond my current knowledge, so I'll through it back 
to the devs.  This is related to Jake's last report I think.

For now I'll stay put on 4.0.4.

Don
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to