[Typo3-shop] fatal error

Franz Holzinger franz at fholzinger.com
Thu Jul 28 13:10:25 CEST 2005


Hello Eric,
> 
> If I look at line 371 I see the following:
> 
> $label = 
> $LANG->sL('LLL:EXT:sr_feuser_register/pi1/locallang.php:missing_'.$check);
> 
> Does it matter where you have installed the sr_feuser_register? I mean local 
> or global?
> 

> 
>>
>>Fatal error: Call to a member function on a non-object in 
>>/home/realdata/public_html/typo3/ext/tt_products/pi/class.tx_ttproducts.php 
>>on line 371
>>

Yes there is a difference, because without it the text for the error 
messages cannot be shown. However I do not understand why the  global 
$LANG variable does not have an object in your case.


>>My template
>>document.getElementsByName('infoform')[0].action='###FORM_URL_FINALIZE###';">
>>
>>Bananashop template
>>onclick="document.forms[0].action='###FORM_URL_FINALIZE###';">
>>
>>What's the difference between those 2?
>>

In the first your form has got a name in the second it is unnamed.
The first solution will work also when you have more than one form on a 
page.


Franz



More information about the TYPO3-project-tt-products mailing list