Script URL:
Version of script: 3.45
Hosting company: self-hosted
URL of phpinfo.php: https://drive.google.com/file/d/13k_WYE ... sp=sharing
URL of session_test.php: "OK: PHP sessions work fine."
What terms did you try when SEARCHING for a solution: rich text 500 error
Write your message below:
My server was on Ubuntu 18, and with the new Apache CVE, I needed to update. I set up a new server with Ubuntu 24 TLS, and installed Hesk 3.45. I then exported the database from the old server, and imported it into the new one. That accomplished most of the work, and I then manually duplicated settings from the old system (not copying the settings file).
We have the Rich Text editor enabled, and after ticket came in, I went to reply. When I submitted my reply, I got a 500 error. I rechecked permissions, and wasn't able to find an issue. I actually have 3 installations of Hesk installed on this system, once for each dept, and they all exhibit the same issue with the rich text editor enabled. If I set it to plain text, no issues. I'm guessing it must be a PHP or Apache issue, but I'm not seeing problems with any other part of Hesk. Even in the knowledgebase, I can use rich text just fine. It's only with ticket replies.
PHP 8.3.6
MySQL 8.0.36
Thanks,
Rich Text reply causes 500 errors
Moderator: mkoch227
Re: Rich Text reply causes 500 errors
Without any other error messages my guess is you don't have the DOM extension enabled in PHP (should be by default):
https://www.google.com/search?q=php+enable+dom
You can confirm this by looking at your phpinfo; is there a "dom" section with "DOM/XML" set to enabled?
https://www.google.com/search?q=php+enable+dom
You can confirm this by looking at your phpinfo; is there a "dom" section with "DOM/XML" set to enabled?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Rich Text reply causes 500 errors
Thank you, that fixed it
This was a new installation, and I just installed php using 'apt install php'. Perhaps they've taken the php-xml out of the standard install. Installing php-xml, then adding dom to the extensions section did the job.
This was a new installation, and I just installed php using 'apt install php'. Perhaps they've taken the php-xml out of the standard install. Installing php-xml, then adding dom to the extensions section did the job.