CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #2626

error in pagebrowser

Added by Stefan Mielke over 4 years ago. Updated over 2 years ago.

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

Revision 16675
Added by Bernd Schönbach over 4 years ago

[Bug 2626] Add a pageFinder class, r=oliver

Revision 16709
Added by Bernd Schönbach over 4 years ago

[Bug 2626] Add a pageFinder class, r=oliver

Revision 16899
Added by Bernd Schönbach over 4 years ago

[Bug 2626] Add a pageFinder class, r=Oliver

Revision 16908
Added by Bernd Schönbach over 4 years ago

[Bug 2626] Add a pageFinder class, r=Oliver

Revision 16909
Added by Bernd Schönbach over 4 years ago

[Bug 2626] Add a pageFinder class, r=Oliver

Revision 16988
Added by Saskia Metzler about 4 years ago

Bug 2626: Add a pageFinder class, r=me

Revision 17016
Added by Bernd Schönbach about 4 years ago

[Bug 2626] Add a pageFinder class, r=oliver

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 151

the 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

Also available in: Atom PDF