- Posts: 12
joomdle-joomla-package.zip dies on getting JXMLElement ...
- Kenneth Boyd
- Topic Author
- Offline
- New Member
-
Less
More
14 years 8 months ago #1
by Kenneth Boyd
joomdle-joomla-package.zip dies on getting JXMLElement ... was created 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.
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
-
Less
More
- Posts: 12
14 years 8 months ago #2
by Kenneth Boyd
Replied by Kenneth Boyd on topic Re: joomdle-joomla-package.zip dies on getting JXMLElement ...
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.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
14 years 8 months ago #3
by Antonio Durán
Replied by Antonio Durán on topic Re: joomdle-joomla-package.zip dies on getting JXMLElement ...
Maybe you are installing Joomdle for Joomla 1.5 in Joomla 1.6?
You need to use the J1.6 compatible package.
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
-
Less
More
- Posts: 12
14 years 8 months ago #4
by Kenneth Boyd
Replied by Kenneth Boyd on topic Re: joomdle-joomla-package.zip dies on getting JXMLElement ...
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?
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
-
Less
More
- Posts: 12
14 years 8 months ago #5
by Kenneth Boyd
Replied by Kenneth Boyd on topic Re: joomdle-joomla-package.zip dies on getting JXMLElement ...
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.
- Chris
-
- Offline
- Moderator
-
14 years 8 months ago #6
by Chris
Replied by Chris on topic Re: joomdle-joomla-package.zip dies on getting JXMLElement ...
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
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
Thanks again
Please Log in or Create an account to join the conversation.