You have found a typo that must have been there for more than two years.
The "pgerror" should be "pg_error". I have fixed this on the web site. You only need the "lib/doreq.pm" file.
However, the place where this occured causes me worry. It seems to me that some sort of internal problem has occured.
This happens while you when you select a user to edit, while logged in as an administrator? Have you removed the domain that this user was originally within? If so, either put the domain back temporarily, delete the users for that domain by hand, then remove the domain again, or run "sbin/gdipdbfix.pl" to remove users for which there is no longer a domain. See the comments in "sbin/gdipdbfix.pl".
If this is not the problem, please let me know, as this suggests that there is a real problem. Actually, ket me know if this is the problem too, so I won't worry about it.
Perhaps GnuDIP should provide a log message when this happens? There are probably many places where this sort of thing could happen though. To be consistent could result in quite a few changes, which does not appeal to me. I'll think about it.
-- Creighton MacDonnell
[EMAIL PROTECTED] wrote:
I am not certain where to get assistance on this issue. I've searched the Web, and the Mailing List Archives, nothing appears to answer this question:
Undefined subroutine &gnudip::pgerror called at /usr/local/gnudip/lib/doreq.pm line 758. [Fri Aug 29 11:13:28 2003] [error] [client 66.93.61.117] Premature end of script headers: /usr/local/gnudip/cgi-bin/gnudip.cgi
This the error I get in error_log.
My common_httpd.conf looks like this:
Alias /gnudip/html/ /usr/local/gnudip/html/ Alias /gnudip/cgi-bin/ /usr/local/gnudip/cgi-bin/
<Directory /usr/local/gnudip/cgi-bin/> Options Indexes FollowSymLinks ExecCGI AllowOverride All allow from all </Directory>
<Directory /usr/local/gnudip/html/> Options -Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all </Directory>
<IfModule mod_perl.c> PerlModule Apache::Registry
#set Apache::Registry Mode for /perl Alias <Location /perl/*.pl> SetHandler perl-script PerlHandler Apache::Registry Options -Indexes ExecCGI PerlSendHeader On </Location>
Alias /gnudip/html/ /usr/local/gnudip/html/ Alias /gnudip/cgi-bin/ /usr/local/gnudip/cgi-bin/
<Location /gnudip/cgi-bin/> Options Indexes FollowSymLinks ExecCGI SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On </Location>
#set Apache::PerlRun Mode for /cgi-perl Alias <Location /cgi-perl/*.pl> SetHandler perl-script PerlHandler Apache::PerlRun Options -Indexes ExecCGI PerlSendHeader On </Location>
PerlModule HTML::Mason <Directory /opt/www/freeside> <Files ~ (\.cgi)> AddHandler perl-script .cgi PerlHandler HTML::Mason </Files> <Perl> require "/usr/local/etc/freeside/handler.pl"; </Perl> </Directory>
</IfModule>
Suggestions?
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf -- GnuDIP Mailing List http://gnudip2.sourceforge.net/gnudip-www/#mailinglist