Page 1 of 2
Problems with event plugin
Posted: Sun Nov 30, 2008 11:40 pm
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

Re: Problems with event plugin
Posted: Mon Dec 01, 2008 10:12 am
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
Posted: Mon Dec 01, 2008 10:49 am
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
Posted: Mon Dec 01, 2008 1:07 pm
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
Posted: Mon Dec 01, 2008 10:54 pm
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
Posted: Tue Dec 02, 2008 8:08 am
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
Posted: Tue Dec 02, 2008 9:05 am
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
Posted: Tue Dec 02, 2008 9:15 am
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
Posted: Tue Dec 02, 2008 9:32 am
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
Posted: Tue Dec 02, 2008 10:00 am
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
Posted: Tue Dec 02, 2008 12:35 pm
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

Posted: Tue Dec 02, 2008 1:10 pm
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
Posted: Tue Dec 02, 2008 11:53 pm
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
Posted: Wed Dec 03, 2008 1:26 pm
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
Posted: Wed Dec 03, 2008 1:35 pm
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 !!