[ic] $Tag->forum() fails in [perl] in prefork/rpc mode after one successful
page view
John Young
interchange-users@icdevgroup.org
Tue Jul 1 04:36:01 2003
I am unable to make $Tag->forum() work from within [perl] in a flypage
in prefork mode. After starting Interchange, it will work once, but
then fail for all subsequent page views.
Interchange V4.9.7-200303310658 w/some patches
Perl 5.8.0
Linux and Solaris
In flypage.html:
[perl tables="forum userdb"]
...
$out .= $Tag->forum({ top => $sku, display_page => 'forum/display' });
...
[/perl]
Logs:
Safe: Can't locate object method "new" via package "Vend::Tags"
(perhaps you forgot to load "Vend::Tags"?) at (tag 'perl') line 101.
The log entry is referring to the following line in code/UserTag/forum.tag:
my $Tag = new Vend::Tags;
$Tag->forum() in [perl] always works in 'low' traffic mode.
[forum] (not embedded perl) always works regardless of traffic mode (low
or prefork).
$Tag->forum() in [perl] in prefork mode works once and then fails for
all subsequent views.
If anyone has any ideas about how $Tag->forum() might forget
about Vend::Tags after using it once in prefork mode, I would
much appreciate any shared insight...
Thanks!
John Young