Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Assets folder problem with SS 2.4.5 running on plesk

Go to End

11 Posts   1324 Views


11 August 2011 at 2:52am (Last edited: 11 August 2011 2:55am), Community Member, 55 Posts

Hi experts,
I have a fresh installation of SS 2.4.5 on a virtual machine with Plesk.
Everything works fine, but I can't create a folder in the assets area.
I can upload files to the upload folder, but I can't create a new folder.
I get an error regarding mkdir.
What can I do?

TIA Stephan


12 August 2011 at 1:46am Forum Moderator, 1091 Posts

If you've made sure that your /assets/ directory has sufficient rights, then this might be due to an issue in (a new version of) Plesk, where the php safemode and open_basedir are a bit too restrictive. If you are ons shared hosting, you might want to contact your hosting provider about that...


13 August 2011 at 3:31am Community Member, 55 Posts

the rights are 777.
safe-Mode is switched off
and my vhost.conf says: php_admin_value open_basedir none

But still it is not working :(


13 August 2011 at 4:29am Forum Moderator, 1091 Posts

what does the error say?


13 August 2011 at 5:39am Community Member, 55 Posts

It says "Error creating folder"
And if i look at the firebug console it says "error at mkdir"


13 August 2011 at 5:57am Forum Moderator, 1091 Posts

that's not much to go by... this is while your site's in dev mode?


13 August 2011 at 6:06am Community Member, 55 Posts

Yes its in dev Mode

But the funny thing is, that I can upload images into the upload folder.
But I can't create a folder in the upload folder.


15 August 2011 at 8:57pm (Last edited: 15 August 2011 8:59pm), Community Member, 55 Posts

Here is the detailed error message:

ERROR [Warning]: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Unable to access /var/www/vhosts/xxxx/httpdocs/assets/Uploads/Neuer-Ordner/
IN POST /admin/assets/addfolder
Line 595 in /var/www/vhosts/xxxxx/httpdocs/cms/code/AssetAdmin.php

I believe that this is an important issue as there are many virtual servers out there running with plesk.

Go to Top