Docs to WordPress
[resolved] Can't get it to work on multisite (3 posts)

  1. bruceleelives
    Posted 2 years ago #

    I got the plugin to work on a single site installation on my hosted provider. Now I'm trying to install on a customer server which is using multisite. I tried running the extend-cron plugin but nothing happens. I also created a php file with the following contents and I get a 500 error on the 3rd line. I've put this file in the root folder where wp-load.php is located. Does multi-site have the wp-load file located somewhere else? I couldn't find any other copies in the theme folders. This exact file works for me (with proper credentials and source id) on single site. I also used extend-cron on single site and that worked as well.

    1. include('./wp-load.php');
    2. $docs_to_wp = new Docs_To_WP();
    3. $gdClient = $docs_to_wp->docs_to_wp_init( 'user email', 'pass');
    4. $docs_to_wp->retrieve_docs_for_web( $gdClient, SOURCE ID);


  2. bruceleelives
    Posted 2 years ago #

    Believe I traced it to the curl_init function failing. Will make sure cURL this is installed and enabled.

  3. William P. Davis
    Plugin Author

    Posted 2 years ago #

    The current version of the plugin relies on cURL exclusively to fetch the files, but in the upcoming version it uses WordPress' built-in HTTP API for that. You can download the trunk version of the plugin at http://downloads.wordpress.org/plugin/docs-to-wordpress.zip, but I would definitely test it before putting it in a production environment.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Docs to WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.