[SOLVED] HESK 3.5.1 - submitting new articles in knowledgebase leads to a white page

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
corsari
Posts: 12
Joined: Sun Dec 29, 2024 4:06 pm

[SOLVED] HESK 3.5.1 - submitting new articles in knowledgebase leads to a white page

Post by corsari »

Script URL:
Version of script: 3.5.1
Hosting company:
URL of phpinfo.php: 7.4.33 (MySQLi)
URL of session_test.php:
What terms did you try when SEARCHING for a solution: knowledgebase (in subjects only)

Write your message below:

hello I have successfully created tickets categories and created the first ticket

now I switched to the knowledgebase section

- I can create new knowledgebase categories and they are listed correctly
- I can TRY to add a new article and the creation page/form appears
- But when I click to save the new article it goes to https://the-url-of-my-site/admin/manage ... gebase.php and the page is totally empty , or totally white if you prefer and with developers tool I see error 500
- then I go back to the knowledgebase and I see that the article is not existent/saved

adding the usual debug code at top of the script

Code: Select all

ini_set('display_errors', 1); 
ini_set('display_startup_errors', 1);
error_reporting(E_ALL); 
kind suggestion , edit your support page https://www.hesk.com/knowledgebase/inde ... rticle=113 and suggest to add my code

it shows this message

Code: Select all

Fatal error: Uncaught Error: Class 'HTMLPurifier' not found in /web/htdocs/my-URL/home/inc/htmlpurifier/HeskHTMLPurifier.php:16 
Stack trace: 
#0 /web/htdocs/my-URL/home/admin/manage_knowledgebase.php(2112): require() 
#1 /web/htdocs/my-URL/home/admin/manage_knowledgebase.php(73): new_article() 
#2 {main} thrown in /web/htdocs/my-URL/home/inc/htmlpurifier/HeskHTMLPurifier.php on line 16
any hint or idea about the behavior?

Noticed now
editing email templates in plain text works
editing email templates in rich text HTML , leads again to error 500
Last edited by corsari on Sun Dec 29, 2024 6:18 pm, edited 1 time in total.
corsari
Posts: 12
Joined: Sun Dec 29, 2024 4:06 pm

[SOLVED] HESK 3.5.1 - submitting new articles in knowledgebase leads to a white page

Post by corsari »

Ok
Thank to the error

I have discovered that the library HTMLPurifier.standalone.php was uploaded incorrectly and its size was 0 bytes

well no library at all

I have re-uploaded the library and the issue is solved
Post Reply