myxor / nextcloud-keeweb

Integrate Keeweb into Nextcloud
Other
0 stars 0 forks source link

error with 14.0.3: Exception: template file not found: template:keeweb #2

Open zeigerpuppy opened 6 years ago

zeigerpuppy commented 6 years ago

Hi @myxor

Thanks for keeping the keeweb nextcloud port alive. I have just been testing your master branch with NC 14.0.3. It installs and comes up fine but when I try to open a .kdbx file, I get the following error. I'd be happy to test any changes, but I'm not quite sure how to fix this error.

Is it working for you in NC 14.0.3?

Exception: template file not found: template:keeweb
    /var/www/nextcloud/lib/private/legacy/template.php - line 179:
    OC\Template\TemplateFileLocator->find("keeweb")
    /var/www/nextcloud/lib/private/legacy/template.php - line 87:
    OC_Template->findTemplate("", "keeweb", "keeweb")
    /var/www/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php - line 151:
    OC_Template->__construct("keeweb", "keeweb", "")
    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 119:
    OCP\AppFramework\Http\TemplateResponse->render()
    /var/www/nextcloud/lib/private/AppFramework/App.php - line 118:
    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Keeweb\C ... {}, "keeweb")
    /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
    OC\AppFramework\App::main("OCA\\Keeweb ... r", "keeweb", OC\AppFramew ... {}, { _route: "keeweb.page.keeweb"})
    OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "keeweb.page.keeweb"})
    /var/www/nextcloud/lib/private/Route/Router.php - line 297:
    call_user_func(OC\AppFramew ... {}, { _route: "keeweb.page.keeweb"})
    /var/www/nextcloud/lib/base.php - line 987:
    OC\Route\Router->match("/apps/keeweb/keeweb")
    /var/www/nextcloud/index.php - line 42:
    OC::handleRequest()
gymnae commented 6 years ago

I have the same problem. Maybe using one of the release tarballs from the original project and making the changes manually helps.

EDIT: Yes, this works.

  1. Download the latest release tarball from https://github.com/jhass/nextcloud-keeweb/releases
  2. Unpack into your apps directory
  3. Make the required edits in style.css and appinfo.xml as written in the commits of this fork
  4. Adjust the rights, if necessary
  5. If needed, run the mime check again: https://github.com/jhass/nextcloud-keeweb/pull/81
  6. Done.