Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting the app results in blank page and PHP Fatal error #30

Closed
didierm opened this issue Dec 2, 2016 · 13 comments
Closed

Starting the app results in blank page and PHP Fatal error #30

didierm opened this issue Dec 2, 2016 · 13 comments

Comments

@didierm
Copy link

didierm commented Dec 2, 2016

(possibly related to issue #26 ?)

After installing and activating the app (v0.2.9) on Nextcloud (v10.0.1), consulting its page (/index.php/apps/keeweb/) or clicking on a *.kdbx file yields an empty page, and the following PHP error :

PHP Fatal error: Cannot redeclare class OC\Config in /usr/share/nextcloud/lib/private/Config.php on line 41

@jhass
Copy link
Owner

jhass commented Dec 17, 2016

I'm unsure how the app could possibly cause that, are you sure it's not a general issue of your setup?

@Yamakasi
Copy link

I'm having the same as reported after supporting NC11 in #33

@jhass
Copy link
Owner

jhass commented Dec 18, 2016

@Yamakasi try 0.3.0, the changes #33 unfortunately weren't quite correct.

@Yamakasi
Copy link

@jhass I have that version (0.3.0) installed after your commit yesterday and it happens to stay blank.

@jhass
Copy link
Owner

jhass commented Dec 18, 2016

Try clearing your cache. Make sure you see the right version number when accessing /index.php/apps/keeweb/manifest.appcache.

#32 (comment)

@Yamakasi
Copy link

Yamakasi commented Dec 18, 2016

Hi should have been some cache I believe. Maybe it's good to tell in the docs you really need to empty them because ctrl + f5 doesn't fix it (have been there before).

Thanks! Noe we only need local storage usage without webdav :)

@Yamakasi
Copy link

Yamakasi commented Dec 18, 2016

@jhass I already see where it doesn't work, the latest Chromium shows a blank page and that where I use it as dekstop app.

Firefox works well, and Chromium was working on 0.2.9 with NC10

@jhass
Copy link
Owner

jhass commented Dec 18, 2016

Works just fine for me on Chromium. Please check your error consoles.

@Yamakasi
Copy link

@jhass: this is what I see, is this a cache issue ?

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'nonce-dXVJaERWb0o4bmVicFdTcE5QdnhRdFcyN0M1L2ZVeVhYTHFqOCtVMkV1RT06d0xoemUyTkdpRHlya2wzQ1ZZcmVHNDMweDM0b0N6VzRFNHJ1a001QVI0bz0=' 'unsafe-inline' 'unsafe-eval'". Note that 'unsafe-inline' is ignored if either a hash or nonce value is present in the source list.

Application Cache Error event: Manifest changed during update

@jhass
Copy link
Owner

jhass commented Dec 18, 2016

It looks like it, yes.

@Yamakasi
Copy link

Yamakasi commented Dec 18, 2016

@jhass Oh this is very wrong from me, I'm switching over to Chromium (with some updater) and didn't emty all cache yet, only last hour(s).

I should get some more sleep I guess as I'm kinda busy and making NextCloud my perfect tool! This tool helps with it ! Thanks!

@jfmcbrayer
Copy link

I have this error, with 0.2.9 in NC 10.0.4 (would update, but that seems to be the latest version of nextcloud-keeweb supported on NC 10, and I'm sticking with the NC version in my distro repositories). I get this error:

{PHP} Cannot declare class OC\Config, because the name is already in use at /usr/share/nextcloud/lib/private/Config.php#41

Can't look at /index.php/apps/keeweb/manifest.appcache, because that produces the same blank page and the same error in the logs.

@jhass
Copy link
Owner

jhass commented Feb 11, 2019

Please leave a comment if this is still an issue for anybody. Until then closing.

@jhass jhass closed this as completed Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants