[TYPO3-shop] memo in tt_products 2.5.1

Peter Leighton t3 at fuseinternet.co.uk
Mon Oct 9 14:52:35 CEST 2006


Hi,

I am having problems getting the memo feature to work

I have tt_products 2.5.1 set up on a local machine (apple g5 running OS 
X v10.4.8 TYPO3 v4.0.2), the machine is running php 4.4.1 and mysql 4.1.21

I have set up a page for the memo feature, setting the starting point to 
the sys folder where my products are located.

When a non logged in user tries to access the memo page, the not logged 
in message appears "You are not logged in. Please login to view your 
stored records" as you would expect.

But if you then login and try to view the memo page, you get some warnings:

Warning: 
printview(/sites/typo3conf/ext/tt_products/lib/class.tx_ttproducts_list_view.php) 
[function.printview]: failed to open stream: No such file or directory 
in 
/sites/typo3conf/ext/tt_products/view/class.tx_ttproducts_memo_view.php 
on line 157

Warning: printview() [function.include]: Failed opening 
'/sites/typo3conf/ext/tt_products/lib/class.tx_ttproducts_list_view.php' 
for inclusion (include_path='.:/usr/local/lib/php') in 
/sites/typo3conf/ext/tt_products/view/class.tx_ttproducts_memo_view.php 
on line 157

Followed by a fatal error

Fatal error: Cannot instantiate non-existent class: 
tx_ttproducts_list_view in 
/sites/typo3_src-4.0.2/t3lib/class.t3lib_div.php on line 3985

in the file:

/sites/typo3conf/ext/tt_products/view/class.tx_ttproducts_memo_view.php

on line 157 there is an include:

include_once (PATH_BE_ttproducts.'lib/class.tx_ttproducts_list_view.php');

This file no longer exists in this place

There is a file called class.tx_ttproducts_list_view.php in the view 
folder, but changing the include to use this file instead generates 
another error:

Fatal error: Call to undefined function: getparamdefault() in 
/sites/typo3conf/ext/tt_products/view/class.tx_ttproducts_list_view.php 
on line 182

and thats where i get a bit stuck...

If I downgrade the extension to 2.5.0, then the memo works fine (but 
then I lose the new features) I also tried the 2.5.1.2 dev version and 
the problem still exists.

Anybody have any ideas on how to fix this, or is it a trip to 
bugs.typo3.org ?

Thanks

Peter Leighton



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