joomdle-joomla-package.zip dies on getting JXMLElement ...

  • Kenneth Boyd
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 8 months ago #1 by Kenneth Boyd
... rather than JSimpleXMLElement in $this->manifest (line 60 of install.php).

Error message is:
Fatal error: Call to undefined method JXMLElement::getElementByPath() in /home/kboyd/www/joomla2/administrator/components/com_joomdle/install/install.php on line 60

I've verified this with stock installs of both Joomla 1.7 (the target to install) and Joomla 1.6.5, the latter which I expect to be officially supported.

The time cost to reimplement JSimpleXMLElement::getElementByPath against the PHP class SimpleXMLElement (which JXMLElement extends), is excessive for the schedule I've given, but doesn't automatically break it. I'm wondering if there's a simple modification to the Joomla configuration, or to install.php and uninstall.php, that would get joomdle-joomla-package.zip in.

For reference: the Moodle 2.1.1 install steps went flawlessly. This official step (use package to install into Joomla) is what broke.

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

  • Kenneth Boyd
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 8 months ago #2 by Kenneth Boyd
The server having problems is running Debian Linux, version "squeeze", with that distribution's PHP 5.3.3 .

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

More
14 years 8 months ago #3 by Antonio Durán
Maybe you are installing Joomdle for Joomla 1.5 in Joomla 1.6?
You need to use the J1.6 compatible package.

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

  • Kenneth Boyd
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 8 months ago #4 by Kenneth Boyd
Yes, that's what I started suspecting after adjusting the install/uninstall.php to get past the first stage. That's what I get for following the official website instructions blindly, right down to the ZIP package filename.

I assume that being alpha7 isn't a problem, with a date only two days earlier than the main package?

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

  • Kenneth Boyd
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 8 months ago #5 by Kenneth Boyd
Yes, alpha 7 for Joomdle 0.6 doesn't seem very alpha. I'll schedule reviewing how to adjust the documentation to readably head off this mistake. (I'd expect any changes to need reviewing before commit by a senior editor.)

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

More
14 years 8 months ago #6 by Chris
Thanks.

You can post any changes in here and will certainly update. To be honest, I cannot even remember what security settings we have on the wiki :) If you can update there that is fine, however, as above you can put here and we can easily copy them up.

Thanks again

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