1. Log into Joomla's Administrator Section.
2. Go to the Extension Manager.
3. Under "install" install "pkg_test_v1.zip" -> Success!
4. Now upgrade by installing "pkg_test_v101.zip" -> Warning Thrown.
Note: For sample Zip packages please see original bug report in the old bug tracker at: Bug Tracker {#34084}
When installing a package over the top of an existing package that has a new entry in it's manifest the following error is thrown:
"JInstaller: :Install: Cannot find XML setup file" by libraries/cms/installer.php line ~1912
From what I can see normally the installer looks to the "tmp" directory for the xml files.
However with an update containing new packages the installer actually looks in the install location (e.g. plugins/system/plg_name) which doesn't exist yet as it hasn't been installed.
This issue occurs on update rather than on fresh installation of the package extension.
Reasons/Scenarios why I believe this is required logic:
1. You release a new version of your extension which contains a new feature (in the form of a plugin for example). You would expect to be able to install this package over the top of the existing record without receiving warning messages.
2. You have a free extension(package) & a commercial extension. The commercial extension includes extra plugins, modules etc. Users who upgrade their extension by installing the "pro" version over the "free" version will experience this issue.
Please see attached example for how to recreate this scenario.
Thanks for your time.
This is a continuation from: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=34084
Title |
|
The packages seem to install properly, but there is a warning message being thrown.
I have managed to make the warning disappear, by setting in the plugins the current Joomla version. Instead of 3.2 to 3.3.
Does this help?
This comment was created with the J!Tracker Application at http://issues.joomla.org/.
Hi, thanks for your suggestion.
I updated the Joomla version throughout the packages but the problem seems to remain. Have I missed something?
P.S. We really need to allow uploading ZIP files like the old system :)
This comment was created with the J!Tracker Application at http://issues.joomla.org/.
Category | ⇒ | Updating |
I have tried two times the packages you provided and with the fixes explained I managed to get it to work.
At this point I'm not able to any issues with the installer so I will close this.
If you still think this is an error, please open another issue with clearer instructions or other 3rd party extension that has the same issue.
My advice is to use a clean Joomla installation and to use a debugger to look into the install process.
Thanks for understanding.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4148.
Set to "closed" on behalf of @vdespa by The JTracker Application at issues.joomla.org/joomla-cms/4148
Status | New | ⇒ | Closed - Unconfirmed Report |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-10-02 15:31:31 |
Labels |
Added:
?
|
See below screenshot of the two XML package manifests (encase the original zip files vanish):
This comment was created with the J!Tracker Application at http://issues.joomla.org/.