Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

    • CommentAuthoraSKer
    • CommentTimeNov 3rd 2008 edited
     

    Here is my problem: im checking my installation of your plugin.
    I've set things up so that i need to confirm an ad before someone can pay for it.
    When i go to: http://css.wearethebuzz.com/wp-content/plugins/oiopub-direct/payment.php
    then i enter a valid id, i'm redirected to: http://css.wearethebuzz.com/random/ so i can't pay for the ad...
    Any idea how i can fix this ?
    (i'm using the latest pro version of the plugin)

    • CommentAuthorSimon
    • CommentTimeNov 3rd 2008 edited
     
    Project Admin

    Is the "random" url the default 404 page?

    I've copied a few lines of code from the top of the payment.php file below. They contain 2 redirects - a possibility is that one of the redirects is being triggered. I'd try commenting them out to see if it makes any difference:

    //correct bad uri
    if(strpos($oiopub_set->request_uri, "+") !== false) {
    $request = str_replace("+", "", $oiopub_set->request_uri);
    header('Location:' . $request);
    exit();
    }
    //correct bad query string
    if(strpos($oiopub_set->query_string, "?") !== false) {
    $qs = str_replace("?", "&", $oiopub_set->query_string);
    $request = str_replace($oiopub_set->query_string, $qs, $oiopub_set->request_uri);
    header('Location:' . $request);
    exit();
    }

    • CommentAuthoraSKer
    • CommentTimeNov 3rd 2008
     

    I also have another problem, since i updated to latest version, i'm trying to display my ads on another website by using the javascript code: <script type='text/javascript' src='http://css.wearethebuzz.com/wp-content/plugins/oiopub-direct/js.php?type=banner&align=center&zone=1'></script>
    The problem is that it displays only 1 ad instead of all of them... Any fix is welcome!

    • CommentAuthoraSKer
    • CommentTimeNov 3rd 2008
     

    I've commented the 2 pieces of code and it doesnt make any change...

    • CommentAuthoraSKer
    • CommentTimeNov 3rd 2008
     

    i'ts almost fixed, it was due to a rewrite rule in my .htaccess including the string: 'rand'
    now i'm getting an error message: Error - could not load the required payment module! Please contact the owner of this blog to get the issue resolved!

    • CommentAuthorSimon
    • CommentTimeNov 3rd 2008
     
    Project Admin

    Are you seeing any modules shown in the "my modules" section of the admin area?

    Can you also check the database for the existence of an option called "hash" in the oiopub_config db table? It sounds like not all the upgrade options were completed.

    • CommentAuthoraSKer
    • CommentTimeNov 3rd 2008 edited
     

    Affiliates [v2.00] [disabled]
    Demographics [v2.00] [enabled]
    EntreCard [v2.00] [enabled]
    PayPal [v2.00] [enabled]
    Social Posts [v2.00] [enabled]
    Stats Tracker [v2.02] [disabled]
    ViralBlogAds [v2.00] [enabled]

    in db: oiopub_config:
    id: 2
    name: hash
    value: xxxxxxxxxx
    api_load: 0

    • CommentAuthorSimon
    • CommentTimeNov 3rd 2008
     
    Project Admin

    Ah ok, looks like the upgrade didn't have any problems then.

    Only other thought at this stage is over the payment settings being incomplete in Settings -> General section of the admin area?

    • CommentAuthoraSKer
    • CommentTimeNov 3rd 2008
     

    i've just checked it... i enabled the paypal account but it still doesnt work :/

    • CommentAuthorSimon
    • CommentTimeNov 3rd 2008 edited
     
    Project Admin

    In that case, can you try editing the purchase from the admin area, and checking whether paypal is selected as the payment option? If it is, can you also try re-saving that purchase without any changes to see if the error persists.

    I can't think of anything else (now that we've confirmed everything else is working) other than the payment processor value stored for that purchase being incorrect.

    • CommentAuthoraSKer
    • CommentTimeNov 3rd 2008
     

    re-saving it without changes wworked :) Thanks for the fast support.
    Maybe you have any hint about the Javascript not displaying the ads ?

    • CommentAuthorSimon
    • CommentTimeNov 3rd 2008
     
    Project Admin

    I just tried it out here at:

    http://www.oiopublisher.com/test.php

    Looks ok to me in FF3 and IE7. Does it still only show 1 ad for you on that page, and if so, which browser(s)?

    • CommentAuthoraSKer
    • CommentTimeNov 3rd 2008
     

    im seeing them all.. pheraps a problem of alignement, i'm trying to display them on: http://games.wearethebuzz.com (bottom of page) horizontally.
    Any way i can change that ?

    • CommentAuthorSimon
    • CommentTimeNov 3rd 2008 edited
     
    Project Admin

    I think I see the problem. I looked inside the javascript link, and the code doesn't contain a reference to the full plugin_url.

    If you look in the database (oiopub_config table) for an option called "plugin_url_saved" - it should have a value of:

    http://css.wearethebuzz.com/wp-content/plugins/oiopub-direct

    If not, try updating it to that (and then clearing the OIO "cache" folder), and see if that sets things right.

    • CommentAuthoraSKer
    • CommentTimeNov 3rd 2008
     

    i have no line named: plugin_url_saved in oiopub_config table...

    • CommentAuthorSimon
    • CommentTimeNov 3rd 2008
     
    Project Admin

    Hmm...should be there. Anyway, if you insert that option (with the value I referenced above), and clear the cache, it should work.

    • CommentAuthoraSKer
    • CommentTimeNov 4th 2008
     

    i dont know how to alter or create tables in phpmyadmin :/

    • CommentAuthorSimon
    • CommentTimeNov 4th 2008
     
    Project Admin

    INSERT INTO wp_oiopub_config (name,value) VALUES ('plugin_url_saved','http://css.wearethebuzz.com/wp-content/plugins/oiopub-direct')

    The query above assumes wp_ is the prefix of the Wordpress db tables you use. Copy it into the "SQL" tab at the top of phpmyadmin to run the query.

    Alternatively, you could re-download the plugin and re-upload the include/settings.php file - I made a change to ensure that option is created if it doesn't exist.

    • CommentAuthoraSKer
    • CommentTimeNov 4th 2008
     

    Working! :))
    Amazing support Simon. Thanks a lot. This is such a support that contributes making your plugin so valuable.
    Keep up this amazing work.