AdRotate 3.8.1 – Fixes!

After a few hours of frantic code staring, pizza and way too much cola. Behold!

I have worked through all of your emails, comments and forum posts. I think I squashed all reported issues. Which came down to a version increment mismatch for most issues.

Changelog:

  • [fix] Unserialized warning on some dashboards
  • [fix] Empty Objects for disabled adverts
  • [fix] Empty Objects for the AdRotate info dashboard
  • [fix] Block sizes incorrectly calculated
  • [fix] Ads showing up as expired while they’re not
  • [fix] Too much ads per block
  • [fix] Disappeared ads

Turns out, despite endless testing, that it was not enough. The version increment on the database which I believed was version 20 and onwards turned out wrong.

- A lot of users somehow had AdRotate database version 22 (how?) Thus a few upgrades for the database were not ran. I have moved these changes to version 26 which will correct the missing pieces.

- Blocks had a tiny overhaul to now properly count the amount of adverts.

- Some random typos corrected which fixes; Errors about unserialized data, restores click tracking, makes disabled adverts show up properly.

Typos? Yea… I know *slaps self* :(.

Important note for users of the free version of AdRotate:

If your ads have many schedules. Those adverts may show up as expired. This is because the free version does not take schedules in account. So if there are schedules starting at a later date. In AdRotate Pro and previous versions the advert was “healthy” and would just function. With AdRotate not looking at that and not having a schedule for right now the ad will show up as expired.

The best remedy, and to maintain the schedules, is to upgrade to AdRotate Pro. If you do not want that you have to edit and save each advert. This will remove the unused schedules.

Download:

AdRotate Pro users can download version 3.8.1 from their account.

Free users can download AdRotate here.

Tags: , ,

6 Responses to “AdRotate 3.8.1 – Fixes!”

  1. apps@mmn.ro January 17, 2013 at 11:49 pm #

    Thanks you for the quick update.

    The Ads are back (Pro), but the unserialize errors are still on:
    - Warning: unserialize() expects parameter 1 to be string, array given in /public_html/wp-content/plugins/adrotate-pro/adrotate-output.php on line 742
    Just in General Info:
    - Warning: unserialize() expects parameter 1 to be string, array given in /public_html/wp-content/plugins/adrotate-pro/dashboard/adrotate-info.php on line 101

    Can something be modified in the db to get rid of them? Thanks.

    • Arnan de Gans January 18, 2013 at 1:07 am #

      Hmm odd, maybe you downloaded too soon ;)
      I’ve checked all downloads and the error is not present for me.

  2. hominid January 18, 2013 at 8:49 pm #

    Just updated the free plugin and not only have I seen the same error as the user above, but all of my ads now show “configuration errors”, but none have errors. They are the same settings as they were prior to the update. The funny thing is the ads show correctly on all pages except the homepage… Looks like a bug.

  3. hominid January 18, 2013 at 8:53 pm #

    Actually let me revise what I previously stated… the ads are not showing correctly on homepage or category pages, and only on various post pages. On category pages, I’m seeing:
    WordPress database error: [Table 'xxxxxx_wrdp3.wp_adrotate_stats' doesn't exist]
    SELECT SUM(`clicks`) as `clicks`, SUM(`impressions`) as `impressions` FROM `wp_adrotate_stats` WHERE `ad` = 9 AND `thetime` >= 1292630400 AND `thetime` <= 1387238400;

    On the homepage, there are no errors, they just aren't showing up at all.

    • Arnan de Gans January 18, 2013 at 9:23 pm #

      Check if you have a wp_adrotate_stats_tracker table. If you do, rename it to wp_adrotate_stats.

Trackbacks/Pingbacks

  1. Nothing to see here - The Hype Weekly - January 18, 2013

    [...] ad manager threw a huge party this afternoon. Was I the only one who went? This is what the site looks [...]