mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #55591
[Bug 1843210] Re: Cannot add comments in a page
This appears to be a libxml issues, 2.7.6 is not enough for this to wor,
you need 2.7.7, unfortunately many compiles of PHP run with 2.7.6 still,
which caused the issues in our case
Removing the LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD part (as
below) does allow comments to work again.
// $dom->loadHTML($comment, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD);
$dom->loadHTML($comment);
I've checked the previous version of the code and this is what is
actually in there so assume this check is not required. Hopefully
someone can confirm but you should be able to safely remove this as per
the change above.
** Changed in: mahara
Assignee: (unassigned) => ian (muld77)
** Changed in: mahara
Status: New => Confirmed
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1843210
Title:
Cannot add comments in a page
Status in Mahara:
Confirmed
Bug description:
Hi,
When I added a comment by clicking the "Comment" button in a page, all
the contents of my comments were gone and just an empty comment was
shown (See the attached screenshot).
I edited and added some text again to this empty comment, it still did
not work. It seems that the comments cannot be saved.
I also tried to setup new sites for testing, tested both versions
19.04.0 and 19.04.01, the problem is still there.
My server environment:
Red Hat (RHEL) 6.10
Apache 2.4.39
PHP 7.2.19
MariaDB 10.2.16
Would you please help to check?
Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1843210/+subscriptions
References