[ic] Virtual Goods download error

Stefan Hornburg (Racke) racke at linuxia.de
Tue Jan 25 19:37:30 UTC 2011


On 01/25/2011 07:13 PM, DB wrote:
>>>>>> I'm again trying to troubleshoot this issue. I had an older thread but
>>>>>> thought I'd start a new one with the updated information.
>>>>>>
>>>>>> I've been selling a PDF through my IC 5.6.3 (modified foundation)
>>>>>> website for years. Recently however, if a customer purchases this PDF
>>>>>> without being logged in, the sale goes through ok... but when they click
>>>>>> the download link from the receipt page, the following error is shown:
>>>>>>
>>>>>> Sorry, there was an error in processing this form action. Please report
>>>>>> the error or try again later. (Can't locate object method "new" via
>>>>>> package "Vend::UserDB" (perhaps you forgot to load "Vend::UserDB"?) at
>>>>>> /usr/local/interchange/lib/Vend/UserDB.pm line 2008. )
>>>>>
>>>>>
>>>>> What's online 2008 in Vend/UserDB.pm for you?
>>>>>
>>>>>
>>>>> CU,
>>>>>
>>>>> Gert
>>>>
>>>> That line is:
>>>>
>>>>                 $user = $module->new(%options);
>>>>
>>>> Added info: the Apache access log shows a 200 result for that pdf at the
>>>> time the error was generated.
>>>
>>> It is in an 'if'  : if($function eq 'login') { .... are you expecting to be
>>> logging in at this point when someone tries to download the pdf?
>>>
>>> Did you change anything with regard to user authentication, having some
>>> things that are pre-loaded/pre-checked with every request or something?
>>>
>>> CU,
>>>
>>> Gert
>
> Yet more info... I tried the latest UserDB.pm from git. It complained
> about missing Safe.pm so I added that too. Now I get the same error:
>
> "Sorry, there was an error in processing this form action. Please report
> the error or try again later. (Can't locate object method "new" via
> package "Vend::UserDB" (perhaps you forgot to load "Vend::UserDB"?) at
> /usr/local/interchange/lib/Vend/UserDB.pm line 2138. )"
>
> just a different line number. And of course that new line number is the
> same "$user = $module->new(%options);"
>
> Quite annoying indeed.

Mixing UserDB from Git HEAD with Interchange 5.6 doesn't sound like a good idea
to me.

Regards
	Racke

-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team




More information about the interchange-users mailing list