Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

    • CommentAuthorArfan
    • CommentTimeNov 16th 2008
     

    i got the same problem as mentioned below; I have tried replacing

    'include_once(str_replace("\\", "/", dirname(__FILE__)) . "/index.php");'

    but I still get 'plugin offline' the plugin was working fine before it just died today when some of the purchases expired.

    Any help appreciated

    • CommentAuthorSimon
    • CommentTimeNov 16th 2008
     
    Project Admin

    Can you go to the OIO 'cache' folder and delete everything in it apart from the .htaccess file and see if that makes any difference?

    • CommentAuthorArfan
    • CommentTimeNov 16th 2008
     

    I deleted everything there still I get the error

    • CommentAuthorSimon
    • CommentTimeNov 16th 2008 edited
     
    Project Admin

    Very odd. The settings must either be missing, or not registering.

    Can you check your database (using phpmyadmin for example) for the oiopub_config table, and see how many rows of data it contains, and whether the option "enabled" is present?

    • CommentAuthorArfan
    • CommentTimeNov 17th 2008 edited
     

    in "wp_oiopub_config" it has
    'ID' 'Name' 'Value' 'API load'
    and i can not see any 'enabled' there; I have tried disabling the plugin/renabling it and turning it on and off via the settings page also, to no avail.

    • CommentAuthorSimon
    • CommentTimeNov 17th 2008
     
    Project Admin

    Is there any data in the config table at all?

    • CommentAuthorArfan
    • CommentTimeNov 17th 2008
     

    yep the first 3 have about 30 fields and Api load has 2

    • CommentAuthorSimon
    • CommentTimeNov 17th 2008 edited
     
    Project Admin

    Hmmm only 30... there should be a few more.

    Would you mind doing an export of the oiopub_config table from phpmyadmin - if you send it to admin[at]oiopublisher[dot]com rather than posting it publicly here, then I can have a look over it.

  1.  

    I tried that command inserting method in purchase.php but same here. Plugin offline here too.

    Check: http://nspeaks.com/wp-content/plugins/oiopub-direct/purchase.php?do=banner&zone=3

    What to do here?

    I have cleared the cache folder but still the same. Rerun all cron jobs also.

    And your plugin...I again upgraded today..its showing 2.08 in CP but 2.07 here.

    And pls one request..wheever you make a small change even in file, notify by changing version number or any other method.Sometimes in fixing bugs you make changes in core files here but keep version numbers same. SO when I redownload...version number remains same and files keep changing which can get problematic at times.

    • CommentAuthorSimon
    • CommentTimeNov 19th 2008 edited
     
    Project Admin

    Could you try renaming the OIO file keywords.php to keywords.php.old - I don't know why yet, but after a lot of trial and error yesterday, it turned out to be the cause of the "offline" issue on another blog.

    If that is the issue, could you also provide me with a list of other plugins you have on the blog.

  2.  

    That did it. Renaming keywords.php has worked for me. Now here is the list of plugins running:

    Akismet 2.2.1
    Broken Link Checker 0.4.10
    cforms 9.2
    Chunk Urls for Wordpress 2.0
    Clean Options 1.0.0 RC
    Comment Sorter 1.1
    Democracy 2.0.1
    Drain Hole 2.1.12
    Executable PHP Widget 1.1
    FD Feedburner Plugin 1.31
    Google XML Sitemaps 3.1.0.1
    Gravatar 1.1
    Gzip Output 1.1
    Limit Posts 1.1
    Maxblogpress Favicon 2.0.6
    No Self Pings 0.2
    OioPublisher Direct 2.0.8
    One Click Plugin Updater 2.4.4
    Ozh' Admin Drop Down Menu 2.3.4.1
    Ozh' Better Feed 2.1.2
    Platinum SEO Pack 1.2.1
    Redirection 2.0.11
    Referrer Detector 2.0
    Revision Control 1.8
    Show Top Commentators 1.06 - by pfadvice
    Simple Tags 1.5.7
    SRG Clean Archives 4.2
    Subscribe To Comments 2.1.2
    Trackback List 1.3 - this plugin is no more available anywhere from the net.
    Twitter Tools 1.5.1
    Wordpress Mobile 1.3 - Andymoore's version
    Wordpress Thread Comment 1.4.8.1
    WP-DBManager 2.31
    WP-PageNavi 2.31
    Yet Another Related Posts Plugin 2.1.3

    • CommentAuthorArfan
    • CommentTimeNov 19th 2008
     

    hmm that is odd...that fixed the issue; these are the other plugins I use:

    Ajax Comments-Reply 2.62
    Akismet 2.2.1
    AskApache Google 404 4.4
    Broken Link Checker 0.4.10
    cforms 9.2
    Dagon Design Sitemap Generator 3.15
    FeedBurner FeedSmith 2.3.1
    OIOpublisher Direct 2.0 2.07
    Platinum SEO Pack 1.2.1
    RSS Footer 0.8
    SEO Smart Links 1.6.4
    Shutter Reloaded 2.2-beta
    Sociable 2.9.5
    Woopra 1.4.1
    Wordpress Automatic Upgrade 1.2.2
    WordPress Database Backup 2.2.1
    WP-CodeBox 1.3.31
    WP Security Scan 2.3
    WP Super Cache 0.8.4
    Yet Another Related Posts Plugin

    • CommentAuthorSimon
    • CommentTimeNov 19th 2008 edited
     
    Project Admin

    Just found the answer. It's a conflict with this plugin:

    Yet Another Related Posts Plugin 2.1.3

    It seems to be down to the "current working directory" (cwd). The other plugin tries to do a relative include of the file keywords.php from its own directory, but when OIO loads as an external page (and then includes the Wordpress files), the cwd is the OIO directory, so it loads the OIO keywords.php file instead.

    -------

    Below is my suggested fix. If you could set the keywords.php file back to what it should be, then do the following and let me know the results:

    OPEN

    include/config.php

    FIND

    if($oiopub_set->wp_load == 1) {
    include_once($oiopub_set->wp_config);
    }

    REPLACE WITH

    if($oiopub_set->wp_load == 1) {
    $oio_cwd = getcwd();
    chdir(str_replace("/wp-config.php", "", $oiopub_set->wp_config));
    include_once($oiopub_set->wp_config);
    chdir($oio_cwd);
    unset($oio_cwd);
    }

    • CommentAuthorArfan
    • CommentTimeNov 19th 2008
     

    seems to keep it fixed ;) Just need to make sure a future update doesn't break it again.

  3.  

    Thanks..its working now.

    • CommentAuthorfrosty
    • CommentTimeNov 30th 2008
     

    Oh, so much better!