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   811 Views

Avatar
lozhowlett

Community Member, 146 Posts

13 October 2010 at 2:07am

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

Community Member, 146 Posts

13 October 2010 at 2:33am

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

Community Member, 114 Posts

13 October 2010 at 7:52am

anything in your ss or php logs?

Avatar
lozhowlett

Community Member, 146 Posts

13 October 2010 at 8:32pm

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

Avatar
dendeffe

Community Member, 135 Posts

14 October 2010 at 12:11pm

Edited: 14/10/2010 12:12pm

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