Page 1 of 1

Transfer to another hosting (Editable Content Admin)

Posted: Sun Dec 20, 2020 12:12 am
by NDV
Hello!
The attempt to transfer the site to a new hosting, transferred from a copy of the archive. What could be the mistake?
On the index.html page the text is displayed correctly.
The error is caused by Editable Content Admin. The project was created in WWB 16.0.1
There were no errors on the previous hosting.
The index.html and index.json file is not corrupted.
There are many such errors on all edited pages.
I've tried different bundles of Apache server and Apache + Nginx, php7.3/7.4, http2 MPM Apache (Worker, Event)
Please give directions where to look for the error?

Editable Content Admin:

Code: Select all

Warning: DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in ../index.html, line: 21 in /sites/help-it.mk.ua/wwbadm/contentadm.php on line 186
Warning: DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in ../index.html, line: 22 in /sites/help-it.mk.ua/wwbadm/contentadm.php on line 186
Warning: DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in ../index.html, line: 23 in /sites/help-it.mk.ua/wwbadm/contentadm.php on line 186
Warning: DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in ../index.html, line: 24 in /sites/help-it.mk.ua/wwbadm/contentadm.php on line 186
Warning: DOMDocument::loadHTMLFile(): Tag picture invalid in ../index.html, line: 722 in /sites/help-it.mk.ua/wwbadm/contentadm.php on line 186
Warning: DOMDocument::loadHTMLFile(): Tag picture invalid in ../index.html, line: 731 in /sites/help-it.mk.ua/wwbadm/contentadm.php on line 186
Warning: DOMDocument::loadHTMLFile(): Tag footer invalid in ../index.html, line: 764 in /sites/help-it.mk.ua/wwbadm/contentadm.php on line 186
Warning: DOMDocument::loadHTMLFile(): Tag footer invalid in ../index.html, line: 820 in /sites/help-it.mk.ua/wwbadm/contentadm.php on line 186
Report file index.html

Code: Select all

line: 21  <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,800,400,700&subset=cyrillic-ext" rel="stylesheet">
line: 22  <link href="https://fonts.googleapis.com/css?family=Roboto:900,400,900,400&subset=cyrillic,cyrillic-ext" rel="stylesheet">
line: 23  <link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300&subset=cyrillic-ext" rel="stylesheet">
line: 24  <link href="https://fonts.googleapis.com/css?family=Open+Sans:400&subset=cyrillic-ext" rel="stylesheet">
line: 722 <picture id="wb_Picture3">
line: 731 <picture id="wb_phone_cb">
Image

Re: Transfer to another hosting (Editable Content Admin)

Posted: Sun Dec 20, 2020 8:18 am
by Pablo
It looks like the warning level is set to strict.

Adding this to the start of the page may help:

Code: Select all

<?php
libxml_use_internal_errors(true);
?>
See also:
https://php.mivzakim.net/manual/de/domd ... adhtml.php

Re: Transfer to another hosting (Editable Content Admin)

Posted: Sun Dec 20, 2020 12:18 pm
by NDV
Thanks for the information!
Helped:

Code: Select all

<?php
libxml_use_internal_errors(true);
?>