When I tried to install the plugin 2.04, it wouldn't install properly....
I at my wordpress admin area I get:
Warning: include_once(/home/jo1971/public_html/wp-content/plugins/oiopub-direct/platform/wordpress.php) [function.include-once]: failed to open stream: No such file or directory in /home/jo1971/public_html/wp-content/plugins/oiopub-direct/index.php on line 83
Warning: include_once() [function.include]: Failed opening '/home/jo1971/public_html/wp-content/plugins/oiopub-direct/platform/wordpress.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jo1971/public_html/wp-content/plugins/oiopub-direct/index.php on line 83
Fatal error: Call to undefined function oiopub_is_admin() in /home/jo1971/public_html/wp-content/plugins/oiopub-direct/include/functions.php on line 107
Joanne
http://www.bestjoanne.info
Ah, that looks like the files in the 'platform' directory were not all uploaded corectly. A full re-upload should solve the problem.
I uploaded the oiopublisher ok, but I am unsure as to what to do next
so far, I have done this...
/*
PLUGIN URL
allows you to set the url the script is located at
*/
$oiopub_set->plugin_url = 'http://www.bestjoanne.info/wp-content/plugins/oiopub-direct';
//for example: http://www.mysite.com/path/to/oiopub-direct (no trailing slash!)
/*
DATABASE CONFIG
you must fill in all database connection info if using standalone mode
*/
$oiopub_set->db_args['db_host'] = ''; //database host (usually localhost)
$oiopub_set->db_args['db_user'] = 'jo1971'; //database username
$oiopub_set->db_args['db_pass'] = 'joanne71'; //database password
$oiopub_set->db_args['db_name'] = 'joanne'; //database name
/*
DATABASE TABLE PREFIX
allows you to add a custom prefix to database tables
*/
$oiopub_set->prefix = ''; //for example: abc1_
/*
CACHE CONFIG
allows you to select a custom caching method
*/
$oiopub_set->cache_args['cache_type'] = 'file'; //choose between file, memcache, xcache, eaccelerator
$oiopub_set->cache_args['cache_dir'] = $oiopub_set->cache_dir; //allows you to set a custom file caching directory
$oiopub_set->cache_args['memcache_host'] = ''; //memcache host IP (if using memcache)
$oiopub_set->cache_args['memcache_port'] = ''; //memcache host port (if using memcache)
/*
PAYMENT SANDBOX
allows you to test payment processes, such as paypal sandbox
*/
$oiopub_set->sandbox = 0; //0=off, 1=on
/*
HARDCODE PLATFORM
allows you to define the platform without relying on auto-check
*/
if(!defined('OIOPUB_PLATFORM')) {
define('OIOPUB_PLATFORM', ''); //choose between wordpress and standalone
}
/*
WORDPRESS SPECIFIC VARS
allows you to hardcode certain Wordpress-only variables
*/
$oiopub_set->wp_config ='/www/bestjoanne.info/wp-config.php';//
custom path to the Wordpress wp-config.php file ( eg. /home/www/wordpress/wp-config.php )
?>
and when i click on the config.php file I get an error message.
Are you installing it as a Wordpress plugin? If so, just upload a default config.php file (don't changing anything in that file) and activate it from the Wordpress plugin screen.
It will then install automatically.
How to upgrade ?
should i replace all files ?
i got config file and database error when changed all the files. :(
Yes, should just be a file replace.
What error fif you get, and what version were you trying to upgrade from?
I got error like
website url not found.
Database not found..
upgraded from 1.6
should i keep old config.php ?
Just the default config.php file that comes with the latest version (it shouldn't need to be edited at all).
what do u mean ?
should i replace the old config.php file or not ?
The easiest option for you would be to replace all files, if you are still having problems. Errors such as the one you mentioned are usually caused by a bad upload.
no, i reverted back to old plugin..
Hmmm...strange. If you want to send over some FTP details via the contact form, I can take a look at it for you myself and see what went wrong.
I am having absolutely no luck at all with the installation. I have tried to upload the three times now and each time I try to go to the .../path/to/oiopub-direct/admin.php I am getting a 404. It doesn't help that the docs are currently down for updating of course but I am now frothing at the mouth and panting in exasperation. What can I be doing wrong?
This is to a site on shared hosting with Futurequest which has PHP 5 so ... it should work, right?
Do you have a link to the admin file you are trying to access?
One possible cause (at least I've known it happen in the past) is that a directory containing OIOpublisher has permissions set to 777 instead of the usual 755. Some webhosts produce 404s in that situation.
Thanks for your reply, Simon. The directory is 755. I don't want to put the complete link here in public. Can I go ahead and send it to you via the contact form?
Sure thing.
Hi Simon,
Just wondering if you could give me a briefing on any steps (e.g. what I back up) before making an upgrade from 2.06 - 2.07
Thanks
Hi Michael,
There is an action performed on the database (although it's a cron data change, rather than anything structural), so if you want to play it safe, I'd backup the database.
If you've changed anything in the main config.php file, also save a copy of that, to re-upload after the upgrade. Those are the only 2 things you should need to backup.
I am having a problem and I just noticed today when I was checking the widget that someone purchased. When I clicked on it I received this message: OIOpublisher Setup Requirements:
Open the OIOpublisher 'config.php' file in the 'oiopub-direct' directory, and fill in the plugin_url variable where indicated
After you have dealt with the issues above, please refresh this page
Okay I have the configure php open and since I'm not technical I need to know where to add the information am I suppose to put it where you have the example or in between the ''; also I don't know where to find the information for the database, HELP
$oiopub_set->plugin_url = ''; //for example: http://www.mysite.com/path/to/oiopub-direct (no trailing slash!)
/*
DATABASE CONFIG
you must fill in all database connection info if using standalone mode
*/
$oiopub_set->db_args['db_host'] = ''; //database host (usually localhost)
$oiopub_set->db_args['db_user'] = ''; //database username
$oiopub_set->db_args['db_pass'] = ''; //database password
$oiopub_set->db_args['db_name'] = ''; //database name
I just noticed the message above mine and I'm still stumped as to what I'm suppose to do.