smarty error with Adsense entry block

Creating and modifying plugins.
Post Reply
ed587
Regular
Posts: 75
Joined: Thu Feb 12, 2009 3:26 pm

smarty error with Adsense entry block

Post by ed587 »

I had Google Adsense working yesterday for awhile on my site at http://www.neterm.net but now after unintalling and reinstalling the serendipity_event_includeentry I get this error in place of where the Adsense ads should be between entries:
Warning: Smarty error: unable to read resource: "file:/home/u6/kingfish/html/serendipity/templates/bulletproof/" in /home/u6/kingfish/html/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1092

the php around line 1092 is:

/**
* trigger Smarty error
*
* @param string $error_msg
* @param integer $error_type
*/
function trigger_error($error_msg, $error_type = E_USER_WARNING)
{
trigger_error("Smarty error: $error_msg", $error_type);
}

I have no clue as to what might be wrong. Need a clue!


~Ed587
The best,

~Ed
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: smarty error with Adsense entry block

Post by garvinhicking »

Hi!

How exactly did you embed the google adsense code? Which other event plugins are you using? If you're using the caching plugins, you might need to purge the cache.

The error is a generic one, the underlying problem would be that somewhere within your code you might be calling smarty or other special functions that reference things that are no longer available.

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