From 53d522acdb2a41187e72e0607d333fb588507dfd Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 7 Feb 2020 09:32:58 -0500 Subject: add note about cakephp errors --- docs/guides/validating-api.rst | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/guides/validating-api.rst b/docs/guides/validating-api.rst index a2acdfae..d682d656 100644 --- a/docs/guides/validating-api.rst +++ b/docs/guides/validating-api.rst @@ -31,7 +31,15 @@ helps) version/apiversion may be different. If you don't see such a response, your APIs are **not** working -- Step 5:make sure you can see monitors and events: +- Step 5: Make sure there are no CakePHP related errors that are hidden + + Unfortunately, even if the APIs display properly on your browser, it does not mean + they are working properly. Some times, you'll see cakePHP related errors that don't + show up in the browser but are basically hidden in the display. To make sure, when you + get the API results as above, do a right click->view page source and make sure you don't + see error messages before the API results. + +- Step 6:Make sure you can see monitors and events: Type in ``http://server/zm/api/monitors.json`` --> you should see a response like: @@ -48,7 +56,7 @@ response like: }] } -- Step 6: (If you find your APIs show ok, but zmNinja has issues) +- Step 7: (If you find your APIs show ok, but zmNinja has issues) - Open a browser, log into ZM - Open a new tab, enter ``http://server/zm/api/host/getVersion.json`` -- cgit v1.2.3