VersionController could not be found? Fixing API

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
maxiedaniels
Posts: 23
Joined: Sat Mar 10, 2018 1:34 am

VersionController could not be found? Fixing API

Post 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.
bbunge
Posts: 2932
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: VersionController could not be found? Fixing API

Post 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...
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: VersionController could not be found? Fixing API

Post 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
maxiedaniels
Posts: 23
Joined: Sat Mar 10, 2018 1:34 am

Re: VersionController could not be found? Fixing API

Post 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!!
Post Reply