Bug #2626
error in pagebrowser
| Status: | Resolved | Start date: | 2009-02-12 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Michael Klapper | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
when i insert a link in rte the following error message appears:
Warning: call_user_func(tx_linkhandler_recordTab::getLinkBrowserInfoArray): Unable to call tx_linkhandler_recordTab::getLinkBrowserInfoArray(,Array) in /mypath/typo3conf/ext/linkhandler/class.tx_linkhandler_browselinkshooks.php on line 151
the link then works ok..
typo3: 4.2.6
Associated revisions
[Bug 2626] Add a pageFinder class, r=oliver
[Bug 2626] Add a pageFinder class, r=oliver
[Bug 2626] Add a pageFinder class, r=Oliver
[Bug 2626] Add a pageFinder class, r=Oliver
[Bug 2626] Add a pageFinder class, r=Oliver
Bug 2626: Add a pageFinder class, r=me
[Bug 2626] Add a pageFinder class, r=oliver
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/linkhandler/trunk@18807 735d13b6-9817-0410-8766-e36946ffe9aa
History
Updated by Michael Klapper about 4 years ago
- Status changed from New to Resolved
- Assignee set to Michael Klapper
Update in trunk
Updated by Natalia Postnikova almost 4 years ago
Stefan Mielke wrote:
when i insert a link in rte the following error message appears:
Warning: call_user_func(tx_linkhandler_recordTab::getLinkBrowserInfoArray): Unable to call tx_linkhandler_recordTab::getLinkBrowserInfoArray(,Array) in /mypath/typo3conf/ext/linkhandler/class.tx_linkhandler_browselinkshooks.php on line 151the link then works ok..
typo3: 4.2.6
Its not a problem with the extension code itself but with its compatibility with PHP4.
Peplace first line with second:
// $result=call_user_func($handler.'::getLinkBrowserInfoArray',$href,$this->getTabsConfig()); $result = call_user_func(array($handler, 'getLinkBrowserInfoArray'),$href,$this->getTabsConfig());
Updated by Jochen Rieger over 3 years ago
Same problem here on a Debian Etch with PHP Version 5.2.0-8+etch13 ... the PHP manual says that the function call in the manner used by linkhandler is only available since 5.2.3:
http://de.php.net/call_user_func#function.call-user-func.examples
So it would be nice to have a kind of a switch taking in account which PHP version is running on the server.
This could be a good option: http://de.php.net/manual/en/function.version-compare.php
Cheers,
Jochen