[Typo3-shop] fatal error

Eric Vlemmings evlem at world-remove-online.nl
Thu Jul 28 13:59:41 CEST 2005


I have now installed again:

1 static_info_tables
2 sr_static_info
3 sr_feuser_register
4 feuserextrafields
5 tt_products

they are now all installed into Global (typo3/ext/)

When I check the tt_products in my extension manager, it tells me that their 
is a table error,
Probably one or more required fields/tables are missing in the database!

and their is a difference between the originally installed version and the 
current?

How can I fix that, or how do I know which fields are missing?

thanks in advance




"Eric Vlemmings" <evlem at world-remove-online.nl> schreef in bericht 
news:mailman.1.1122549902.7240.typo3-project-tt-products at lists.netfielders.de...
> sr_feuser_register is now installed in typo3conf\ext is that allright? and 
> what about the static extensions which I also have installed in 
> typo3conf\ext.
>
> when I fill in all the obliged fields except the AGB one, then I get a 
> correct message, saying that not everything is filled in. But I can 
> understand that because that's apart in the code of 
> class.tx_ttproducts.php
>
> if ($check=='') {
>       $label = '*** AGB ***';
>      } else {
>       if (t3lib_extMgm::isLoaded('sr_feuser_register')) {
>        $label = 
> $LANG->sL('LLL:EXT:sr_feuser_register/pi1/locallang.php:missing_'.$check);
>       } else {
>        $label = 'field: '.$check;
>       }
>      }
>
> But if I forget an other obliged field then I get the nasty one.
>
>
> "Franz Holzinger" <franz at fholzinger.com> schreef in bericht 
> news:mailman.1.1122548845.5090.typo3-project-tt-products at lists.netfielders.de...
>> 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