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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

extending basic site tutorial image upload not working


Go to End


3 Posts   1053 Views

Avatar
Mauro74

Community Member, 30 Posts

10 July 2011 at 10:59pm

Hi all,
I've just installed SilverStripe. I'm going through the tutorials and I'm stuck at the image upload in the "extending basic site tutorial".

After I enabled the image tab in the CMS by changing the StaffPage class as per tutorial when I try to upload an image it just doesn't show up nether in the CMS nor in the front-end. Of course I flushed the cache and rebuilt but no results. I'm using OS X, PHP 5.3.4 and Apache as webserver.

Any idea? Thanks in advance.

Avatar
swaiba

Forum Moderator, 1899 Posts

11 July 2011 at 8:17pm

Hi Mauro74,

Welcome to the SSForum!

Is it possible to post the relevant code please, it's a bit hard to workout what might be the problem without that... there is also a lot of help with debugging in this thread... http://silverstripe.org/general-questions/show/16055

Avatar
Mauro74

Community Member, 30 Posts

12 July 2011 at 1:32am

Hi Swaiba I just found out why it wasn't working, it was because I had no writing permission on the upload folder and because I wasn't running the website in dev mode I couldn't see what the error was!