[OPEN-ILS-DEV] Creating Patrons

Grant Johnson fgjohnson at upei.ca
Wed May 21 21:20:01 EDT 2008


Here's an appropriate Apache error.log.
As expected it looks like a permission/depth issue but I'd love some direction.

[Wed May 21 22:14:14 2008] [error] [client 137.149.4.26] Can't update 97: DBD::Pg::st execute failed: ERROR:  null value in column "depth" violates not-null constraint, referer: http://osls.cs.upei.ca/cgi-bin/usr_group-setup.cgi?action=child&id=5
[Wed May 21 22:14:14 2008] [error] [client 137.149.4.26]  [for Statement "UPDATE permission.grp_perm_map, referer: http://osls.cs.upei.ca/cgi-bin/usr_group-setup.cgi?action=child&id=5
[Wed May 21 22:14:14 2008] [error] [client 137.149.4.26] SET    depth = ?, grantable = ?, referer: http://osls.cs.upei.ca/cgi-bin/usr_group-setup.cgi?action=child&id=5
[Wed May 21 22:14:14 2008] [error] [client 137.149.4.26] WHERE  id=?, referer: http://osls.cs.upei.ca/cgi-bin/usr_group-setup.cgi?action=child&id=5
[Wed May 21 22:14:14 2008] [error] [client 137.149.4.26] " with ParamValues: 1=undef, 3='97', 2='f'] at /usr/share/perl5/DBIx/ContextualFetch.pm line 52., referer: http://osls.cs.upei.ca/cgi-bin/usr_group-setup.cgi?action=child&id=5
[Wed May 21 22:14:14 2008] [error] [client 137.149.4.26]  at /openils/var/cgi-bin/usr_group-setup.cgi line 54, referer: http://osls.cs.upei.ca/cgi-bin/usr_group-setup.cgi?action=child&id=5
[Wed May 21 22:14:14 2008] [error] [client 137.149.4.26] permission::grp_perm_map permission::grp_perm_map=HASH(0x9334064) destroyed without saving changes to depth, grantable at /openils//conf/live-db-setup.pl line 0, referer: http://osls.cs.upei.ca/cgi-bin/usr_group-setup.cgi?action=child&id=5
[Wed May 21 22:14:14 2008] [error] [client 137.149.4.26] Premature end of script headers: usr_group-setup.cgi, referer: http://osls.cs.upei.ca/cgi-bin/usr_group-setup.cgi?action=child&id=5
[Wed May 21 22:14:14 2008] [debug] mod_deflate.c(447): [client 137.149.4.26] Zlib: Compressed 674 to 415 : URL /cgi-bin/usr_group-setup.cgi, referer: http://osls.cs.upei.ca/cgi-bin/usr_group-setup.cgi?action=child&id=5
[Wed May 21 22:14:14 2008] [error] [client 137.149.4.26] File does not exist: /openils/var/web/favicon.ico
[Wed May 21 22:14:14 2008] [debug] mod_deflate.c(447): [client 137.149.4.26] Zlib: Compressed 345 to 255 : URL /favicon.ico


>>> "Jason Etheridge" <jason at esilibrary.com> 05/21/08 6:41 PM >>>
On Wed, May 21, 2008 at 4:52 PM, Grant Johnson <FGJohnson at upei.ca> wrote:
> When I Click the Set Permissions button.  Other permissions seems to work. I just added Circ_Permit_Override to circ group - Got a white screen, and on a reload of the page (hitting enter not a reload) the permission stuck.

Wild.  I would try tailing the apache error logs and see if anything
interesting shows up there.  Then the logs in /openils/var/logs

-- 
Jason Etheridge
 | VP, Community Support and Advocacy
 | Equinox Software, Inc. / The Evergreen Experts
 | phone: 1-877-OPEN-ILS (673-6457)
 | email: jason at esilibrary.com
 | web: http://www.esilibrary.com



More information about the Open-ils-dev mailing list