Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] ?Bug Report?: Subroutine Not Found in Parse.pm



******    message to minivend-users from Mike Heins <mikeh@minivend.com>     ******

Quoting Chris Rapier (rapier@psc.edu):
> ******    message to minivend-users from Chris Rapier <rapier@psc.edu>     ******
> 
> This is for version 4.04.
> 
> While playing with the new_account page out of the simple demo I decide
> that I wanted to change default mv_nextpage from account to 'welcome'.
> When I did this I got a server error and found this in the error.log:
> 
> 128.2.85.12 wnFxzwsA:128.2.85.12 - [06/July/2000:23:08:06 -0400]
> windfallfoods /cgi-bin/windfallfoods/process.html Runtime error:
> Undefined subroutine &Vend::Interpolate::tag_search called at
> /usr/home/rapier/mvend/lib/Vend/Parse.pm line 1379.
> 
> Which seems to me that its looking for a subroutine called (obviously)
> tag_search.
> 
> I then did:
> mictlan% grep -Rai tag_search ~/mvend
> 
> And got the following back:
> 
> /usr/home/rapier/mvend/lib/Vend/ECML.pm:                my $optlist =
> Vend::Interpolate::tag_search($args);
> /usr/home/rapier/mvend/lib/Vend/Interpolate.pm:sub tag_search_region {
> /usr/home/rapier/mvend/lib/Vend/Interpolate.pm:sub tag_search_list {
> /usr/home/rapier/mvend/lib/Vend/Parse.pm:                              
> search                  => \&Vend::Interpolate::tag_search,
> /usr/home/rapier/mvend/lib/Vend/Parse.pm:                              
> search_region   => \&Vend::Interpolate::tag_search_region,
> mictlan%
> 
> Which leads me to believe that somethign is not happening the way it
> should. 
> 
> I decided to play around a bit. I notice that tag_search_list wasn't in
> Parse.pm and tried changing the bare tag_search to tag_search_list. This
> did not work and I got the following error:
> 128.2.85.12 wnFxzwsA:128.2.85.12 - [06/July/2000:23:09:10 -0400]
> windfallfoods /cgi-bin/windfallfoods/process.html Runtime error: Can't
> use string ("region") as a HASH ref while "strict refs" in use at
> /usr/home/rapier/mvend/lib/Vend/Interpolate.pm line 2757.
> 
> I then changed the bare tag_search to tag_search_region and on the
> serface this seems to work in that I get where I want off the
> new_account page. My feeling is that this is *not* the right solution.
> :)
> 
> It hasn't seemed to have broken anythign else as of yet. I'm going to
> poke at this some more but I thought I should let someone know.

This is a bug. The [search] [/search] tag has gone away and I haven't
removed it from Parse.pm. I will check into it.

Best, 
Mike
-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>

Unix version of an Outlook-style virus:
It works on the honor system. Please forward this message to everyone
you know, and delete a bunch of your files at random.
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: