libasys / contactsplus

A Contacts App for version ownCloud 8.1 or later, lower version not supported
23 stars 4 forks source link

Exceptions errors #110

Open briskspirit opened 8 years ago

briskspirit commented 8 years ago

Hi. Just updated to )C 8.2 and getting blank exceptions: Error index Exception: 2015-10-21T21:33:45 This exceptions come to log file when I edit contact and than click save button. In this case contact is saved, but window with contact details don't close nor writes that it was saved. Must to close myself. Error from browser console:

[Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error) https://xxx/index.php/apps/contactsplus/editcontactsave(editcontactsave, line 0)

Plus getting exceptions about contacts photos:

Exception: {"Exception":"InvalidArgumentException","Message":"OCA\ContactsPlus\Http\ImageResponse::setImage The image resource is not valid.","Code":0,"Trace":"#0 \/var\/www\/owncloud\/apps\/contactsplus\/http\/imageresponse.php(25): OCA\ContactsPlus\Http\ImageResponse->setImage(Object(OCP\Image))\n#1 \/var\/www\/owncloud\/apps\/contactsplus\/controller\/contactscontroller.php(687): OCA\ContactsPlus\Http\ImageResponse->__construct(Object(OCP\Image))\n#2 [internal function]: OCA\ContactsPlus\Controller\ContactsController->getContactPhoto('74')\n#3 \/var\/www\/owncloud\/lib\/private\/appframework\/http\/dispatcher.php(159): call_user_func_array(Array, Array)\n#4 \/var\/www\/owncloud\/lib\/private\/appframework\/http\/dispatcher.php(89): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\ContactsPlus\Controller\ContactsController), 'getContactPhoto')\n#5 \/var\/www\/owncloud\/lib\/private\/appframework\/app.php(108): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\ContactsPlus\Controller\ContactsController), 'getContactPhoto')\n#6 \/var\/www\/owncloud\/lib\/private\/appframework\/routing\/routeactionhandler.php(45): OC\AppFramework\App::main('ContactsControl...', 'getContactPhoto', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)\n#7 [internal function]: OC\AppFramework\routing\RouteActionHandler->__invoke(Array)\n#8 \/var\/www\/owncloud\/lib\/private\/route\/router.php(282): call_user_func(Object(OC\AppFramework\routing\RouteActionHandler), Array)\n#9 \/var\/www\/owncloud\/lib\/base.php(831): OC\Route\Router->match('\/apps\/contactsp...')\n#10 \/var\/www\/owncloud\/index.php(39): OC::handleRequest()\n#11 {main}","File":"\/var\/www\/owncloud\/apps\/contactsplus\/http\/imageresponse.php","Line":34}

And here is browser console: [Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error) https://xxx/index.php/apps/contactsplus/getcontactphoto/74(74, line 0)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27605598-exceptions-errors?utm_campaign=plugin&utm_content=tracker%2F19713444&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19713444&utm_medium=issues&utm_source=github).