Plugins & Themes Install Problem

Having trouble installing serendipity?
Post Reply
VyReN
Posts: 3
Joined: Mon Feb 23, 2004 2:35 am
Location: Wisconsin, USA
Contact:

Plugins & Themes Install Problem

Post by VyReN »

Greetings,

Just made the upgrade to 0.9 but I cannot install or upgrade any plugins and themes. I know why it is failing, but cannot seem to figure out WHY the paths are being sent incorrectly for the plugins and themes. Everything else is working wonderfully... To be exact here is one of several errors I get:
Fetched 9115 bytes from the URL above. Saving file as /home/vyrencom/public_html/blog//plugins/serendipity_plugin_wikipedia_finder/serendipity_plugin_wikipedia_finder.php...
Cannot write to file
For the life of me, I cannot figure out where the extra forward-slash is making it in the mix. Just for fun, here is the result when I attempt to download a new theme:
Fetched 27467 bytes from already existing file on your server. Saving file as /home/vyrencom/public_html/blog/templates_c/package_template.xml...


Cannot write to directory /home/vyrencom/public_html/blog//templates/. Please check the permissions.
Suggestions welcome -- this is not a fresh install and I cannot verify if this was occuring before the 0.8->0.9 upgrade. (I assume it wasn't)

Thanks!!

P.S. Before you ask, the path configurations are all correct...I think.

Full path: blabla.../blog/
Relative Path: /blog/
template Path: template/
Last edited by VyReN on Sat Oct 29, 2005 11:42 pm, edited 2 times in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Plugins & Themes Install Problem

Post by garvinhicking »

The error is quite simple: Serendipity cannot write to your templates/ and plugins/ directories. They need to be writable for the webserver user, i.e. 777.

The extra forward slash doesn't matter, it's just cosmetical :)

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/
wesley
Regular
Posts: 197
Joined: Sun Jul 10, 2005 11:15 am
Contact:

Re: Plugins & Themes Install Problem

Post by wesley »

garvinhicking wrote:The error is quite simple: Serendipity cannot write to your templates/ and plugins/ directories. They need to be writable for the webserver user, i.e. 777.
Ideally, one should do a chown to the directories so that the webserver
user is the owner, and have it 770 or similar. It doesn't seem to be a good
idea to have '7' to 'everyone else' from a security standpoint. ;)
garvinhicking wrote:The extra forward slash doesn't matter, it's just cosmetical :)
Perhaps it should be fixed anyway.
I make s9y plugins, too.
My s9y blog depends on them. :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Plugins & Themes Install Problem

Post by garvinhicking »

Hi Wesley!
Ideally, one should do a chown to the directories so that the webserver
user is the owner, and have it 770 or similar. It doesn't seem to be a good
idea to have '7' to 'everyone else' from a security standpoint. ;)
That's absolutely right. However it's harder to explain to people, whereas "777" seems to be understandable for everyone :-D
Perhaps it should be fixed anyway.
Patches are welcome :)

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