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

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started