Click here to get twenty dollars off Webhosting at DreamHost
Powered by MaxBlogPress 

Max-Banner-Ads Plugin Problem Fixed



March 7th, 2011 01:01 am | by Ed |

After recently upgrading to WordPress 3.1 I found that trying to open the Max Banner Ads admin page resulted in this error message:

You do not have sufficient permissions to access this page.

My first reaction was "The HELL you say! It's my blog on my domain. You better effing believe I have sufficient permissions!"

In searching for a solution to this problem I saw several references to checking the wp_options table but no mention of exactly WHAT to look for.

Also, I remember having this problem a few years ago and at that time the answer turned out to be making a change to max-banner-ads.php. I wondered if it was possible that there is a similar edit needed to be compatible with WordPress 3.1 although I couldn't find any reference to this being the solution in this case. Besides which, I'm NOT a php programmer, I probably couldn't spot a problem there if it introduced itself.

After a LOT of trial and error I believe I've come up with a fix. At least so far it has worked on three blogs without a hitch.

Note: This works for me but I *cannot* guarantee anything, your mileage may vary, make backups first before you try this, if you break your blog trying this it's not my fault, etc, etc.

Here's the fix:

1, get the latest version (1.4) of Max Banner Ads
2. Deactivate the plugin on the blog in question
3. In your phpMyAdmin, open the blog's database and drop these tables from the database

wp_mban_banner
wp_mban_options
wp_mban_zone

4. ftp to your site, change to the wp-content/plugins directory and delete the existing max-banner-ads directory and it's contents.

5. upload version 1.4 of Max Banner Ads
6. re-activate the plugin

From there it *should* be working again.

The only downside is that all of your previous banner settings WILL be gone and you'll have to set them up all over again.

On the other hand, if it's working, who cares? Once you have your urls and images ready, setting up MBP is a breeze and shouldn't take more than an hour at the very outside.

Meanwhile, because I believe this problem was largely caused by incompatibilities that resulted from a WordPress "upgrade", the next time I apply such an upgrade I'm going to do it on a test blog first and make sure that all my plugins work before deploying it on my actual blogs!

Technorati Tags: upgrade, plugin error, admin, maxblogpress, banner ads, how to fix, error, rotator, wordpress, permissions, banner ad rotator, fix max banner, max banner ads, mpb admin, drop tables, max blog press, fix, banner plugin, fix mpb plugin, drop db tables, fix mpb, database, phpmyadmin, 3.1

Be Sociable, Share!
  • email
If you enjoyed this post, make sure you subscribe to my RSS feed!
Want to link to this post?
Just copy this code and paste it on your site where you want the link to appear:

No Comments

Sorry, the comment form is closed at this time.