Problems with event plugin

Creating and modifying plugins.
pcp20us
Regular
Posts: 23
Joined: Sun Nov 30, 2008 11:32 pm

Problems with event plugin

Post by pcp20us »

Hi I have installed spartacus.

I can download sidebar and event plugins.

I can install sidebar plugins.

When i install event plugins i get this error message.

Trying to open URL package_event_en.xml...
Fetched 277697 bytes from already existing file on your server. Saving file as /home/blog_pedro/serendipity/templates_c/package_event_en.xml...


If i open the package_event_en.xml file i get this error

XML Parsing Error: prefix not bound to a namespace
Location: http://netmirror.org/mirror/serendipity ... ent_en.xml
Line Number 14, Column 3: <requirements:s9yVersion>0.7</requirements:s9yVersion>


I have sdy version 1.2 on exetel server.
I have tried the other settingin the spacacus pluing to use source forge but get same problem.

Any ideas.

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

Re: Problems with event plugin

Post by garvinhicking »

Hi!

Why would you want to open that XML file manually?

Spartacus only needs those files. Once they are on the server, spartacus shows you all plugins you can install based on that XML file.

Click on the link "Click here to install even/sidebar" plugins and you should see them all.

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/
pcp20us
Regular
Posts: 23
Joined: Sun Nov 30, 2008 11:32 pm

Post by pcp20us »

it installs the list off evett plugins, that works, when i go to install a plugin i get these error message. So i was clicking to see where it was taking me. As it was coming up with an error



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

Post by garvinhicking »

Hi!

Which error message? The message "XML Parsing Error..." only happens when you click the link in your browser, you are not required to do that at all. It is just for your information if you want to see how the XML looks like.

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/
pcp20us
Regular
Posts: 23
Joined: Sun Nov 30, 2008 11:32 pm

Post by pcp20us »

Yes I understand that,
The message i get is the one in my oringal post

This is what i see when i click on any event plugin to install it

Trying to open URL package_event_en.xml...
Fetched 277697 bytes from already existing file on your server. Saving file as /home/blog_pedro/serendipity/templates_c/package_event_en.xml...

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

Post by garvinhicking »

Hi!

And then you get no more output?

This can mean a fatal PHP error happens, doy ouhave access to the error logs? Most often this happens when you already have many plugins installed and your RAM limit is exceeded.

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/
pcp20us
Regular
Posts: 23
Joined: Sun Nov 30, 2008 11:32 pm

Post by pcp20us »

Hi

I had a look at my cpanel error log file, nothing in there i could see.

How can i check and or increase why ram usage. I am on a shared hosting plan.

I have checked php.ini files before but if you could point me in the right dirrection to check it.

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

Post by garvinhicking »

Hi!

The memory_limit can be changed through the php.ini option "memory_limit", it depends on the host if they offer you a way through cpanel or so to raise it. Sometimes you can also raise it through a .htaccess command like:

"php_value memory_limit 32MB"

The ErrorLog of PHP is different from the Apache errorlog; the php.ini command "error_log" tells PHP where to store that.

HHT,
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/
pcp20us
Regular
Posts: 23
Joined: Sun Nov 30, 2008 11:32 pm

Post by pcp20us »

Its my ISP so i do not have access to any files, no ftp or cpanel. So with my understanding i cannot even create a htaccess file ??

Unless you can tell me a way.

I ve only ever had sites where i have a cpanel, i have ask my isp regarding this

Re the ram issue. I can install sibebar plugins no problem so this says to me that it aint a memory issue?

Cheers

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

Post by garvinhicking »

Hi!

Sidebar plugins are only loaded for the output on the frontend, they do not take up as much RAM as your event plugins. How many event plugins do you have installed?

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/
pcp20us
Regular
Posts: 23
Joined: Sun Nov 30, 2008 11:32 pm

Post by pcp20us »

Hi Gavin

I have 10 event plugins, i have removed some so down to 5 event plugins.
I installed an event plugin and get this message.

This seemed to of fixed the problem after a fre tries.

So are these plugins loaded each time you access your blog, thus they are loaded into ram on the server. Is my think correct.

I thought it would be load the actual plugins into my plugins or whatever folder ?

Getting somewhere

Thanks

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

Post by garvinhicking »

Hi!
So are these plugins loaded each time you access your blog, thus they are loaded into ram on the server. Is my think correct.
Yes, exactly. Plugins (the PHP files themselves) need to be included by PHP, and this loads them into the RAM.

Spartacus itself requires about 6MB to parse the XML data, so once your RAM is full with plugins, spartacus cannot parse the XML for you to load the plugin files. So even if your blog runs with 10 pluigns, the RAM is to little for spartaucs to operate.

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/
pcp20us
Regular
Posts: 23
Joined: Sun Nov 30, 2008 11:32 pm

Post by pcp20us »

Well thats pretty useless i recon !!

So i need to increase my mem in .htaccess, have posted on my isp forum but jno responspe yet.

any idea on howto increase ram with ftp or cpanel or is the isp to lock down??

Thanks for your help

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

Post by garvinhicking »

Hi!

As I mentioned, you can try to use your .htaccess.

About cpanel, I don't know - I do not use that.

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/
pcp20us
Regular
Posts: 23
Joined: Sun Nov 30, 2008 11:32 pm

Post by pcp20us »

Hi

How do i upload a.htaccess file if i cannot ftp in do i do it thrtough a ssh or something. I need to find out if we have access !!
Post Reply