Project

General

Profile

Actions

Bug #20707

closed

After updating from 4.1.10 to 4.2.6 several fatal errors appear in class.browse_links.php

Added by Christoph Jander over 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-07-01
Due date:
% Done:

0%

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

Description

After udating from 4.1.10 to 4.2.6 several errors appear in class.browse_links.php like

Fatal error: Call to a member function checkPathAgainstMounts() on a non-object in /var/www/kunden/webs/.../typo3_src-4.2.6/typo3/class.browse_links.php on line 2493

or

Fatal error: Call to a member function findTempFolder() on a non-object in /var/www/kunden/webs/.../misstilly/typo3_src-4.2.6/typo3/class.browse_links.php on line 1620

it is also unpossible to set up external links with the rtehtmlarea.

Without the class.browse_links.php the typo3-installation is not usable.
(issue imported from #M11459)

Actions #1

Updated by Christoph Jander over 15 years ago

Same fatal-errors in typo3 ver. 4.2.7

Actions #2

Updated by Chris topher over 15 years ago

Did you compare the database in the install tool and did you delete the TEMP*Cached files?
Also clear your browser cache before you report the results.

Actions #3

Updated by Mathias Schreiber over 15 years ago

also check if you use extensions that use XCLASSES.
In the Backend see:
Tools->Configuration
Select "TYPO3_CONF_VARS" from the dropdown on top
Open up this branch:
BE->XCLASS
If anything is in there affecting browse_links.php, you may have spotted your error.

Actions #4

Updated by Christoph Jander over 15 years ago

@christopher
yes, i use all the tipps and hints, so tabledefinitions and database ok, browsercache clear, no temp*cached files.

@ mathias
no errors accur in BE->XCLASS

i try to fix the issue by reviewing the code in class.browse_links.php and i found a initialization problem in line 1620 as well in line 2493.

i had to paste these lines before the functions are called

$this->fileProcessor = t3lib_div::makeInstance('t3lib_basicFileFunctions');
$this->fileProcessor->init($GLOBALS['FILEMOUNTS'], $GLOBALS['TYPO3_CONF_VARS']['BE']['fileExtensions']);

( do it just before $path=$this->expandFolder; (line 1617) and in function checkFolders() (line 2492)

(btw update to 4.2.8 have no effect)

Actions #5

Updated by Kofl no-lastname-given almost 15 years ago

We can confirm this problem for sites upgraded from 4.1 to 4.2.10:

class.browse_links.php, line 2493

$this->fileProcessor = t3lib_div::makeInstance('t3lib_basicFileFunctions');
$this->fileProcessor->init($GLOBALS['FILEMOUNTS'], $GLOBALS['TYPO3_CONF_VARS']['BE']['fileExtensions']);

( do it just before $path=$this->expandFolder;)

worked fine.

No such problem on fresh installed 4.2.x systems.

Actions #6

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #7

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF