[TYPO3] tt_news, realurl, wget

Gernot Hofer aphex13 at silverserver.at
Thu Feb 1 20:58:41 CET 2007


Hello list!

i have to export static sites from a intranet to a internet server as 
static html files.

the problem is, when wget fetch the site and take the tt_news browse (1 
2 3 4 more>) link or the category link then i get a loop.
On:
http://iww.server.com/aktuelles.html is the browselink like:
http://iww.server.com/aktuelles/browse/1.html

but i can copy the "aktuelles/browse/"

so the URL is : 
http://iww.server.com/aktuelles/browse/aktuelles/browse/aktuelles/browse/xxx.html
and i got the content of  http://iww.server.com/aktuelles.html

===> BUT WHY????

so wget comes in a loop like:
http://iww.server.com/aktuelles/browse/aktuelles/browse/aktuelles/browse/......


In the Errorlog of URLManagement is for example:
URL:
http://iww.server.com/aktuelles/kategorie/aktuelles/kategorie/aktuelles/aktuelles/artikel/kontaktausschuss.html 
	
Error:
Segment "aktuelles" was not a keyword for a postVarSet as expected! 	
Last Referer:
http://publish.server.com/aktuelles/kategorie/aktuelles/kategorie/internationales.html 
==> this link does not exist!
only: http://publish.server.com/internationales.html

RealUrl-Configuration:
'browse' => array (
                     array (
                         'GETvar' => 'tx_ttnews[pointer]',
		        'lookUpTable' => array(
				'useUniqueCache' => 1,
				'useUniqueCache_conf' => array(
					'strtolower' => 1,
					),
				),
			),
                 ),
                 'kategorie' => array (
                     array(
			'GETvar' => 'tx_ttnews[cat]',
			'lookUpTable' => array(
				'table' => 'tt_news_cat',
				'id_field' => 'uid',
				'alias_field' => 'title',
				'addWhereClause' => ' AND NOT deleted',
				'useUniqueCache' => 1,
				'useUniqueCache_conf' => array(
					'strtolower' => 1,
					),
				),
			),
		),

i use TYPO3 V4.0.3, tt_news 2.2.41, realurl 1.1.3 and wget

i tried to fetch teh site fith wget -L -l5 but i get 10 folders.....

How is it possible that there is loop on the browse and cat. link of 
tt_news??? AND ONLY THERE?!?!?
Any ideas how i can fix this? Does anyone have problems like this?
Is this a bug in tt_news, real_url or wget????

THANKS to YOU!

Gernot Hofer


More information about the TYPO3-english mailing list