Error installing plugins with shared s9y install

Creating and modifying plugins.
Post Reply
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

Error installing plugins with shared s9y install

Post by gwilsonmail »

/s9y if a shared s9y install
/wifi is one of many blogs sharing the codebase at /s9y

I went to install the tagged entries plugin - which i don't think i ever installed previously. Spartacus thought otherwise and threw the following error -

Code: Select all

Trying to open URL package_sidebar.xml...
Fetched 34062 bytes from already existing file on your server. Saving file as templates_c/package_sidebar.xml...

Cannot write to directory /home/httpd/vhosts/gizmocha.com/httpdocs/wifi//plugins/. Please check the permissions.
Error: serendipity_plugin_freetag:6856898f17519e75d91875dca03eb16d (serendipity_plugin_freetag)

Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/gizmocha.com/httpdocs/s9y/include/admin/plugins.inc.php on line 664
Further the plugin was partially installed and appears in the list of sidebar plugins, but bearing the name of the last correctly installed plugin - Remote RSS/OPML ... The regular text under the plugin header reads "Error!"

If I delete the plugin and attempt to install again the same happens.

Note that the error message above shows that there is an attempt to install the plugin in the plugin directory of /wifi and not /spy. /wifi has no plugin directory.
gw
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Error installing plugins with shared s9y install

Post by garvinhicking »

Make the /wifi/plugins directory writable, the error message tells you that spartacus cannot write to the directory. chmod(777) will do. :)

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/
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

Post by gwilsonmail »

adding /wifi/plugins and chmod 777 fixed the problem.

There is no mention of this on the shared installation page - http://www.s9y.org/41.html

What would happen if /plugins/ were linked? Could all the plugins exist in one place?

thanks again for the help.
gw
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

The shared installation feature is not targeted at providing users the Spartacus plugin, so that's the reason it's now mentioned.

The idea of shared install is that no user-related own plugins are installed, and all are put into the central place.

If you link that, every user that downloads a plugin would make it available to anyone else using the shared install, yes.

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