UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Problem in site details optional field

Dennis Buijs · ·
5:03 PM Thursday, 11 October 2018
Low
Hi

I encountered a problem when somebody add some site details.

The xx_discuss_users table field site:
{"siteUrl":"http:\/\/pood4.xxx.ee\/","siteUsername":"help","sitePassword":"help","ftpUrl":"http://www.xxx.ee";,"ftpUsername":"help.mybody.ee","ftpPassword":"xxx","optional":"Website admin\r\nAddress website: http:\/\/pood4.xxx.ee\/\r\nUser: help\r\nPass: help\r\n\r\nFtp info\r\nServer: http://www.xxx.ee\r\nUser: help.xxx.ee\r\nPass: xxx"}

The problem is part Optional, \r\n gives an error, when I remove these characters it is fine:

Error: 0 - Error decoding JSON data: Control character error, possibly incorrectly encoded.

Somewhere in administrator\components\com_easydiscuss\includes\post\post.php at line 6236:
$siteDetails = new JRegistry($postOwner->get('site'));

Best regards
Dennis
The replies under this section are restricted to logged in users or users with an active subscription with us