Jump to:

23579 Posts in 19403 Topics by 2893 members

General Questions

SilverStripe Forums » General Questions » Select image folder gives "Error Getting Files"

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
Go to End
Author Topic: 2878 Views
  • quanto
    Avatar
    Community Member
    81 Posts

    Select image folder gives "Error Getting Files" Link to this post

    Hi all,

    When I select a image folder in mceEditor, i get a 500 Server error "Error Getting Files". I tried all the solutions in this post http://www.silverstripe.org/general-questions/show/9140?start=16 but nothing worked out. Is there a fix for this in Silverstripe 2.4.5?

  • quanto
    Avatar
    Community Member
    81 Posts

    Re: Select image folder gives "Error Getting Files" Link to this post

    Hmm I see it happens only with PNG files and folders wherein a PNG file is situated.

  • quanto
    Avatar
    Community Member
    81 Posts

    Re: Select image folder gives "Error Getting Files" Link to this post

    I didn't find a solution yet. It happens even when I upload a PNG image to "Files and Images". jpg or gif gives no problem.

  • prawnstar
    Avatar
    Community Member
    116 Posts

    Re: Select image folder gives "Error Getting Files" Link to this post

    This is probably overly simplistic, but are you trying to upload the same png file? Is it corrupt? Is it larger than your max upload size?

    Chris.b

  • quanto
    Avatar
    Community Member
    81 Posts

    Re: Select image folder gives "Error Getting Files" Link to this post

    No I tried different png's, even png's with a size of just 10kb.

    My client is using PHP 5.3.5. I read about the fact that Silverstripe is not compatible with this version of PHP? Maybe this is the problem? Anybody who's having the same problem?

  • prawnstar
    Avatar
    Community Member
    116 Posts

    Re: Select image folder gives "Error Getting Files" Link to this post

    I can confirm no issues with these versions of PHP. Note they are all built by deb on Ubuntu:
    PHP 5.3.2-1ubuntu4.9 (32 bit) with SS version 2.4.5
    PHP 5.3.5-1ubuntu7.2 (32 bit) with SS version 2.4.6
    PHP 5.3.6-13ubuntu3.2 (64 bit) with SS version 2.4.6

  • quanto
    Avatar
    Community Member
    81 Posts

    Re: Select image folder gives "Error Getting Files" Link to this post

    I upgraded SS to version 2.4.6, but the error is still alive.

    My Firebug gives this error:

    "NetworkError: 500 Internal Server Error - http://www.*website*.eu/admin/EditorToolbar/ImageForm?action_callfieldmethod=1&fieldName=FolderImages&ajax=1&methodName=getimages&folderID=1
    &searchText=undefined&cacheKillerDate=1323680264092&cacheKillerRand=5415"

  • prawnstar
    Avatar
    Community Member
    116 Posts

    Re: Select image folder gives "Error Getting Files" Link to this post

    I badly want to say this is a permissions issue, but the truly puzzling part of this is that you can upload a jpg or gif image.

    At this point I'd look at the server. Make sure you have proper png support. Is gd v. 2 installed and is png support turned on?

    Chris.b

    Attached Files
    2878 Views
Page: 1 2
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.