Error uploading images (2.5.1)

Hi all,

I’m having an issue uploading images to a fresh Omeka install (2.5.1). I am getting the following error:
“Omeka has encountered an error”

I an effort to get some more details on the issue, I have un-commented the SetEnv line to enable on-screen error reporting, but this doesn’t seem to be working either, and I am still just getting the aforementioned issue when trying to upload an image.

Any thoughts?

Thanks in advance!

When uncommenting the SetEnv line doesn’t do anything, it usually means your server’s set up in such a way that PHP (and therefore Omeka) can’t read environment variables coming from Apache.

So to turn on the error display, you have to do so more directly, in a PHP file. At the top of bootstrap.php (but after the <?php line) in the top-level folder of your Omeka install, add the following line:

define('APPLICATION_ENV', 'development');