NB, I updated another site on the same server and now that has the same
issue. (this was test site with hardly any content).

Here is a trace of the error

[WAR] cc (artefact/comment/lib.php:1187) Use of undefined constant 
LIBXML_HTML_NOIMPLIED - assumed 'LIBXML_HTML_NOIMPLIED'
Call stack (most recent first):

    log_message(string(size 81), integer, true, true, string(size 52), integer) 
at /home/tdmmahara/public_html/lib/errors.php:520
    error(integer, string(size 81), string(size 52), integer, array(size 2)) at 
/home/tdmmahara/public_html/artefact/comment/lib.php:1187
    ArtefactTypeComment::remove_comments_classes(string(size 10)) at 
/home/tdmmahara/public_html/artefact/comment/lib.php:1640
    add_feedback_form_submit(object(Pieform), array(size 7)) at 
/home/tdmmahara/public_html/lib/pieforms/pieform.php:544
    Pieform->__construct(array(size 9)) at 
/home/tdmmahara/public_html/lib/pieforms/pieform.php:166
    Pieform::process(array(size 9)) at 
/home/tdmmahara/public_html/lib/mahara.php:5400
    pieform(array(size 9)) at /home/tdmmahara/public_html/view/view.php:266

[WAR] cc (artefact/comment/lib.php:1187) Use of undefined constant 
LIBXML_HTML_NODEFDTD - assumed 'LIBXML_HTML_NODEFDTD'
Call stack (most recent first):

    log_message(string(size 79), integer, true, true, string(size 52), integer) 
at /home/tdmmahara/public_html/lib/errors.php:520
    error(integer, string(size 79), string(size 52), integer, array(size 2)) at 
/home/tdmmahara/public_html/artefact/comment/lib.php:1187
    ArtefactTypeComment::remove_comments_classes(string(size 10)) at 
/home/tdmmahara/public_html/artefact/comment/lib.php:1640
    add_feedback_form_submit(object(Pieform), array(size 7)) at 
/home/tdmmahara/public_html/lib/pieforms/pieform.php:544
    Pieform->__construct(array(size 9)) at 
/home/tdmmahara/public_html/lib/pieforms/pieform.php:166
    Pieform::process(array(size 9)) at 
/home/tdmmahara/public_html/lib/mahara.php:5400
    pieform(array(size 9)) at /home/tdmmahara/public_html/view/view.php:266

[WAR] cc (artefact/comment/lib.php:1187) DOMDocument::loadHTML() expects 
parameter 2 to be integer, string given
Call stack (most recent first):

    log_message(string(size 71), integer, true, true, string(size 52), integer) 
at /home/tdmmahara/public_html/lib/errors.php:520
    error(integer, string(size 71), string(size 52), integer, array(size 2)) at 
Unknown:0
    DOMDocument->loadHTML(string(size 10), string(size 21)) at 
/home/tdmmahara/public_html/artefact/comment/lib.php:1187
    ArtefactTypeComment::remove_comments_classes(string(size 10)) at 
/home/tdmmahara/public_html/artefact/comment/lib.php:1640
    add_feedback_form_submit(object(Pieform), array(size 7)) at 
/home/tdmmahara/public_html/lib/pieforms/pieform.php:544
    Pieform->__construct(array(size 9)) at 
/home/tdmmahara/public_html/lib/pieforms/pieform.php:166
    Pieform::process(array(size 9)) at 
/home/tdmmahara/public_html/lib/mahara.php:5400
    pieform(array(size 9)) at /home/tdmmahara/public_html/view/view.php:266

-- 
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:
  New

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to