21492 Posts in 5783 Topics by 2621 members
| Go to End | Next > | |
| Author | Topic: | 1833 Views |
-
Select image folder gives "Error Getting Files"

9 November 2011 at 11:33pm
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?
-
Re: Select image folder gives "Error Getting Files"

11 November 2011 at 12:04am
Hmm I see it happens only with PNG files and folders wherein a PNG file is situated.
-
Re: Select image folder gives "Error Getting Files"

9 December 2011 at 2:33am Last edited: 9 December 2011 9:07pm
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.
-
Re: Select image folder gives "Error Getting Files"

9 December 2011 at 7:29am
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
-
Re: Select image folder gives "Error Getting Files"

9 December 2011 at 9:06pm
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?
-
Re: Select image folder gives "Error Getting Files"

10 December 2011 at 3:59am
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 -
Re: Select image folder gives "Error Getting Files"

12 December 2011 at 10:00pm Last edited: 12 December 2011 10:01pm
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" -
Re: Select image folder gives "Error Getting Files"

13 December 2011 at 5:37am
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
| 1833 Views | ||
| Go to Top | Next > |


