Import button and "tmp directory" not set
-
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
- The topic ‘Import button and "tmp directory" not set’ is closed to new replies.