[WebGUI] preload.perl error
Gerald Young
me at gwy.org
Tue Feb 28 18:28:35 EST 2006
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
>
>
>
>
More information about the WebGUI
mailing list