Jump to:

23481 Posts in 18965 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » There is no temporary folder for uploads.

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

Page: 1
Go to End
Author Topic: 561 Views
  • Brett
    Community Member
    1 Post

    There is no temporary folder for uploads. Link to this post

    After upgrading to 2.4.5 from 2.4.0 we are not able to upload images.

    From within the cms admin HTMLEditor using image upload fucntionality I get the following message

    "There is no temporary folder for uploads. Please set upload_tmp_dir in php.ini."

    If I try and upload via the admin Files / Images tab I get it doesnt seem to upload and we get generic 'new-file' as the name of the upload.

    - I have a silverstripe-cache folder with read/write perms located in the ss root folder
    - Upgraded to the lastest versions of DOM and uploadify (pretty sure this is not the issue anyway)
    - Read / write permissions on the assets folder

    Manually adding the define('TEMP_FOLDER', '/silverstripe-cache'); causing white screen - no errors reported in error log though

    Any other pointers I can look for?


  • Willr
    Forum Moderator
    5503 Posts

    Re: There is no temporary folder for uploads. Link to this post

    The silverstripe temp dir and the PHP tmp dir are unrelated as far as I am aware as you cannot alter upload_tmp_dir outside your ini configuration.

    You will need to do like it says and define an upload_tmp_dir in your PHP.ini file on the server (or contact your host).

    See http://nz.php.net/manual/en/ini.core.php for more information.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.