Problem to update plugins

Creating and modifying plugins.
Post Reply
Ralf Skirr
Regular
Posts: 30
Joined: Fri Jan 26, 2007 4:42 pm

Problem to update plugins

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problem to update plugins

Post 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
# 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/
Ralf Skirr
Regular
Posts: 30
Joined: Fri Jan 26, 2007 4:42 pm

thanks :-)

Post 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
chickens
Regular
Posts: 192
Joined: Wed Dec 06, 2006 12:15 am
Location: Vegas
Contact:

Re: thanks :-)

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: thanks :-)

Post 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
# 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/
Ralf Skirr
Regular
Posts: 30
Joined: Fri Jan 26, 2007 4:42 pm

I'll make the changes

Post by Ralf Skirr »

Thanks for the advice,

I'll try netmirror and report back. :D

Ralf
Ralf Skirr
Regular
Posts: 30
Joined: Fri Jan 26, 2007 4:42 pm

It worked

Post 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
jait
Regular
Posts: 5
Joined: Tue Sep 25, 2007 10:18 pm
Location: Chicago
Contact:

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
jait
Regular
Posts: 5
Joined: Tue Sep 25, 2007 10:18 pm
Location: Chicago
Contact:

Post 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
clio75
Posts: 1
Joined: Sat Sep 29, 2007 11:49 pm

Problems with spartacus

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problems with spartacus

Post by garvinhicking »

Hi clio!

Your "plugins" directory is writable (777)?

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/
Post Reply