Error Message after Installation

If you are having problems with my MediaWiki Extensions, post here.
Post Reply
User avatar
palmpedia
Rank 0
Rank 0
Posts: 2
Joined: February 3rd, 2009, 5:40 pm

Error Message after Installation

Post by palmpedia »

Hi,

Thanks for your extension. It works great, but is throwing the following error - looks like the same error reported in a previous thread. Using MW Ver. 1.10

I am listing a content ad with <google>CH02</google> and search bar with <google></google>

"Notice: Undefined variable: output in /var/www/vhosts/palmpedia.net/httpdocs/wiki/extensions/GoogleAdSense/GoogleAdSense.php on line 67"

Line 67: $output .= '<style type="text/css">';

Any suggestions???
User avatar
palmpedia
Rank 0
Rank 0
Posts: 2
Joined: February 3rd, 2009, 5:40 pm

Re: Error Message after Installation

Post by palmpedia »

My son suggested the following, and it seems to work.

Remove the "." before the "=" in line 67

I still need to try it on a few other browsers to be sure.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Error Message after Installation

Post by Paul »

That change is fine, same as with a dot, unless the PHP language changed in new version... but I will update this extension as well according feedback from other users...
Post Reply