Hi All! I'm new to using PhpList and encountered some problems along the way, but I've managed to solve all of it with the help of this community. I've also encountered this error and resolved it so I want to share how I did it.
1) Go to File Manager of you domain where PHPList is installed. You could also use FTP clients such as
http://filezilla-project.org/ to remotely do this.
2) Under "lists" folder, create a folder and name it "tmp".
3) Change the folder's access rights, and allow all permissions.
4) Open config.php file which can be found here: lists/config/. Look for "$tmp_dir" and change the default which is $tmp_dir='/tmp;' to
the full path of newly created tmp folder.
To do that go to <yourdomain.com>/lists/admin/?page=info, look for DOCUMENT_ROOT, mine is "/var/www/vhosts/mydomain.com/httpdocs".
So, my tmp folder's full path is: /var/www/vhosts/mydomain.com/httpdocs/lists/tmp
I modified config.php, $tmp_dir='/tmp;' to
$tmp_dir='/var/www/vhosts/mydomain.com/httpdocs/lists/tmp';Don't forget to check all permissions and check the full path.
Test it. Works for me.
Kudos to H2B2 for this solution.