Welcome, Guest
Username: Password: Remember me

TOPIC: Unexpected T_PAAMAYIM_NEKUDOTAYIM on PHP 5.2

Unexpected T_PAAMAYIM_NEKUDOTAYIM on PHP 5.2 05 Dec 2013 09:10 #11743

  • smarano
  • smarano's Avatar
  • Offline
  • Junior Member
  • Posts: 34
  • Thank you received: 1
  • Karma: 1
Hi all
I want to share my solution for this error on PHP 5.2
We need to made some fix to JDom library (I think should be integrated in release files)


FILE "JDom/html/fly/file.php"
row 130:
$url = $helperClass::getIndexedFile($this->view, $this->dataKey, $cid, $options);
change to:
$url = call_user_func_array( array($helperClass,'getIndexedFile'), array( $this->view, $this->dataKey, $cid, $options));

row 138:
$url = $helperClass::getFile($path, $this->indirect, $options);
change to:
$url = call_user_func_array( array($helperClass,'getFile'), array( $path, $this->indirect, $options));

FILE "JDom/html/fly/file/image.php"
row 122:
if (!$infos = $helperClass::getImageInfos($path, $options))
change to:
if (!$infos = call_user_func_array( array($helperClass,'getImageInfos'), array($path, $options)))

Please validate and integrate to release version....

Bye
Stefano
Last Edit: 05 Dec 2013 09:11 by smarano. Reason: minor changes
The administrator has disabled public write access.
Time to create page: 0.058 seconds

Get Started