Categories error fresh install

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Post Reply
leigh
Posts: 18
Joined: Fri Nov 10, 2017 6:05 pm

Categories error fresh install

Post by leigh »

Hi I have tried several fresh installs but am getting this when I log into the admin console and click categories

Error
An error occurred retrieving categories

Thank you
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Categories error fresh install

Post by mkoch227 »

If you open your browser's developer console (F12 on Chrome), what errors do you see?
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
leigh
Posts: 18
Joined: Fri Nov 10, 2017 6:05 pm

Re: Categories error fresh install

Post by leigh »

HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
(XHR)GET - http://net/hesk/api/index.php/v1/categories/all

[object Object]: {abort: function (e){var t=e||w;return u&&u.abort(t),k(0,t),this}, always: function (){return i.done(arguments).fail(arguments),this}, complete: function (){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this}, done: function (){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this}, error: function (){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this}...}
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Categories error fresh install

Post by mkoch227 »

Is your helpdesk public? If so, could you please provide the URL to your helpdesk?

Also, make sure you're running the latest version of Mods for HESK (3.2.2). There was a change in 3.2.2 that fixed API URIs for some users.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
leigh
Posts: 18
Joined: Fri Nov 10, 2017 6:05 pm

Re: Categories error fresh install

Post by leigh »

It isn't public its on network,
All latest versions are on downloaded from the site,
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Categories error fresh install

Post by mkoch227 »

If you navigate to http://net/hesk/api/index.php/v1/categories/all in your browser window, what response do you get? Copy and paste the response here.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
leigh
Posts: 18
Joined: Fri Nov 10, 2017 6:05 pm

Re: Categories error fresh install

Post by leigh »

404 not found error
Thanks,
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Categories error fresh install

Post by mkoch227 »

Double-check your helpdesk folder to make sure that there is an "api" folder, and a file in there named "index.php".

If the folder or the file is missing, re-download Mods for HESK and copy over the files so you have all of the necessary files.

If you do have the folder and file, copy over this index.php file (download at https://gitlab.com/mike-koch/Mods-for-H ... line=false) to your api folder, and then go to http://net/hesk/api/index.php/v1/categories/all. Provide the output here. Make sure to make a copy of your current /api/index.php file.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Post Reply