Page 1 of 1
Problem to update plugins
Posted: Thu Sep 27, 2007 1:49 pm
by Ralf Skirr
Hi,
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 ( ) ) )
Any idea how I can fix this?
Thanks,
Ralf
Re: Problem to update plugins
Posted: Thu Sep 27, 2007 1:56 pm
by garvinhicking
Hi!
1. Which serendipity version are you using?
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
thanks :-)
Posted: Fri Sep 28, 2007 12:25 am
by Ralf Skirr
Hi Garvin,
thanks for looking into it.
Here are the answers:
1. Which serendipity version are you using?
v 1.1
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
Regards,
Ralf
Re: thanks :-)
Posted: Fri Sep 28, 2007 12:42 am
by chickens
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.
Re: thanks :-)
Posted: Fri Sep 28, 2007 9:53 am
by garvinhicking
Hi!
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
I'll make the changes
Posted: Fri Sep 28, 2007 12:57 pm
by Ralf Skirr
Thanks for the advice,
I'll try netmirror and report back.
Ralf
It worked
Posted: Fri Sep 28, 2007 1:12 pm
by Ralf Skirr
Hi,
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.
Thanks guys!
Ralf
Posted: Fri Sep 28, 2007 10:32 pm
by jait
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.
Any help is most welcome.
Posted: Sat Sep 29, 2007 12:56 pm
by garvinhicking
Hi!
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
Posted: Sat Sep 29, 2007 3:31 pm
by jait
Thanks, Garvin.
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.
jait
Problems with spartacus
Posted: Sat Sep 29, 2007 11:57 pm
by clio75
Hello I get this screen when I try to install a pluggin:
Feil: serendipity_event_advtypes:2ce677b530fb77c38e6f30b50ed2995c (serendipity_event_advtypes:2ce677b530fb77c38e6f30b50ed2995c)
DEBUG: Plugin serendipity_event_advtypes:2ce677b530fb77c38e6f30b50ed2995c not an object: .
Input: Array ( [adminModule] => plugins [pluginPath] => online_repository [install_plugin] => serendipity_event_advtypes [spartacus_fetch] => [action] => [adminAction] => ) .
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 ?
Br
clio
Re: Problems with spartacus
Posted: Sun Sep 30, 2007 1:32 pm
by garvinhicking
Hi clio!
Your "plugins" directory is writable (777)?
Regards,
Garvin