[ic] custom payments - very bad GlobalSub problem (?)
Sat, 10 Mar 2001 22:43:41 -0500
On Sat, Mar 10, 2001 at 08:44:01PM -0500, Timothy Cassidy wrote:
> This is a stupid question, but how do you call one of these
> GlobalSub subroutines (in your interchange.cfg file)? I have been trying
> to call these subroutines from within a section of my html pages like
> [perl sub]
> I also tried adding this line:
> &charge=custom test
> to my profiles.order file.
> But regardless this fails with an error like this:
> 192.168.0.13 vqMqdKVZ:192.168.0.13 - [10/March/2001:20:25:08 -0500]
> construct /c
> gi-bin/construct/aboutus.html Safe: Undefined subroutine &MVSAFE::test
You probably need AllowGlobal in your interchange.cfg file.
If one is writing embedded perl one should learn how to grep through
the code to find something like that and how to systematically
isolate the issue.
grep MVSAFE *.pm
Yeah it would be nice if IC logs were more syslog typical,
__FILE__:__LINE__ message. We've never run it with the syslog
option (there is one isn't there), maybe it already is.
Christopher F. Miller, Publisher firstname.lastname@example.org
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
Content management, electronic commerce, internet integration, Debian linux