Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

  1.  

    Plugin conflicts with the Inspector Wordpress plugin (which we use on our site for security) - it gives this error after activating (on the live site, but not the admin)

    Fatal error: Cannot redeclare geoip_load_shared_mem() (previously declared in /path/to/site/wp-content/plugins/inspector-wordpress/geoip.inc:206) in /path/to/site/wp-content/plugins/oiopub-direct/modules/geolocation/geo/geoip.php on line 238

    • CommentAuthorSimon
    • CommentTimeJun 25th 2008 edited
     
    Project Admin

    Thanks for letting me know. If you navigate to the oiopub-direct/modules/geolocation/oiopu-load.php file and open it, then making the following change:

    FIND

    include_once($dir . '/geo/geoip.php');

    REPLACE WITH

    if(!function_exists('geoip_open')) {
    include_once($dir . '/geo/geoip.php');
    }

    Let me know if that stops the error from displaying.

    PS. alternatively, you can just re-download the geolocation module if you'd prefer

  2.  

    Worked perfect - thanks!

  3.  

    Hold that, under Settings ยป Banners, I'm now getting that error when I change any settings and save, at the very bottom below all the settings.

    • CommentAuthorSimon
    • CommentTimeJun 25th 2008
     
    Project Admin

    Same fix made to the files admin/inline.php and inline/banners.php

    That should be everywhere the geo class is loaded.