[ic] Re: Arg, just shoot me and put me out of my misery!

Barry Treahy, Jr. interchange-users@icdevgroup.org
Tue Sep 17 15:09:01 2002


Mike Heins wrote:

>Quoting Barry Treahy, Jr. (Treahy@MMaz.com):
>  
>
>>Steve Graham wrote:
>>
>>    
>>
>>>>>>>After finally getting the products database to load into MySQL, 
>>>>>>>I'm still getting this crap!!!
>>>>>>>
>>>>>>>w2k.mmaz.com Wwu8LpB5:mmaz.com - [16/September/2002:23:45:22 
>>>>>>>-0400] mmb2c /cgi-bin/mmb2c/M3933/16-10S.html Query rerouted from 
>>>>>>>table products failed: Can't locate object method "new" via 
>>>>>>>package "SQL::Parser" (perhaps you forgot to load "SQL::Parser"?) 
>>>>>>>at /ibin/interchange/lib/Vend/Scan.pm line 579.
>>>>>>>
>>>>>>>              
>>>>>>>
>>>Have you run the following until you have not received any errors...
>>>just a thought.
>>>
>>>perl -MCPAN -e 'install Bundle::Interchange'
>>>      
>>>
>>Thanks Steve, but yes. IC is working, SQL is working, my usertag which 
>>is handling the CommonAdjust pricing is working, it is that I'm just 
>>plagued with these errors being reported from the flypage and no where 
>>else.
>>    
>>
>
>That is the key bit of information.
>
>Because those subs happen prior to page initialization, to 
>remove them you would need an autoload like:
>
>    Autoload   [perl tables=products][/perl]
>
Where would I put this 'Autoload', in the catalog .cfg? and if so, is it 
position dependent?

>Or in catalog.cfg if you are willing to assume "products" should always
>be imported:
>
>    Database  products  HOT   1
>
This wouldn't necessarily be bad now, but once the web is linked to our 
internal database with ODBC rather than running on reduced exports, does 
it sounds like the first approach is the correct solution?  

Barry

-- 

Barry Treahy, Jr  *  Midwest Microwave  *  Vice President & CIO 

E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028