[Typo3-dev] PATH_TRANSLATED issues

Wolfgang Klinger wolfgang at stufenlos.net
Tue Apr 27 10:04:17 CEST 2004


 *hiya!*

 I use PHP 4.3.2 with cgi-fcgi.

 If you inspect the typo3/init.php you'll see that it uses
 PATH_TRANSLATED to get the current script name.

 PATH_TRANSLATED is ALWAYS empty though, while
 ORIG_PATH_TRANSLATED contains the right path.
 (and SCRIPT_FILENAME does too!!!)

 I found some documents which state that PATH_TRANSLATED is the NEW name
 for ORIG_PATH_TRANSLATED, but I haven't found anything on this issue on
 php.net (a little bit on bugs.php.net,
 http://bugs.php.net/bug.php?id=21575)

 BUT I found some phpinfo results for PHP5 and there it's the same
 situation (PATH_TRANSLATED is empty, ...)
 e.g.: http://www.webware.be/php5/phpinfo.php

 Maybe anybody running PHP5 can reproduce this?

 I reported this as a bug on bugs.typo.org as it leads to a fatal
 error in Typo3.

 bye
 Wolfgang






More information about the TYPO3-dev mailing list