Page 1 of 1

[SOLVED] KB Suggestion not working in Admin Interface.

Posted: Wed Nov 09, 2011 8:02 pm
by missionarymike
Script URL: Virgin copy -> http://www.pearsondevelopment.com/sites/help/admin/
Version of script: v2.3
Hosting company: GoDaddy Hosting
URL of phpinfo.php: http://www.pearsondevelopment.com/extras/phpinfo.php
URL of session_test.php: http://www.pearsondevelopment.com/extra ... n_test.php
What terms did you try when SEARCHING for a solution: Admin search not working, knowledgebase suggest not working for admins. Search not working.

Write your message below:
Hello. I have a non modified version installed and the knowledgebase suggestions work fine on the user interface, but the little wheel keeps spinning when searching the private knowledgebase in the admin area.

The search works fine when the button is clicked, but the ajax doesn't complete for some reason.

Mike

Re: Knowledgebase Suggestion not working in admin interface.

Posted: Thu Nov 10, 2011 1:04 pm
by Klemen
Hello Mike,

You just found a bug, no idea how that got through beta testing and almost two months of usage and no one noticed it... Thanks for reporting this.

To fix the issue upload these two fixed files to your server:
http://www.phpjunkyard.com/extras/hesk2 ... ch_fix.zip

Then open your help desk, refresh the page (to force reload Javascript) and test.

Re: Knowledgebase Suggestion not working in admin interface.

Posted: Thu Nov 10, 2011 2:27 pm
by missionarymike
That fixed it.

Thanks.

Re: [SOLVED] KB Suggestion not working in Admin Interface.

Posted: Fri Jan 13, 2012 8:23 pm
by rorr
Thanks for the fix on this!

I had to go a step further when applying the new files. I noticed that if I clicked on a suggested link from the admin knowledgebase, it was calling out to go to "../admin/knowledgebase.php" which didn't exist in the admin directory. I duplicated the new "knowledgebase_private.php" file and renamed it to be just "knowledgebase.php" and all the suggested links worked fine. I don't see an issue with this, as the other knowledgebase.php file is in the root directory. Shouldn't be a problem right?

Re: [SOLVED] KB Suggestion not working in Admin Interface.

Posted: Sat Jan 14, 2012 8:28 am
by Klemen
Right, that should work too. I just prefer using two different file names to avoid confusion on which does what.