AppSuite:UI FAQ: Difference between revisions
No edit summary |
|||
Line 7: | Line 7: | ||
This means you managed to find a bug even before our error message module could be loaded. There is something rather basic broken, maybe the DB connection or some of the standard .js | This means you managed to find a bug even before our error message module could be loaded. There is something rather basic broken, maybe the DB connection or some of the standard .js | ||
The only hint we can give from a UI perspective is to use the developer console on your browser and, if applicable, turn on "halt on all errors" or " | The only hint we can give from a UI perspective is to use the developer console on your browser and, if applicable, turn on "halt on all errors" or "preserve logging data". You might see an error message that otherwise gets eaten by a redirect. | ||
If you are running the backend yourself, you are in luck, go, look at the server error log. | If you are running the backend yourself, you are in luck, go, look at the server error log. |
Revision as of 12:23, 5 December 2013
Synopsis: Frequently asked questions about running the App Suite UI. If you need a tool set for finding things out about the UI, see AppSuite:Debugging the UI.
Getting the UI started
Frequently asked by new developers. And forgetful veterans. Who therefore write documentation pieces like this.
Does show the login screen after logging in
This means you managed to find a bug even before our error message module could be loaded. There is something rather basic broken, maybe the DB connection or some of the standard .js
The only hint we can give from a UI perspective is to use the developer console on your browser and, if applicable, turn on "halt on all errors" or "preserve logging data". You might see an error message that otherwise gets eaten by a redirect.
If you are running the backend yourself, you are in luck, go, look at the server error log.
Does not load, fails with error: Could not read...
"Could not read 'io.ox/core/http.js'" "Could not read 'io.ox/core/events.js'"
That's not all, the system is probably hiding even more errors. It is more probable that the whole UI cannot be found. Check the com.openexchange.apps.path, usually hidden in manifests.properties. Does it point to where your webserver serves the files from? The default is /var/www/appsuite, on OSX is is more likely to be /Libraries/WebServer/Documents/appsuite
App Suite loads, but no apps show up
So bother backend and frontend are devoid of errors, the UI loads nicely, you see the top bar with settings, notifications and refresh button but no apps at all, right? This is a manifest problem. Check the capabilities (see hint in the beginning of this page). If even those are correct, check the backend's /tmp folder and the manifest.properties there: Are the paths of com.openexchange.apps.path and com.openexchange.apps.manifestPath pointing to your build directory?