Printer Friendly install error

Creating and modifying plugins.
Post Reply
ned
Regular
Posts: 50
Joined: Fri May 07, 2004 4:11 pm

Printer Friendly install error

Post by ned »

When trying to install the printer friendly plugin I get the following errors (permission to dir chmod to 777)

Code: Select all

Can't write to file /home/jeffblog/jeffblogworthy.com//plugins/serendipity_event_layout_quotemarkup/serendipity_event_layout_printerfriendly.php.Trying to open URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional......
Can't write to file /home/jeffblog/jeffblogworthy.com//plugins/serendipity_event_layout_quotemarkup/serendipity_event_layout_quotemarkup.php.Error: serendipity_event_layout_printerfriendly:33699134ddc15fe4a306b09e37632f29 (serendipity_event_layout_printerfriendly)

Fatal error: Call to a member function on a non-object in /home/.banshee/jeffblog/jeffblogworthy.com/include/admin/plugins.inc.php on line 642
reion
Regular
Posts: 34
Joined: Mon Feb 28, 2005 10:51 am
Location: Linz
Contact:

Post by reion »

it's always good to post the version you are using ;) ...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Ned, the error you're getting comes from Spartacus. You need to have your plugins-directory writable by the Webserver so that spartacus can work.

It's still much work in progress and expermental. :-)

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/
Tys
Regular
Posts: 36
Joined: Thu Feb 24, 2005 5:18 am

Post by Tys »

Maybe add a friendly error explaining the problem and how to fix it? Checking if the plugin directory is not writeable by the webserver should be fairly simple.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Spartacus is a work-in-progress, so yes - we will definitely add something like this.

However currently we have no place where a plugin could report this easily, so we cannot add a message in there instantly - we first need to create a room for this message.

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/
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

I'm using 8.2 and having the same problem as the first poster, and my plug-ins directory is set to 777. For good measure, I also set plugins.inc.php to 777, and double-checked that there were no blank lines at the bottom of it. Any suggestions?
Trying to open URL http://cvs.sourceforge.net/viewcvs.py/* ... additional......
Can't write to file /home/wwwtheh/public_html//plugins/serendipity_event_layout_quotemarkup/serendipity_event_layout_printerfriendly.php.Trying to open URL http://cvs.sourceforge.net/viewcvs.py/* ... additional......
Can't write to file /home/wwwtheh/public_html//plugins/serendipity_event_layout_quotemarkup/serendipity_event_layout_quotemarkup.php.Error: serendipity_event_layout_printerfriendly:c02c6f3f68562dd5d4d092f696615137 (serendipity_event_layout_printerfriendly)

Fatal error: Call to a member function on a non-object in /home/wwwtheh/public_html/include/admin/plugins.inc.php on line 665
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

There's a bug in properly handling plugins which contain more than one event plugin. The printerfriendly/quotemarkup plugins is an example of this - only 1 or 2 other plugins use the same method.

It needs fixing. :)

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