Francis and Florian, Thanks for the responses! I got this working (at least for the default profile, Florian, I'll try creating another profile and see what happens and report back on this thread). I have a few questions: First of all, I'm seeing the following error in the logs during the sponsorship process: Jul 16 08:39:24 email_activation.cgi(0) WARN: database query failed with: Column 'category' cannot be null. (errno: 1048), will try again (pf::db::db_query_execute) Jul 16 08:39:24 email_activation.cgi(0) WARN: database query failed with: Column 'category' cannot be null. (errno: 1048), will try again (pf::db::db_query_execute) Jul 16 08:39:24 email_activation.cgi(0) WARN: database query failed with: Column 'category' cannot be null. (errno: 1048), will try again (pf::db::db_query_execute) Jul 16 08:39:24 email_activation.cgi(0) ERROR: Database issue: We tried 3 times to serve query temporary_password_add_sql called from pf::db::db_data and we failed. Is the database running? (pf::db::db_query_execute) Jul 16 08:39:24 email_activation.cgi(0) WARN: something went wrong creating a new temporary password for [email protected] (pf::temporary_password::generate)
Should I go into the code and explicitly set "category" to some value, or did I miss something in my setup? I suspect the latter :^). Second, even though I've not specified it anywhere on the profile (infact, it fails if I do), you appear to be using my "ad1-Sponsor" source that was setup from 4.0.1. It's nice that it figures this out, but seems sort of strange that it would just "find" this source, when I have to specify other sources explicitly. Third, similar to the one above, it is accepting some "catchall" rule, of which I find 2 (in "SMS" and "EMAIL") neither of which appear to be the ones being used (based on renaming those to "catchall-X" where X is "SMS" or "EMAIL" respectively). Again, this seems strange that everywhere else there are explicit rules, and here is a "catchall" that doesn't seem to be visible to me (or modifiable). Am I missing something? Thanks in advance! Don -----Original Message----- From: Francis Lachapelle [mailto:[email protected]] Sent: Tuesday, July 16, 2013 7:11 AM To: [email protected] Subject: Re: [PacketFence-users] Sponsored Guests - Arrgg! Hi Don On 2013-07-15, at 11:32 AM, Don Greer <[email protected]> wrote: > Ok, just did an update to 4.0.2. As I was warned this might happen when I > got help setting it up before, but the thing I thought should be changed > apparently isn't doing the trick. Currently I have not "Sign Up" link at the > bottom of the page. > I had hoped this was fixed and would be a gui option in 4.0.2, but > apparently not (or I'm just too darned thick to find it :^). The > documentation still says it's in "Configuration>User>Create, but I think > that's a hold over from 3.x. > Can I get a clue or two on getting sponsored guest registration working? Have you created a "Sponsor Email" authentication source? Assuming you're landing on the default portal profile, have you selected "Enable Self Registration" in the default portal profile? Have you add a sponsor source of authentication to the profile? Francis -- [email protected] :: +1.514.755.3640 :: http://www.inverse.ca Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence (http://packetfence.org) ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
