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

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started