[Typo3] htmlArea RTE Extension

Roberts, Emma Emma.Roberts at isd.csa.scot.nhs.uk
Thu Mar 17 12:58:43 CET 2005

This looks scary but I'll try it! 

Many thanks,


Emma Roberts
Web Designer/Developer Stroke and CHD Managed Clinical Network Project
Gyle Square, 1 South Gyle Crescent
Edinburgh, EH12 9EB
0131 275 6724

-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of Albert
van der Veen
Sent: 17 March 2005 11:43
To: TYPO3 English
Subject: RE: [Typo3] htmlArea RTE Extension

Hello Emma,

The piece of code that generates the error defines a variable 
'MY_PATH_thisScript' according to the value of environment variables. It 
gets one of these values: $_SERVER['ORIG_PATH_TRANSLATED'], 
If you check the environment variables of your typo3 server (with phpinfo() 
) you will see that ORIG_PATH_TRANSLATED doesn't exist. Hence the error. 
The reason for this check is a change in the naming of variables in php 
4.3.2 and higher:

Old Variable Name:


New Variable Name (PHP 4.3.2):


The quick-and-dirty way to get rid of the error is to replace (in 
t3_popup.php and rtehtmlarea_select_image.php):

define('MY_PATH_thisScript',str_replace('//','/', str_replace('\\','/', 


define('MY_PATH_thisScript',str_replace('//','/', str_replace('\\','/', 


define('MY_PATH_thisScript',str_replace('//','/', str_replace('\\','/', 

(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!

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.
>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
>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
NHS National Services Scotland Disclaimer 

The information contained in this message may be confidential or 
legally privileged and is intended for the addressee only. If you have 
received this message in error or there are any problems please notify the 
originator immediately. The unauthorised use, disclosure, copying or 
alteration of this message is strictly forbidden. 

More information about the TYPO3-english mailing list