phpList 3.3.1 - Image upload not possible


we are running or phpList installation on our own root server. The installation was running without any problem, but we have a problem to upload images to the server.
This problem occurs in the CKEditor and FCKeditor editor. Although a correct path is set, we get the error:
Cannot write to upload folder. /var/www/vhosts/

in the CKEditor. The path is existing with 777 rights and the correct owner.

The config.php contains:
define(‘UPLOADIMAGES_DIR’, ‘uploadimages’);

We cloudn’t see any error messages in the error_log file.


@AndiS The error message is caused by kcfinder, the file manager, failing to add a .htaccess file to the uploadimages directory.

You could try manually copying the .htaccess file from plugins/CKEditorPlugin/kcfinder/conf/upload.htaccess and rename to simply .htaccess. But if there is an underlying problem then that might just move the problem on to the next step.

I solved the problem.
I have changed the path to the new location:
define(‘UPLOADIMAGES_DIR’, ‘lists/uploadimages’);

Then I’ve created the directory with my FTP client where I have set the correct owner. Then I’ve created the three directories image, files and flash. Then the upload was possible and the .htaccess file was created.

Thank you for your reply.