Project

General

Profile

Actions

Bug #15397

closed

Error displaying htmlarea in the frontend

Added by Robert Destigter almost 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2006-01-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When htmlarea is loaded a windows error message says: "The website http://www.mywebsite.com/mypage/index.php cannot be opened. The operation is cancelled."

I think it has to do with javascript code but I can't find out what's really causing this.

Note: htmlarea works fine in the backend. This concerns displaying it in the frontend.

CODE:
require_once(t3lib_extMgm::extPath('rtehtmlarea').'pi2/class.tx_rtehtmlarea_pi2.php');
$this->RTEObj = t3lib_div::makeInstance('tx_rtehtmlarea_pi2');

if(!$this->RTEObj->isAvailable()) {
$row['entry'] = $this->cutDown(stripslashes($row['entry']));
$row['entrycomment'] = stripslashes($row['entrycomment']);
}

if($this->RTEObj->isAvailable()) {
$this->RTEcounter++;
$this->formName = 'myform';
$this->strEntryField = 'entry';
$this->PA['itemFormElName'] = 'objHtmlArea';
$this->PA['itemFormElValue'] = '';
$this->thePidValue = $GLOBALS['TSFE']->id;
$RTEItem = $this->RTEObj->drawRTE($this,$this->strEntryTable,$this->strEntryField,$row=array(), $this->PA, $this->specConf, $this->thisConfig, $this->RTEtypeVal, '', $this->thePidValue);
}

I'm pretty sure it has to do with included javascript at line 253 of file class.tx_rtehtmlarea_pi2.php.

$GLOBALS['TSFE']->additionalHeaderData['htmlArea'] =
$additionalCode_loadCSS .
$this->loadJSfiles($pObj->RTEcounter) .
'<script type="text/javascript">' .
$this->loadJScode($pObj->RTEcounter) . '</script>';

The following .js file causing problems is:
rtehtmlarea_htmlarea_c327fd00d90034759b14818c26445afb.js in the typo3temp folder.

That's all I know for now.

(issue imported from #M2241)


Files

class.ferte.zip (777 Bytes) class.ferte.zip Administrator Admin, 2006-01-13 11:42
ext_conf_template.txt (774 Bytes) ext_conf_template.txt Administrator Admin, 2006-01-16 09:10
Actions

Also available in: Atom PDF