[TYPO3-commerce] pagebrowser, menu und lastproduct funktionieren nicht in 4.3.1
Kurt Knote
kurt.knote at t-online.de
Tue Feb 16 07:52:23 CET 2010
Roger, Ingo!
Hi commerce-List,
starting with commerce was a bit bumpy.
-> first step was installing version 0.9.x from TER (on my Typo3 4.3.1)
- so, browsing, creating, editing of categories, products etc. was not
possible
-> step two: downloading commerce form SVN (it says in TER then: 0.12.1)
- now brwoser for cats is running, ican create products etc.
- but: all links from pagebrowser, Menu ans lastproduct (shoppingcart)
are broken
- normal linking is running. so i can make some testorders
-> step tree: googling, debugging, googling, ... and no fun
- first symptom: normal links have most often a long chash (32byte)
- pagebrowser, menuline etc. dont. they show: no-cache=1 or they have a
10 byte hash
- result is: 404
-> steps for some days: trial and error, some beers and: yes we can!
-> solution für menu (tx_commerce_navigation)
- here we have often building of cHash like this:
...cHash='.t3lib_div::shortMD5(serialize($pA));
- my solution:
...cHash='.t3lib_div::shortMD5(serialize($pA),32);
-> soluition lastproduct (tx_commerce_pi1, pi2 und tx_commerce_pibase)
- here are session keys used
- i explicit set cache variable to 1
- old:
setKey('ses','tx_co.....->pi_linkTP_keepPIvars_url());
- my solution
$my_override = array(); $my_cache = 1;
setKey(....->pi_linkTP_keepPIvars_url($my_override,$my_cache));
-> solution pagebrowser (tx_commerce_pibase)
- very strange symptom. for creation pi_list_browseresults is used.
- there pi_isOnlyFields is used as variable for 'cache'
- and pi_isOnlyFields results in 'debug'. so we got a no_cache=1 and 404
- ok, i dont use pi_isOnlyFields and hard coded cache = 1.
***
ok, now i hope to start fully into commerce, but:
did i the only one with these problems?
or made i some basic wrong steps?
regards Kurt
Am 15.02.10 20:43, schrieb Ingo Schmitt:
> Hallo Kurt,
> es könnten wesentlich mehr in der Liste hier etwas mit Deinem Posting
anfangen, wenn es in Englisch wäre ;-)
> If you could enter your problems into the bugtracker at
forge.typo3.org (Project Commerce) we could have a look during the
commerce developer-meeting next weekend!
> Allaf
> ingo
More information about the TYPO3-project-commerce
mailing list