Be sure to checkout our newest add-on Speedy!

EE compatibility updates:

  • Publisher is EE5 compatible, but it does not currently support the Fluid field. licenses:

  • If you purchased an add-on from, be sure to visit to add the license to your account here on

Ticket: Error “There was an issue importing. No usable temp directory found.” while trying to import phrases

Status Resolved
Add-on / Version Publisher 3.1.3
EE Version 5.3.0 Build: 28/9/2019

Peter Parker

Mar 16, 2020

Hi, i’m getting the following error when i select a phrases csv file and try to import it with the phrases importer:

” There was an issue importing. No usable temp directory found.”

Please help.



BoldMinded (Brian)

Mar 16, 2020

The second part of that error message isn’t from Publisher. It’s coming from EE’s ee()->upload->display_errors() method, so it’s likely something to do with your system’s folder permissions or inability to access /tmp.


BoldMinded (Brian)

Mar 16, 2020

Might help, but this is EE’s method to find the tmp path

public function _discover_temp_path()
  $attempt = array();
        $ini_path = ini_get('upload_tmp_dir');

        if ($ini_path)
            $attempt[] = realpath($ini_path);

  $attempt[] = sys_get_temp_dir();
  $attempt[] = @getenv('TMP');
  $attempt[] = @getenv('TMPDIR');
  $attempt[] = @getenv('TEMP');

  $valid_temps = array_filter($attempt); // remove false's

  foreach ($valid_temps as $dir)
   if (is_readable($dir) && is_writable($dir))
    return $dir;

  return FALSE;

Peter Parker

Mar 18, 2020

Thank you very much Brian, that hint helped!

Login to reply


For add-on support, please use the Support section. General inquries and pre-sale questions can be sent to