Project

General

Profile

Actions

Bug #17563

closed

PHP Fatal error: Call to a member function on a non-object in ..class.tx_rtehtmlarea_base.php on line 1493

Added by Ingo Schmitt over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-08-27
Due date:
% Done:

0%

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

Description

When using Firefox 2.0.0.6 on some systems, it seams that in some cases $TSFE->csConvObj is not instantiated when using RTEhtmlarea.

We could reproduce this on some systems here, but others are working, with the same installation out of the box

We suggest to add a check also to $TSFE->csConvObj, so replace
if(is_object($TSFE)) {
by
if(is_object($TSFE) && is_object($TSFE->csConvObj)) {

(issue imported from #M6218)


Files

fix_csConvObj_not_availiabel.txt (6.17 KB) fix_csConvObj_not_availiabel.txt Administrator Admin, 2007-08-27 16:55

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #17602: rtehtmlarea doesn't work in front end editing in the mode "Forms on page"ClosedStanislas Rolland2007-09-14

Actions
Actions #1

Updated by Martin Kutschker over 16 years ago

This is strange as the object is instantiated in the constructor of tslib_fe.

Actions #2

Updated by Ingo Schmitt over 16 years ago

Yes, but a check if the instantiated object is still existing shouldn't be to expensive

Actions #3

Updated by Martin Kutschker over 16 years ago

But how to proceed if it's missing? I think it should be traced why this happens instead of adding a seemingly pointless check.

Actions #4

Updated by Ingo Schmitt over 16 years ago

There is already an else part in rtehtmlarea, it TSFE is missing, so we could use this.

Actions #5

Updated by Stanislas Rolland over 16 years ago

Is this happening in the backend when "Editforms on page" is used or is it happening when the RTE is used on a frontend page?

Actions #6

Updated by Ingo Schmitt over 16 years ago

Is happening in the Backend when editing Forms on pages.

Actions

Also available in: Atom PDF