Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

  1.  

    Excuse my newbies question, I upgrade my OIOPublisher v1.6 to v.2.02, Everything looks fine but when I click to purchase somehow it give me this error"Cannot find wp-config.php file. You can add a custom path to this file by editing the OIOpublisher config.php file

    I try to edit the config.php, putting the location of my wp-config.php and follow the sample but still it give this error. Any right way of doing it that I miss. This is how i put it:"/www/pinoyconsole.com/wp-config.php"
    Any help is much appreciated.

    • CommentAuthorSimon
    • CommentTimeOct 1st 2008 edited
     
    Project Admin

    Can you initially remove the custom path, since I think whatever the cause of the error, a custom path won't be required for a Wordpress install.

    Now a few questions:

    1.) Are you running 2.02 or 2.03 of the script?

    2.) Did you fill in any other details in the oiopub-direct/config.php file, other than the custom wp-config.php path?

    Finally, at the bottom of the oiopub-direct/config.php file, just above the ?> line of code, can you add:

    if($_GET['debug'] == 1) print_r($oiopub_set);

    This will allow me to take a quick look at the settings, without showing the settings to blog readers.

  2.  

    Actually when I first upload the new version and overwrite the old one and go to admin dashboard, upgrade and got this message "Database tables not found, please add them manually by clicking here" and "the other one not too sure exactly the word but asking me to change the plugin url in the "config.php" so I do that somehow I was able to continue the upgrade.

    Answer:
    1. V2.02
    2. Below is the line of code that I try to change:
    PLUGIN URL
    allows you to set the url the script is located at
    */

    $oiopub_set->plugin_url = 'http://pinoyconsole.com/wp-content/plugins/oiopub-direct'; //for example: http://www.mysite.com/path/to/oiopub-direct (no trailing slash!)

    WORDPRESS SPECIFIC VARS
    allows you to hardcode certain Wordpress-only variables
    */

    $oiopub_set->wp_config = '/www/pinoyconsole.com/wp-config.php'; //custom path to the Wordpress wp-config.php file ( eg. /home/www/wordpress/wp-config.php )

    -Code already added

    Thanks for quick response, highly appreciated.

  3.  

    I put back the orig. config.php without any edit and everything works fine now.

    Thanks again. More power to oiopublisher!

    • CommentAuthorSimon
    • CommentTimeOct 1st 2008
     
    Project Admin

    Glad it got sorted. Let me know if you have any further problems.