UPDATES EasyBlog 6.0.11 Released! Update to the latest version 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 offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

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