[Typo3] htmlArea RTE Extension
Albert van der Veen
albert at jipscompany.com
Thu Mar 17 13:06:28 CET 2005
Hello Emma,
Regarding my previous post: to leave the check intact and get rid of the
errors:
replace
define('MY_PATH_thisScript',str_replace('//','/', str_replace('\\','/',
(php_sapi_name()=='cgi'||php_sapi_name()=='xcgi'||php_sapi_name()=='isapi'
||php_sapi_name()=='cgi-fcgi')&&($_SERVER['ORIG_PATH_TRANSLATED']?$_SERVER['ORIG_PATH_TRANSLATED']:$_SERVER['PATH_TRANSLATED'])?
($_SERVER['ORIG_PATH_TRANSLATED']?$_SERVER['ORIG_PATH_TRANSLATED']:$_SERVER['PATH_TRANSLATED']):($_SERVER['ORIG_SCRIPT_FILENAME']?$_SERVER['ORIG_SCRIPT_FILENAME']:$_SERVER['SCRIPT_FILENAME']))));
with:
define('MY_PATH_thisScript',str_replace('//','/', str_replace('\\','/',
(php_sapi_name()=='cgi'||php_sapi_name()=='xcgi'||php_sapi_name()=='isapi'
||php_sapi_name()=='cgi-fcgi')&&(isset($_SERVER['ORIG_PATH_TRANSLATED'])?$_SERVER['ORIG_PATH_TRANSLATED']:$_SERVER['PATH_TRANSLATED'])?
(isset($_SERVER['ORIG_PATH_TRANSLATED'])?$_SERVER['ORIG_PATH_TRANSLATED']:$_SERVER['PATH_TRANSLATED']):(isset($_SERVER['ORIG_SCRIPT_FILENAME'])?$_SERVER['ORIG_SCRIPT_FILENAME']:$_SERVER['SCRIPT_FILENAME']))));
greetz,
Albert
>define('MY_PATH_thisScript',str_replace('//','/', str_replace('\\','/',
>(php_sapi_name()=='cgi'||php_sapi_name()=='xcgi'||php_sapi_name()=='isapi'
>||php_sapi_name()=='cgi-fcgi')&&($_SERVER['ORIG_PATH_TRANSLATED']?$_SERVER['ORIG_PATH_TRANSLATED']:$_SERVER['PATH_TRANSLATED'])?
>($_SERVER['ORIG_PATH_TRANSLATED']?$_SERVER['ORIG_PATH_TRANSLATED']:$_SERVER['PATH_TRANSLATED']):($_SERVER['ORIG_SCRIPT_FILENAME']?$_SERVER['ORIG_SCRIPT_FILENAME']:$_SERVER['SCRIPT_FILENAME']))));
>
>with:
>
>define('MY_PATH_thisScript',str_replace('//','/', str_replace('\\','/',
>$_SERVER['SCRIPT_FILENAME'])));
>
>or
>
>define('MY_PATH_thisScript',str_replace('//','/', str_replace('\\','/',
>$_SERVER['PATH_TRANSLATED'])));
>
>(depending on which env var exists, probably both? - my knowledge on this
>matter is minimal)
>
>Of course, this is not a 'final' solution, but it should work with your
>configuration. The check for the existence of the env vars should be
>modified (I think, or did I miss something?). I will mail the author to
>check this.
>
>Hope this helps!
>
>regards,
>Albert van der Veen
>
>t 09:51 AM 3/17/2005, you wrote:
>>any thoughts on this anyone? I'd really like to get it working today.
>>
>>Emma
>>
>>Hi,
>>Sorry to bother you again with this but I've just loaded the latest
>>htmlAreal extension and the old error message has returned -
>>********
>>Notice: Undefined index: ORIG_PATH_TRANSLATED in
>>c:\inetpub\wwwroot\mcnfife\typo3conf\ext\rtehtmlarea\t3_popup.php on line 39
>>
>>Warning: Cannot modify header information - headers already sent by (output
>>started at
>>c:\inetpub\wwwroot\mcnfife\typo3conf\ext\rtehtmlarea\t3_popup.php:39) in
>>c:\inetpub\wwwroot\mcnfife\typo3\t3lib\class.t3lib_userauth.php on line 242
>>********
>
>
>_______________________________________________
>Typo3-english mailing list
>Typo3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list