Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Fatal error!
when i press on any of the discussios, the following message appears!
Fatal error: Class 'Module' not found in /customers/strukts.com/strukts.com/httpd.www/plugins/GoogleAdSenseSidePanel/class.adsensesidepanelmodule.php on line 6
Could anyone help on this please?
Fatal error: Class 'Module' not found in /customers/strukts.com/strukts.com/httpd.www/plugins/GoogleAdSenseSidePanel/class.adsensesidepanelmodule.php on line 6
Could anyone help on this please?
0
Comments
"Piwik aims to be an open source alternative to Google Analytics."
Open /themes/YOURTHEME/views/default.master.tpl
Add {literal} just before end of /body and then paste your piwik code
then add {/literal}
1. Open up the GoogleAdSenseAfterDiscussion folder on your computer
2. Open the file class.adsenseafterdiscussionmodule.php
3. look for the line that reads:
class AdSenseAfterDiscussionModule extends Module
4. Change it to this and upload:
class AdSenseAfterDiscussionModule extends Gdn_Module
5. Make $$
Works perfect for me
SOLUTIONS: Change line 6 to say "extends Gdn_Module" where it previously said "extends Module"
I done this stopped the error on line 5, but ad's still don't show. here's my whats wrong????
<?php if (!defined('APPLICATION')) exit();
/**
* Renders Google AdSense code after the entire discussion on the discussion page in Vanilla.
*/
class AdSenseAfterDiscussionModule extends Gdn_Module
{
// Replace this values which your own AdSense unit code parameters
protected $_google_ad_client = 'pub-9980064291871969';
protected $_google_ad_slot = '0390810185';
protected $_google_ad_width = 728;
protected $_google_ad_height = 90;