owncloud-archive / news

:newspaper: News app for ownCloud
GNU Affero General Public License v3.0
290 stars 106 forks source link

Can't see any feed #1023

Open raztud opened 7 years ago

raztud commented 7 years ago

IMPORTANT

Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)

Explain the Problem

What problem did you encounter? Can't see any feed content.

Steps to Reproduce

Explain what you did to encounter the issue

  1. I downloaded news app archive as described "Go to the ownCloud News GitHub releases page and download the latest release/archive to your server"
  2. I enabled the app, updated the db.
  3. When I click on any feed, I can see just the spinner loading and in data/owncloud.log i have the error above.

System Information

Contents of owncloud/data/owncloud.log


{"reqId":"Kuoj0bVcV8Hgq\/JWpEyh","remoteAddr":"5.104.159.12","app":"index","message":"Exception: {\"Exception\":\"BadFunctionCallException\",\"Message\":\"contentHash is not a valid attribute\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/lib\\\/public\\\/AppFramework\\\/Db\\\/Entity.php(145): OCP\\\\AppFramework\\\\Db\\\\Entity->setter('contentHash', Array)\\n#1 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/lib\\\/public\\\/AppFramework\\\/Db\\\/Entity.php(69): OCP\\\\AppFramework\\\\Db\\\\Entity->__call('setContentHash', Array)\\n#2 [internal function]: OCP\\\\AppFramework\\\\Db\\\\Entity::fromRow(Array)\\n#3 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/lib\\\/public\\\/AppFramework\\\/Db\\\/Mapper.php(331): call_user_func('OCA\\\\\\\\News\\\\\\\\Db\\\\\\\\Ite...', Array)\\n#4 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/lib\\\/public\\\/AppFramework\\\/Db\\\/Mapper.php(350): OCP\\\\AppFramework\\\\Db\\\\Mapper->mapRowToEntity(Array)\\n#5 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/apps\\\/news\\\/db\\\/itemmapper.php(191): OCP\\\\AppFramework\\\\Db\\\\Mapper->findEntities('SELECT `items`....', Array, 40)\\n#6 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/apps\\\/news\\\/db\\\/itemmapper.php(212): OCA\\\\News\\\\Db\\\\ItemMapper->findEntitiesIgnoringNegativeLimit('SELECT `items`....', Array, 40)\\n#7 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/apps\\\/news\\\/service\\\/itemservice.php(97): OCA\\\\News\\\\Db\\\\ItemMapper->findAllFeed(80, 40, 0, 2, false, 'myuser', Array)\\n#8 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/apps\\\/news\\\/controller\\\/itemcontroller.php(110): OCA\\\\News\\\\Service\\\\ItemService->findAll(80, 0, 40, 0, false, false, 'myuser', Array)\\n#9 [internal function]: OCA\\\\News\\\\Controller\\\\ItemController->index(0, 80, 40, 0, false, false, Array)\\n#10 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(159): call_user_func_array(Array, Array)\\n#11 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OCA\\\\News\\\\Controller\\\\ItemController), 'index')\\n#12 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/lib\\\/private\\\/AppFramework\\\/App.php(99): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\News\\\\Controller\\\\ItemController), 'index')\\n#13 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(46): OC\\\\AppFramework\\\\App::main('OCA\\\\\\\\News\\\\\\\\Contro...', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#14 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#15 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/lib\\\/private\\\/Route\\\/Router.php(280): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#16 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/lib\\\/base.php(891): OC\\\\Route\\\\Router->match('\\\/apps\\\/news\\\/item...')\\n#17 \\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/index.php(54): OC::handleRequest()\\n#18 {main}\",\"File\":\"\\\/usr\\\/home\\\/raztud\\\/mycloud\\\/owncloud_9.1.2\\\/lib\\\/public\\\/AppFramework\\\/Db\\\/Entity.php\",\"Line\":114}","level":3,"time":"2016-12-19T09:34:55+00:00","method":"GET","url":"\/index.php\/apps\/news\/items?id=80&limit=40&oldestFirst=false&search=&showAll=false&type=0","user":"myuser"}

Contents of Browser Error Console

Read http://ggnome.com/wiki/Using_The_Browser_Error_Console if you are unsure what to put here


Failed to load resource: the server responded with a status of 500 (Internal Server Error)