[WebGUI] preload.perl error
Ken Johnson
ken at greatlodge.com
Wed Mar 1 17:41:50 EST 2006
Well I see that and made this change. For the record, as I'm looking
through the discussions on plainblack and the info on gwy2 I've skipped
over most things that have something seemingly unrelated in the subject
(i.e. FreeBSD) so I hadn't seen this. I should rely on google more!
This change only gained me a different error message:
"MOD_PERL not used! at preload.perl line 16"
I googled for "MOD_PERL not used" but only turned up a dead link.
arg, I've spent most of the day reading plainblack discussions, I can
certainly see where you are one of, if not the main, posters there.
apachectl configtest returns "Syntax OK"
testEnvironment.l looks alright with the exception of Image::Magick and
Authen::Smb
Image Magick doesn't seem to be required and I don't think it will be
needed for our use. I'm not sure that we'll need SMB either.
Most everything going on makes me think perl/modperl isn't working the
way it should. The webgui logs are 0 size, so I have nothing to go on
there. Apache error log doesn't show anything that looks related.
What should I make of the webserver just serving up the index.pl file as
if it were just a plain text file? What more do I need to do to be
certain that modperl is working properly?
On Wed, 2006-03-01 at 13:48 -0500, Gerald Young wrote:
> the Gateway_interface no perl is old.
> http://www.gwy2.org/fomfiles/cache/15.html
>
> Ken Johnson wrote:
> > It looks like the only difference between this and the existing file is
> > my $parenthesis; instead of our $parenthesis
> > I did a wget and put the 6.2.11 file into place, but when I run
> > preload.perl again it gives a single error msg "GATEWAY_INTERFACE not
> > Perl!"
> >
> > All in all I'm not sure what is going on with Perl here. I can make the
> > file index.pl appear in the browser... it just lists the file as text.
> > So it doesn't appear that mod_perl is running correctly.
> > When I do apachectl stop or restart (as in after changing the Macro.pl
> > file) I get the message "[warn] module perl_module is already loaded,
> > skipping"
> >
> > So it sounds like mod_perl is running, but somehow it's not really in
> > step with apache (apache2 specifically). We noticed that mod_perl
> > wasn't in the httpd.conf file! This seemed odd given the above msg.
> >
> > I did this Red Hat install for WebGUI, so all the basic needs should be
> > installed.
> >
> >
> > On Tue, 2006-02-28 at 18:28 -0500, Gerald Young wrote:
> >
> >> Yes, this is a known issue with 5.5.8 Sorry it's not (?) in my FAQ. I
> >> just posted this in http://www.plainblack.com/discuss aha... here 'tis:
> >> http://www.plainblack.com/install/upgrade_help/problem-with-parenthesis-no-importing#g4xGN99Bss5IWanmn3zUIw
> >>
> >> Update your Macro.pm
> >> <http://www.plainblack.com/downloads/builds/6.2.11-gamma/WebGUI/lib/WebGUI/Macro.pm>
> >> about where you see this (stop, restart apache):
> >>
> >> my $parenthesis;
> >> $parenthesis = qr /\( # Start with '(',
> >> (?: # Followed by
> >> (?>[^()]+) # Non-parenthesis
> >> |(??{ $parenthesis }) # Or a balanced parenthesis block
> >> )* # zero or more times
> >> \)/x; # Ending with ')'
> >>
> >> my $nestedMacro;
> >> $nestedMacro = qr /(\^ # Start with carat
> >> ([^\^;()]+) # And one or more none-macro characters -tagged-
> >> ((?: # Followed by
> >> (??{ $parenthesis }) # a balanced parenthesis block
> >> |(?>[^\^;]) # Or not a carat or semicolon
> >> # |(??{ $nestedMacro }) # Or a balanced carat-semicolon block
> >> )*) # zero or more times -tagged-
> >> ;)/x; # End with a semicolon.
> >>
> >>
> >>
> >>
> >> Ken Johnson wrote:
> >>
> >>> System Info:
> >>> Redhat Enterprise 2.6.9-5
> >>> WebGUI 5.5.8
> >>> All Perl modules installed, mysql is running, and /data/WebGUI has been
> >>> changed to /var/www/WebGUI in all the appropriate files. But when
> >>> the browser is pointed http://10.1.9.10/WebGUI/www/index.pl to it only
> >>> gets the message "The requested URL /WebGUI/www/index.pl was not found
> >>> on this server."
> >>>
> >>> When i run sbin/perl preload.perl it spews out:
> >>>
> >>> [root at herb sbin]# perl preload.perl
> >>> [Tue Feb 28 16:00:56 2006] (re_eval 14): Variable "$parenthesis"
> >>> is not imported at (re_eval 14) line 2.
> >>> Global symbol "$parenthesis" requires explicit package name at
> >>> (re_eval 14) line 2.
> >>> Compilation failed in regexp
> >>> at /var/www/WebGUI/lib/WebGUI/Macro.pm line 53.
> >>> Compilation failed in require
> >>> at /var/www/WebGUI/lib/WebGUI/Privilege.pm line 24.
> >>> BEGIN failed--compilation aborted
> >>> at /var/www/WebGUI/lib/WebGUI/Privilege.pm line 24.
> >>> Compilation failed in require
> >>> at /var/www/WebGUI/lib/WebGUI/HTMLForm.pm line 22.
> >>> BEGIN failed--compilation aborted
> >>> at /var/www/WebGUI/lib/WebGUI/HTMLForm.pm line 22.
> >>> Compilation failed in require
> >>> at /var/www/WebGUI/lib/WebGUI/User.pm line 20.
> >>> BEGIN failed--compilation aborted
> >>> at /var/www/WebGUI/lib/WebGUI/User.pm line 20.
> >>> Compilation failed in require
> >>> at /var/www/WebGUI/lib/WebGUI/Affiliate.pm line 19.
> >>> BEGIN failed--compilation aborted
> >>> at /var/www/WebGUI/lib/WebGUI/Affiliate.pm line 19.
> >>> Compilation failed in require at /var/www/WebGUI/lib/WebGUI.pm
> >>> line 16.
> >>> BEGIN failed--compilation aborted
> >>> at /var/www/WebGUI/lib/WebGUI.pm line 16.
> >>> Compilation failed in require at preload.perl line 63.
> >>> BEGIN failed--compilation aborted at preload.perl line 63.
> >>>
> >>>
> >>> appears that $parenthesis is a circular reference according one of our
> >>> programmers, what would be the best way to correct this?
> >>>
> >>> tia,
> >>> ken
> >>>
> >>> _______________________________________________
> >>> WebGUI mailing list
> >>> WebGUI at gwy2.org
> >>> http://www.gwy2.org/mailman/listinfo/webgui
> >>>
> >>>
> >>>
> >>>
> >>>
> >> _______________________________________________
> >> WebGUI mailing list
> >> WebGUI at gwy2.org
> >> http://www.gwy2.org/mailman/listinfo/webgui
> >>
> >>
> >
> > _______________________________________________
> > WebGUI mailing list
> > WebGUI at gwy2.org
> > http://www.gwy2.org/mailman/listinfo/webgui
> >
> >
> >
>
> _______________________________________________
> WebGUI mailing list
> WebGUI at gwy2.org
> http://www.gwy2.org/mailman/listinfo/webgui
>
More information about the WebGUI
mailing list