[TYPO3-english] strange things in pagepath extension
Hauke Meyer
meyer at visionconnect.de
Thu Jan 29 17:15:04 CET 2009
Hiho,
back from vacation (newzealand is cooool) ;-)
I updated my mnogosearch and pagepath extensions on a 4.2.1.
Typo3-installation and _bang_ pagepath did not return any link no
more... I used the pagepath EXT inside an other extension written on my own.
We discovered the following effect:
The "t3lib_div::getURL" request in tx_pagepath_api results in a
"@"-hidden PHP-Warning:
> [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
Strange...
The solution was to change the line (in tx_pagepath_api)
> 'Cookie' => 'be_typo_user=' . $_COOKIE['be_typo_user'] . '; fe_typo_user=' . $_COOKIE['fe_typo_user']
into
> 'Cookie: be_typo_user=' . $_COOKIE['be_typo_user'] . '; fe_typo_user=' . $_COOKIE['fe_typo_user']
Now our apache said "YES" ;-)
Hi Dmitry, is this a change from 0.1.2 to 0.1.3, or something like that?
Hauke
More information about the TYPO3-english
mailing list