I tried to update the plugins from inside the admin area.
Here's what I did:
Went to Configure Plugins
Click here to install new sidebar plugins / Filters New
=> A list of installed plugins and available updates was shown
When I clicked the upgrade button the following error message was shown:
DEBUG: ERROR: XML tree did not contain requested plugin:
Array ( [0] => Array ( [tag] => packages [attributes] => [value] => [children] => Array ( ) ) )
2. Which mirrors are you using (check plugin config)
3. What filesize and date are your templates_c/package_*.xml files?
4. WHich plugin did you try to upgrade, does it happen for all of them?
5. Can you still install spartacus plugins from new?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
2. Which mirrors are you using (check plugin config)
I'm not sure if this is what you asked, Spartacus Plugin shows:
File/Mirror location (XML metadata)s9y.org
File/Mirror location (files) SourceForge.net
3. What filesize and date are your templates_c/package_*.xml files?
I find package_event, package_sidebar and package_template, but filezise is 0 for all.
4. WHich plugin did you try to upgrade, does it happen for all of them?
It happens for all of them.
5. Can you still install spartacus plugins from new?
Yes
Ralf Skirr wrote:2. Which mirrors are you using (check plugin config)
I'm not sure if this is what you asked, Spartacus Plugin shows:
File/Mirror location (XML metadata)s9y.org
File/Mirror location (files) SourceForge.net
Try switching to the netmirror.org mirrors. I believe they are the only ones that work all the time. The rest of them I've had issues with in the past.
Follow chickens advice, use netmirror. Delete your 0-byte XML files. Those need to have content!
5. Can you still install spartacus plugins from new?
Yes
This cannot be possible, I think you installed plugins you already have downloaded previously. With 0-byte XML files, there is NO chance that you'll be able to download files
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
now it worked, first it downloaded the correct files but did not update the plugins. At least the error messages were gone and the xml files were there with content.
Then I also disabled browser javascript, then it worked.
I'm also having problems installing plugins that I cannot seem to find anyone else having. With Spartacus installed, I am unable to install Event plugins. I first update my list which seems to work out okay (package_event_en.xml sits dumb and happy in templates_c with 644 permissions and user:group that the webserver runs as.
When I click "Click here to install a new event plugin", I get to a screen that looks remarkably similar to the update screen. And that's the end of the line for that. The really odd thing is that sidebar plugins seem to have no issue.
I'm using v1.2. Spartacus is configured to use Netmirror. package_event_en.xml's size is 241587 and package_side_en.xml's size is 98446 download just a few minutes ago.
Could it be that your PHP process is running out of memory? Parsing the XML file can consume a lot of memory, and if you've already got a few plugins installed, they use memory as well.
Check your PHP error logs for FATAL PHP Errors, this might be happening for you. Especially because sidebar plugins work (its packakge-XML file is muzch smaller).
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
I'll check that out. I hadn't thought of checking used memory. It does make sense, though.
---
Adding more available memory fixed it. For those that might have the same problem, I changed the memory_limit config from 8M to 128M in the php.ini file. (That might be high, but at least it works.)
For those that use php5 on MacOSX, I suggest checking /usr/local/php5/lib/php.ini and linking it to /etc/php.ini
---
And I'll add that the Spartacus plugin is great. Thank you (all involved) for your great work.
This error can happen if a plugin was not properly downloaded (check your plugins directory if the requested plugin was downloaded) or the inclusion of a file failed (permissions?)
The XML file has 241587 and 98452 in size. and I use netmirror.org as mirror locations.
I have also tried the trik with changed the PHP.ini file, but still the same
Any help ?
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/