Page 1 of 1

Plugins & Themes Install Problem

Posted: Sat Oct 29, 2005 11:16 pm
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/

Re: Plugins & Themes Install Problem

Posted: Sun Oct 30, 2005 1:41 pm
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

Re: Plugins & Themes Install Problem

Posted: Mon Oct 31, 2005 12:28 am
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.

Re: Plugins & Themes Install Problem

Posted: Mon Oct 31, 2005 1:01 pm
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