Page 1 of 1
Categories error fresh install
Posted: Sun Nov 19, 2017 11:33 am
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
Re: Categories error fresh install
Posted: Sun Nov 19, 2017 4:59 pm
by mkoch227
If you open your browser's developer console (F12 on Chrome), what errors do you see?
Re: Categories error fresh install
Posted: Sun Nov 19, 2017 5:31 pm
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}...}
Re: Categories error fresh install
Posted: Sun Nov 19, 2017 11:37 pm
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.
Re: Categories error fresh install
Posted: Mon Nov 20, 2017 5:53 pm
by leigh
It isn't public its on network,
All latest versions are on downloaded from the site,
Re: Categories error fresh install
Posted: Mon Nov 20, 2017 6:00 pm
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.
Re: Categories error fresh install
Posted: Thu Nov 23, 2017 3:20 pm
by leigh
404 not found error
Thanks,
Re: Categories error fresh install
Posted: Fri Nov 24, 2017 8:47 pm
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.