Closed scossu closed 7 years ago
Thank you for reporting this issue. I could find the according place in the code. But anyways. Which version of OntoWiki are you using?
Could you also provide me with the URLs of the AJAX request, as well as you base URL of the OntoWiki installation?
If you use this branch https://github.com/AKSW/OntoWiki/tree/feature/menuProduceError you shouldn't get the AJAX errors anymore, but a message in the menu
Did you manage to fix this error?
Sorry for the late notice, I only received your last message in my email.
I have not fixed this in my own setup. Installing from Docker worked well but I have since deleted the self-built one. It should have been the current Github branch at that time. If I get a chance to rebuild it I will try the branch you are suggesting.
I am very new to Ontowiki, actually evaluating it.
I installed the app on Debian Squeeze with a Virtuoso backend. I compiled the latest Virtuoso (7.2.4.2) from source.
I created a new empty KB and added all the vocabularies available in the stock distribution: SKOS, FOAF, SIOC, etc.
I see my KB on the left hand side navigation menu (called "SKOS Vocabulary").
First off, if I click on the KB link on the left hand menu it sends me to the home page with the news. No class menu is shown below the KB menu.
I know that the class menu should be showing up because It had work in a different setup, but I cannot replicate the correct behavior any more.
Also, if I click on any of the "graph" icons that appear on the KB menu items, I get a pop-up with a spinning wheel that doesn't load anything else.
In my browser console I see that the AJAX request result in an error:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
and this is the response from the server:
In this case too I had it working in a different setup and I can no longer replicate it.
For what is worth, the same also happens with a MySQL backend.
Any help is appreciated. Thank you.