WordPress.org

Forums

Google+ Crossposting
[resolved] Import button and "tmp directory" not set (2 posts)

  1. duccio
    Member
    Posted 1 year ago #

    This could be a frequent issue on shared hostings. It's a problem with WordPress configuration, but the "Import" button does not report any error.

    A general solution is to create a temporary dir, set the permissions and add to wp-config.php the following:

    define('WP_TEMP_DIR',$tempDir);

    Apart of that... great plugin! :)

    Fatal error: Uncaught exception 'apiCacheException' with message 'Could not create storage directory: /tmp/apiClient/cc' in /var/sites/d/----/public_html/wp-content/plugins/google/lib/external/google/cache/apiFileCache.php:115

    Stack trace:

    #0 /var/sites/d/----/public_html/wp-content/plugins/google/lib/external/google/io/apiCurlIO.php(178): apiFileCache->set('a7d5109f49874f8...', Object(apiHttpRequest))
    #1 /var/sites/d/------/public_html/wp-content/plugins/google/lib/external/google/io/apiCurlIO.php(142): apiCurlIO->setCachedRequest(Object(apiHttpRequest))
    #2 /var/sites/d/-----/public_html/wp-content/plugins/google/lib/external/google/io/apiCurlIO.php(46): apiCurlIO->makeRequest(Object(apiHttpRequest))
    #3 /var/sites/d/-----/public_html/wp-content/plugins/google/lib/external/google/io/apiREST.php(55): apiCurlIO->authenticatedRequest(Object(apiHttpRequest))
    #4 /var/sites/d/-----/public_html/wp-content/plugins/google/lib/external/google/service/apiServic in /var/sites/d/-----/public_html/wp-content/plugins/google/lib/external/google/cache/apiFileCache.php on line 115

    http://wordpress.org/plugins/g-crossposting/

  2. Sebastian
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for pointing this out!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google+ Crossposting
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic