Hi garvin,
am running s9y on 1.1-beta5 und PHP 5.2.0-0.dotdeb.1 at http://www.modlog.de.
If you klick the links for the pdf-plugin you'll get
Fatal error: Call to a member function assign() on a non-object in /var/www/plugins/serendipity_event_microformats/serendipity_event_microformats.php on line 183
have I missed to read some installation docs or is this a problem with the mentioned version?
Additional question: What's the relation between the two plugins microformat and pdf?
regards
Michael
pdf plugin throwing php errs on 1.1-beta5 und PHP 5.2.0-0.do
I haven't heard of this problem with any other installations, so it's probably not restricted to this version. It might have something to do with the new 5.2.0 release of PHP, though.
PDF and microformats aren't directly related, but they're probably listening to the same callbacks. In this case (just looked at the code), the microformat plugin is listening to 'entry_display', and trying to do some Smarty stuff. But apparently Smarty hasn't been initialized yet.
I'll bet the PDF plugin isn't using Smarty. The microformat plugin should probably check is_object($serendipity['smarty']) before it tries to use it, and just return if it isn't.
Unfortunately, I'm unable to contact my development computer right now, and my short breather from being swamped is about to end. I'll do it if I get the time, but someone else really needs to take care of this.
In the meantime, you can either put up with it (sorry), disable the microformat plugin, disable the pdf plugin, or add this code to serendipity_event_microformats.php just before line 183:
PDF and microformats aren't directly related, but they're probably listening to the same callbacks. In this case (just looked at the code), the microformat plugin is listening to 'entry_display', and trying to do some Smarty stuff. But apparently Smarty hasn't been initialized yet.
I'll bet the PDF plugin isn't using Smarty. The microformat plugin should probably check is_object($serendipity['smarty']) before it tries to use it, and just return if it isn't.
Unfortunately, I'm unable to contact my development computer right now, and my short breather from being swamped is about to end. I'll do it if I get the time, but someone else really needs to take care of this.
In the meantime, you can either put up with it (sorry), disable the microformat plugin, disable the pdf plugin, or add this code to serendipity_event_microformats.php just before line 183:
Code: Select all
if (not is_object($serendipity['smarty'])) return true;
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Just committed a fix for that to CVS!
Regards,
Garvin
Just committed a fix for that to CVS!
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/
# 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/
Hi Garvin and others,
just installed the fix to http://www.modlog.de an this fixes the error in a way.
Though I myself should have some looks on the stylesheet used by the pdf-export because of the pages running wider than my screen - and probably ask a (probably even stupid) question about special characters that apear as e.g. in the pdf-Export which make it not to well readable and not to prity looking 
regards
Michael
just installed the fix to http://www.modlog.de an this fixes the error in a way.
Though I myself should have some looks on the stylesheet used by the pdf-export because of the pages running wider than my screen - and probably ask a (probably even stupid) question about special characters that apear as e.g.
Code: Select all
& # 8 2 2 0 ; P I S A & # 8 2 2 1regards
Michael