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.
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)
Same fatal-errors in typo3 ver. 4.2.7
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.
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.
@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)
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.
- 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)?
- Status changed from Needs Feedback to Closed
- Is Regression set to No
No feedback for over 90 days.
Also available in: Atom
PDF