Jump to:

22977 Posts in 11806 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Upload broken in 2.4?

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 2 3 4 5 6 7
Go to End
Author Topic: 11718 Views
  • itobe
    Avatar
    Community Member
    4 Posts

    Re: Upload broken in 2.4? Link to this post

    Hi all,

    i've had the same problems with FileUploading.
    This morning i installed the latest SS Release with several strange problems.
    After the 5th reinstall it worked fine, but i couldnt upload any files.
    After applying the patch mentioned in this topic it all worked fine for me, even the WYSIWYG editor still works.

    One little bug is still there, by editing content in IE8 i always get an Error when trying to save the changes.
    That Problem doesn't appear in Google's Chrome...

    Thanks very much
    I hope the installation of modules runs less complicated ;)

    greetz
    Tobi

  • StuM
    Avatar
    Community Member
    56 Posts

    Re: Upload broken in 2.4? Link to this post

    The patch a few pages back worked for me too.

  • ttyl
    Avatar
    Community Member
    114 Posts

    Re: Upload broken in 2.4? Link to this post

    adding this to my vhost conf file worked, fyi.

    php_admin_value open_basedir none

  • nafetsch
    Avatar
    Community Member
    15 Posts

    Re: Upload broken in 2.4? Link to this post

    ((( my first realy bad expirence with silverstripe

    it runs local but nut on my webserver... i have open_basedir = no value in my phpini.
    i have 777 on assets and sub.

    when i upload i get no error but my swfupload end like that:

    SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to http://okeanos.paulmann.sv-preview.de/FileDataObjectManager_Controller/handleswfupload for File ID: SWFUpload_0_0
    SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0

    on my local system i get a 41 responde that my upload is completed. here the debug ends like that. i have no js erros...

    I tried:
    http://open.silverstripe.org/attachment/ticket/5547/2.4.0-FileUpload.diff

    Do I just need the 2 Files there to fix or the other files in 5547 too?

    Plz help. its a realy big site, that have to online in 3 days

  • illektr1k
    Avatar
    Community Member
    6 Posts

    Re: Upload broken in 2.4? Link to this post

    Timtim's solution of changing open basedir fixes the problem for me, on latest SVN build - Patch earler broke TinyMCE, without patch this fixes upload and TinyMCE still works, whether applied through php.ini, vhost.conf or httpd.conf.

  • ttyl
    Avatar
    Community Member
    114 Posts

    Re: Upload broken in 2.4? Link to this post

    what if you don't use SWF upload?

    in a pinch you could also manually upload the files and run "Look for New Files" from files/images tab.

  • nafetsch
    Avatar
    Community Member
    15 Posts

    Re: Upload broken in 2.4? Link to this post

    how to switch off swf upload in assets ?

    i still have the problem that i only can upload with admin rights. editor canĀ“t upload.

  • ttyl
    Avatar
    Community Member
    114 Posts

    Re: Upload broken in 2.4? Link to this post

    you are using swfupload from dataobject manager, right? I think you can just remove that directory from your root and do a build - somebody correct me if I'm wrong there.

    also, by manually I mean use an (s)ftp client to upload your files to assets then 'look for new files' and see if that works. if you are on deadline that could buy your enough time to do a real fix. ;-)

    11718 Views
Page: 1 2 3 4 5 6 7
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.