Page 1 of 1

VersionController could not be found? Fixing API

Posted: Wed Nov 28, 2018 6:00 am
by maxiedaniels
When I go to http://myserver/zm/api/version.php, I get this:

Code: Select all

Missing Controller
Error: VersionController could not be found.

Error: Create the class VersionController below in file: app/Controller/VersionController.php
I'm using 1.32, on Ubuntu 18.04.

Re: VersionController could not be found? Fixing API

Posted: Thu Nov 29, 2018 2:06 am
by bbunge
That error does not mean the api is broken. I tested ZmNinja just the other day on Bionic/1.32.2 and it worked very well thank you...

Re: VersionController could not be found? Fixing API

Posted: Thu Nov 29, 2018 2:25 am
by rockedge
you are calling the API function getVersion????

Code: Select all

http://myserver/zm/api/version.php
the URL should read :

Code: Select all

http://myserver/zm/api/host/getVersion.json

Re: VersionController could not be found? Fixing API

Posted: Thu Nov 29, 2018 5:42 pm
by maxiedaniels
rockedge wrote: Thu Nov 29, 2018 2:25 am you are calling the API function getVersion????

Code: Select all

http://myserver/zm/api/version.php
the URL should read :

Code: Select all

http://myserver/zm/api/host/getVersion.json
WHOOPS. Okay, phew. Wow so it's all working! Thank you!!