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

Image upload not working from fresh install with no customisation


Reply

5 Posts   804 Views

Avatar
lozhowlett

13 October 2010 at 2:07am Community Member, 146 Posts

Hi everyone

I have a fresh install of SS 2.4.2,

I have installed successfully, as i have done many times before... however when i go into files & images and select a folder then upload images I get this message...

"File is not a valid upload"

Which is very odd as the file is just a .jpg (see attached).

I dont know where to start on debugging, i checked the asset folder has CHMOD of 777 so it shouldnt be a write issue.

Any help on where to start looking would be great!

Thanks in advance,

Attached Files
Avatar
lozhowlett

13 October 2010 at 2:33am Community Member, 146 Posts

Also interestingly, if I upload the image via FTP then scan for new files it picks it up, but then when I insert it into a document it will always crop it to a max of 600px wide, is there anywhere to get rid of the auto resample or turn it off, bypass it on the fly etc?

Avatar
ttyl

13 October 2010 at 7:52am Community Member, 114 Posts

anything in your ss or php logs?

Avatar
lozhowlett

13 October 2010 at 8:32pm Community Member, 146 Posts

thanks for the reply - but no idea how to check those, would it be something I ask my host about?

Avatar
dendeffe

14 October 2010 at 12:11pm (Last edited: 14 October 2010 12:12pm), Community Member, 135 Posts

You might be able to check your php log from cpanel/whm/parallels.