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.087 seconds

Amazing Tool !
And only tool I know that allows complete Scaffolding in terms of component creation. It really saves loads of time (actually much more than that). Simple architecture enables quick and painless changes at any time. Code is clean and consintent. It's just... what's the word... neat! :) Great work! You should definetely try this one!

pi_wo (JED)
         

Get Started