Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • smarano
  • smarano's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 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

Please Log in or Create an account to join the conversation.

Last edit: by smarano. Reason: minor changes
  • Page:
  • 1
Time to create page: 0.098 seconds

Les générateurs de code je les connais presque tous pour les avoir essorés en long en large et en travers ... mais celui ci c'est vraiment un outil formidable de simplicité et d'efficacité !
Marc. (liubov - Forum)

Get Started