owncloud-archive / apps

Repo for ownCloud apps. Code here is work in progress and not intended for endusers
373 stars 337 forks source link

Apptemplate is broken : Doesn't get enabled. #1143

Closed raghunayyar closed 11 years ago

raghunayyar commented 11 years ago

Expected Behavior :

When I click on Enable app, the app is enabled.

Actual Behavior:

I get an error message : Error Enabling App.

ownCloud.log :

ownCloud-main-repo-stuff\/core\/lib\/db.php#967","level":4,"time":"June 02, 2013 12:10:50"} {"app":"PHP","message":"Invalid argument supplied for foreach() at \/Applications\/MAMP\/htdocs\/ownCloud-main-repo-stuff\/core\/lib\/installer.php#417","level":2,"time":"June 02, 2013 12:14:43"} {"app":"PHP","message":"Invalid argument supplied for foreach() at \/Applications\/MAMP\/htdocs\/ownCloud-main-repo-stuff\/core\/lib\/installer.php#420","level":2,"time":"June 02, 2013 12:14:43"} {"app":"PHP","message":"SQLSTATE[23000]: Integrity constraint violation: 19 oc_appconfig.appid may not be NULL at \/Applications\/MAMP\/htdocs\/ownCloud-main-repo-stuff\/core\/lib\/db.php#967","level":4,"time":"June 02, 2013 12:14:43"}

Machine :

MAC OSX 10.7.4 Chrome 27.0

raghunayyar commented 11 years ago

@karlitschek

karlitschek commented 11 years ago

Strange. This works for me. I think in your database is something screwed up. Can you try again with a clean setup?

raghunayyar commented 11 years ago

Works now. Sorry for not checking it with a fresh install earlier on.