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

Embed problem!


Go to End
Reply


22 Posts   3927 Views

Avatar
LostBalloon

Community Member, 16 Posts

18 April 2011 at 7:39am

Ok,
i had tried making a new folder and adding it there with the same result, (had to test for the heck of it)

since you mentioned file permissions, i decided to take a look at the File table in the database, and this record has some differences from the others, so it might just be file permissions as you mentioned.

Attached Files
Avatar
LostBalloon

Community Member, 16 Posts

18 April 2011 at 1:20pm

Note: I'm even getting a 403 Forbidden on images that I am importing.

Avatar
martimiz

Forum Moderator, 1132 Posts

18 April 2011 at 8:28pm

Edited: 18/04/2011 8:30pm

OK, but this is a different issue alltogether...

1. by 'rights' I mean the webserver must have read/write permission in the assets/ directory...

2. I don't know what platform your site is on. (WAMP, LAMP, IIS?) but you might check the .htaccess file in your /assets directory, that denies certain filetypes. There have been issues with that before, though I can't find the post at the moment/nor the solution. Just temporary remove the file and see what gives.

If this works, search the forums, 'cause I know there's a solution hiding here somewhere :-)

btw: don't send tiff images, better to create a jpg/png/gif for it :-)

Avatar
LostBalloon

Community Member, 16 Posts

19 April 2011 at 2:25am

Yeah, removing the .htaccess file did the trick

Avatar
LostBalloon

Community Member, 16 Posts

19 April 2011 at 2:26am

Any idea how i should fix the file for it to work properly? :S

Avatar
LostBalloon

Community Member, 16 Posts

19 April 2011 at 2:51am

Nevermind, thanks, i opened the file and added the unity3d extension to the regular expression of allowed extensions and it works.

:D thanks for all your help!

Go to Top