I'm having a hard time trying to get various gallery modules to work properly on a fresh install of SS 3.1.2 on my local server.
Doing thorough testing with the tractorcow silverstripe-imagegallery (my preferred option), I think I've narrowed the problem down to a file size issue, as follows:
I can add new images to the gallery just fine as long as they are only a few hundred K in size. However, as soon as I try to upload a larger image (say 3MB), it throws a 500 Internal Server Error (according to Fire Bug).
From then on, I am unable to access the Uploads folder in the CMS Files section - the same error appears. Likewise, when I try to choose a file from the site for the album 'Cover Image' instead of upload a new one, the pop-up is blank and the same error is thrown.
The only other modules I have installed are gridfieldextensions and sortablegridfield.
According to phpInfo, my post_max_size and upload_max_filesize are both set to 32M.
Unfortunately I've been unable to get any more details on the errors. Someone may be able to suggest a way to do this?
I think I've set the environment to Dev mode via the config.yml file but I'm more used to the old way of doing it through the mysite/_config.php file and I'm not sure it's working as I'm not receiving any errors by email. The content of my config.yml looks like this:
--- Name: mysite After: 'framework/*','cms/*' --- # YAML configuration for SilverStripe # See http://doc.silverstripe.org/framework/en/topics/configuration # Caution: Indentation through two spaces, not tabs SSViewer: theme: 'simple' Director: environment_type: 'dev' Debug: send_errors_to: [email protected]'
Hope someone can help!