Spartcus problems

Creating and modifying plugins.
Post Reply
Frandy

Spartcus problems

Post by Frandy »

Hi,

i got problems with spartcus, first with my isp (security restrictions) and secondly see here after :
Essaie d'accéder à l'adresse package_event_fr.xml...
'trying to connect to package_event_fr.xml...'


Warning: ini_set() est inactive pour des raisons de sécurité. in /blog/bundled-libs/HTTP/Request.php on line 719

'is inactive for security reasons'

Warning: ini_set() est inactive pour des raisons de sécurité. in
/blog/bundled-libs/HTTP/Request.php on line 721

Fetched 97711 bytes from the URL above. Saving file as //blog/templates_c/package_event_fr.xml...
Data successfully fetched.


DEBUG: Tree not an array, but: Array ( [0] => Array ( [tag] => packages [attributes] => [value] => [children] => ) ) . Please report this bug. This might be an error with the downloaded XML file. You can try to go to the plugin configuration of the Spartacus Plugin and simply click on 'Save' - this will purge all cached XML files and try to download it again.

Warning: Invalid argument supplied for foreach() in /blog/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 421
Could you help me with these errors ? (my ips will not active ini_set())

thanks a lot
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Spartcus problems

Post by garvinhicking »

Can you check if the file templates_c/package_event_fr.xml exists? If yes, please view it with your browser and see if you get any "invalid XML" errors?

Usually the only reason you get this bug is because the XML data is garbaged or invalid...

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/
Frandy

Post by Frandy »

Hi Garvin,

Yes, you are right, file is invalid.
how to get a valid one ?

regards

Frandy
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Can you try to download the XML file form http://www.netmirror.org/serendipity/ ? If that one breaks as well, can you tell me what the exact XML error is?

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/
Frandy

Post by Frandy »

Garvin, both files package_sidebar_fr.xml and package_event_fr.xml form http://www.netmirror.org/serendipity/ works fine now. i download and installed using ftp client.
i notice new files lenght (both) is 2 bytes less than before.
i can install plugins without errors except ISP security restrictions on ini_set(), but seems to work.

just a question: how can i see when a new version of an already installed plugin is available ?

regards

Frandy
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz »

Frandy wrote: just a question: how can i see when a new version of an already installed plugin is available ?
If you use Spartacus and go to the add plugin menu (where you select the plugins you want to install) those plugins that have a never version will be shown in another color (the icons).
Frandy

Post by Frandy »

Col. Kurtz wrote:
Frandy wrote: just a question: how can i see when a new version of an already installed plugin is available ?
If you use Spartacus and go to the add plugin menu (where you select the plugins you want to install) those plugins that have a never version will be shown in another color (the icons).
Thanks
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Okay, I guess then the XML file was just wrong, because the mirroring of those XML files failed during the weekend...if that happens again, please notify me - you might also have server download issues if the files differ from the original location.

You can see new versions of a plugin if you want to install a new plugin - updated plugins are marked with a red "download" icon!

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/
Frandy

Post by Frandy »

garvinhicking wrote:Hi!

Okay, I guess then the XML file was just wrong, because the mirroring of those XML files failed during the weekend...if that happens again, please notify me - you might also have server download issues if the files differ from the original location.

You can see new versions of a plugin if you want to install a new plugin - updated plugins are marked with a red "download" icon!

Regards,
Garvin
Thanks a lot Garvin
Guest

Post by Guest »

garvinhicking wrote:Hi!

Okay, I guess then the XML file was just wrong, because the mirroring of those XML files failed during the weekend...if that happens again, please notify me - you might also have server download issues if the files differ from the original location.

You can see new versions of a plugin if you want to install a new plugin - updated plugins are marked with a red "download" icon!

Regards,
Garvin

Hi Garvin,

I tried to test spartacus this morning and i saw files have been released during night.
When i try tu update plugins with spartacus i get same errors than before.

Code: Select all

Essaie d'accéder à l'adresse package_event_fr.xml...

Warning: ini_set() est inactive pour des raisons de sécurité.
in /blog/bundled-libs/HTTP/Request.php on line 719

Warning: ini_set() est inactive pour des raisons de sécurité. 
in /blog/bundled-libs/HTTP/Request.php on line 721
Fetched 97982 bytes from the URL above. Saving file as //blog/templates_c/package_event_fr.xml...
Data successfully fetched.


DEBUG: Tree not an array, but: Array ( [0] => Array ( [tag] => packages [attributes] => [value] => [children] => ) ) . Please report this bug. This might be an error with the downloaded XML file. You can try to go to the plugin configuration of the Spartacus Plugin and simply click on 'Save' - this will purge all cached XML files and try to download it again.

Warning: Invalid argument supplied for foreach() in /blog/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 421

i try to download files form http://www.netmirror.org/serendipity/ and install them with ftp client. package_event_fr.xlm had a corrupted size. (2 bytes more, 97984 instead of 97982). ftp client recovered this file.

works better !

it may be a spartacus download error.


regards,

Frandy
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Can you tell which 2 bytes are changed exactly? Spartacus utilizes socket connections on your host, and if a file is garbaged that may be because of your server; maybe those security issues of your server mess with the 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/
Post Reply