{"issue":{"state":"open","created_at":"2011-12-05T16:00:34Z","updated_at":"2011-12-05T16:11:10Z","comments":1,"user":{"gravatar_id":"0ec597a92f6083f4de6e6e1e8b8a009b","id":1220375,"url":"https://api.github.com/users/wmelder","avatar_url":"https://secure.gravatar.com/avatar/0ec597a92f6083f4de6e6e1e8b8a009b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"wmelder"},"body":"After creating an OpenSKOS database using the MySQL Workbench I added a new Tenant and a new User.\r\nUsing the Dashboard functionality I tried to do 'Beheer collecties' and clicked on 'Maak een nieuwe collectie aan'.\r\nThis results in the following error message:\r\n\r\nAn error occurred\r\n\r\nApplication error\r\n\r\nIt doesn't report anything else on the error. Is there any other way to find out what went wrong?\r\n\r\nregards,\r\nWillem\r\n","assignee":null,"id":2450870,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":4,"title":"Collection management error","html_url":"https://github.com/CatchPlus/OpenSKOS/issues/4","closed_at":null,"url":"https://api.github.com/repos/CatchPlus/OpenSKOS/issues/4","milestone":null},"action":"created","comment":{"created_at":"2011-12-05T16:11:10Z","updated_at":"2011-12-05T16:11:10Z","user":{"gravatar_id":"5e0481a30666470b78fa97b3a3227fb6","id":1125773,"url":"https://api.github.com/users/mightymax","avatar_url":"https://secure.gravatar.com/avatar/5e0481a30666470b78fa97b3a3227fb6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"mightymax"},"body":"You probably have no ENV variable set in your apache config. If not, the system uses the default environment: \"production\". In this environment debug is not very verbose, to prevent exposing critical file paths to the visitor. If you switch to \"development\" environment, you will get a stack trace of what went wrong.\r\n\r\nSwitching to \"development\" environment is easy in Apache: make sure you have mod_env loaded en put this line in your vhost configuration en reload Apache:\r\n```SetEnv APPLICATION_ENV development```\r\n\r\nAnother (quick and dirty way) is modifying the [production] section in your APPROOT/application/configs/application.ini:\r\n```phpSettings.display_startup_errors = 1\r\nphpSettings.display_errors = 1\r\nresources.frontController.params.displayExceptions = 1```\r\n\r\n\r\n\r\n","id":3018900,"url":"https://api.github.com/repos/CatchPlus/OpenSKOS/issues/comments/3018900"}}