Skip to content

Failed to access database #32

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

Open
welblaud opened this issue Mar 12, 2018 · 1 comment
Open

Failed to access database #32

welblaud opened this issue Mar 12, 2018 · 1 comment

Comments

@welblaud
Copy link

If I try to connect/reconnect to the DB, information bubble is shown. I have no idea what is going about here. I tried to allow REST on the server but it didn’t help.

Error: Invalid URI "https//my.server.cz/rest/db?_query=xquery%20version%20%223.0%22;%0A%0Adeclare%20namespace%20expath=%22http://expath.org/ns/pkg%22;%0Adeclare%20namespace%20output=%22http://www.w3.org/2010/xslt-xquery-serialization%22;%0Adeclare%20option%20output:method%20%22json%22;%0Adeclare%20option%20output:media-type%20%22application/json%22;%0A%0Aif%20(%22http://exist-db.org/apps/atom-editor%22%20=%20repo:list())%20then%0A%20%20%20%20let%20$data%20:=%20repo:get-resource(%22http://exist-db.org/apps/atom-editor%22,%20%22expath-pkg.xml%22)%0A%20%20%20%20let%20$xml%20:=%20parse-xml(util:binary-to-string($data))%0A%20%20%20%20return%0A%20%20%20%20%20%20%20%20if%20($xml/expath:package/@version%20=%20%220.2.8%22)%20then%0A%20%20%20%20%20%20%20%20%20%20%20%20true()%0A%20%20%20%20%20%20%20%20else%0A%20%20%20%20%20%20%20%20%20%20%20%20$xml/expath:package/@version/string()%0Aelse%0A%20%20%20%20false()&_wrap=no"

@duncdrum
Copy link
Contributor

duncdrum commented Dec 9, 2018

can you confirm with what versions of exist, atom, and the plugin this is happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants