PHP Error: /var/www/vhosts/breakoutwest.ca/httpdocs/packages/formify/src/FormifyTemplate.php:300 DOMDocumentFragment::appendXML(): Entity: line 3: parser error

Permalink Browser Info Environment
Certain foreign characters seem to break something in the xml/php. I have had a french Canadian user post a paragraph and the following characters threw this parse error:

DOMDocumentFragment::appendXML()


Characters that caused the issue:
(ellipsis character)
â


As a temp fix I simply ran an htmlentities function prior to the
(packages/formify/src/FormifyTemplate.php:300)

//new function
$content = htmlentities($content);
$newFrag->appendXML($content);

Type: Ticket
Status: Archived
goodsir
View Replies:
jgarcia replied on at Permalink Reply
jgarcia
This should be fixed in version 3.0+
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.2.1
Version Installed - 8.2.1
Database Version - 20170802000000

# concrete5 Packages
Colorpicker Attribute (0.4), ExchangeCore reCAPTCHA (1.1.1), Fileset Attribute (1.0), Formify (2.6.5.2), Open Graph Tags Lite (2.1.3), Page Redirect (2.0), Page Selector Attribute (2.0), Spacer (0.9.0)

# concrete5 Overrides
blocks/manual_nav/controller.php, blocks/manual_nav/icon.png, blocks/manual_nav/add.php, blocks/manual_nav/db.xml, blocks/manual_nav/edit_row.php, blocks/manual_nav/edit.php, blocks/manual_nav/view.php, blocks/manual_nav, blocks/artist/form.php, blocks/artist/controller.php, blocks/artist/icon.png, blocks/artist/add.php, blocks/artist/composer.php, blocks/artist/db.xml, blocks/artist/config.json, blocks/artist/edit.php, blocks/artist/view.php, blocks/artist, blocks/content/templates/max_width/view.php, blocks/content/templates/max_width, blocks/content/templates/callout/view.php, blocks/content/templates/callout, blocks/content/templates, blocks/content, blocks/two_column_content/auto.js, blocks/two_column_content/controller.php, blocks/two_column_content/icon.png, blocks/two_column_content/add.php, blocks/two_column_content/db.xml, blocks/two_column_content/edit.php, blocks/two_column_content/view.php, blocks/two_column_content, blocks/header_callout/auto.js, blocks/header_callout/controller.php, blocks/header_callout/icon.png, blocks/header_callout/add.php, blocks/header_callout/db.xml, blocks/header_callout/edit.php, blocks/header_callout/view.php, blocks/header_callout, blocks/topic_list/templates/pills/view.php, blocks/topic_list/templates/pills, blocks/topic_list/templates, blocks/topic_list, blocks/form/templates/placeholder/view.php, blocks/form/templates/placeholder, blocks/form/templates, blocks/form, blocks/callout/auto.js, blocks/callout/controller.php, blocks/callout/icon.png, blocks/callout/add.php, blocks/callout/db.xml, blocks/callout/edit.php, blocks/callout/view.php, blocks/callout, blocks/header_title/form.php, blocks/header_title/controller.php, blocks/header_title/icon.png, blocks/header_title/add.php, blocks/header_title/composer.php, blocks/header_title/db.xml, blocks/header_title/config.json, blocks/header_title/edit.php, blocks/header_title/view.php, blocks/header_title, blocks/autonav/templates/main_nav/view.php, blocks/autonav/templates/main_nav, blocks/autonav/templates/breadcrumb/view.php, blocks/autonav/templates/breadcrumb, blocks/autonav/templates/sidebar/view.php, blocks/autonav/templates/sidebar, blocks/autonav/templates, blocks/autonav, blocks/repeatable_callout/tools/ajax.php, blocks/repeatable_callout/tools, blocks/repeatable_callout/form.php, blocks/repeatable_callout/controller.php, blocks/repeatable_callout/icon.png, blocks/repeatable_callout/add.php, blocks/repeatable_callout/db.xml, blocks/repeatable_callout/edit.php, blocks/repeatable_callout/view.php, blocks/repeatable_callout/scrapbook.php, blocks/repeatable_callout, blocks/fma/templates/steps/view.php, blocks/fma/templates/steps, blocks/fma/templates/image_fma/view.php, blocks/fma/templates/image_fma, blocks/fma/templates, blocks/fma/tools/ajax.php, blocks/fma/tools, blocks/fma/form.php, blocks/fma/controller.php, blocks/fma/icon.png, blocks/fma/add.php, blocks/fma/db.xml, blocks/fma/edit.php, blocks/fma/view.php, blocks/fma/scrapbook.php, blocks/fma, blocks/video_text/form.php, blocks/video_text/controller.php, blocks/video_text/icon.png, blocks/video_text/add.php, blocks/video_text/composer.php, blocks/video_text/db.xml, blocks/video_text/config.json, blocks/video_text/edit.php, blocks/video_text/view.php, blocks/video_text, blocks/fluid_image/templates/homepage/view.php, blocks/fluid_image/templates/homepage, blocks/fluid_image/templates, blocks/fluid_image/controller.php, blocks/fluid_image/icon.png, blocks/fluid_image/add.php, blocks/fluid_image/db.xml, blocks/fluid_image/edit.php, blocks/fluid_image/view.php, blocks/fluid_image, blocks/image_text/form.php, blocks/image_text/controller.php, blocks/image_text/icon.png, blocks/image_text/add.php, blocks/image_text/composer.php, blocks/image_text/db.xml, blocks/image_text/config.json, blocks/image_text/edit.php, blocks/image_text/view.php, blocks/image_text, blocks/page_list/templates/blog/view.php, blocks/page_list/templates/blog, blocks/page_list/templates/default/view.php, blocks/page_list/templates/default, blocks/page_list/templates/three_column/view.php, blocks/page_list/templates/three_column, blocks/page_list/templates/event/view.php, blocks/page_list/templates/event, blocks/page_list/templates/two_column/view.php, blocks/page_list/templates/two_column, blocks/page_list/templates, blocks/page_list, controllers/ajax/registration.php, controllers/ajax, controllers/page_types/registration.php, controllers/page_types, controllers/single_page/dashboard/breakoutwest.php, controllers/single_page/dashboard/breakoutwest/registration.php, controllers/single_page/dashboard/breakoutwest, controllers/single_page/dashboard, controllers/single_page, elements/social.php, elements/newsletter.php, elements/backend/export.php, elements/backend, elements/registration/user-registration.php, elements/registration, attributes/social_links/form.php, attributes/social_links/controller.php, attributes/social_links, single_pages/dashboard/breakoutwest.php, single_pages/dashboard/breakoutwest/registration.php, single_pages/dashboard/breakoutwest, single_pages/dashboard, themes/breakoutwest/blog.php, themes/breakoutwest/event.php, themes/breakoutwest/description.txt, themes/breakoutwest/registration.php, themes/breakoutwest/home.php, themes/breakoutwest/css/fonts/iconFont.woff, themes/breakoutwest/css/fonts/iconFont.woff2, themes/breakoutwest/css/fonts, themes/breakoutwest/css/edit.css, themes/breakoutwest/css/imgs/tablesorter/icons.png, themes/breakoutwest/css/imgs/tablesorter/asc.gif, themes/breakoutwest/css/imgs/tablesorter/desc.gif, themes/breakoutwest/css/imgs/tablesorter/bg.gif, themes/breakoutwest/css/imgs/tablesorter, themes/breakoutwest/css/imgs/footer-bg.svg, themes/breakoutwest/css/imgs/hamburglar.gif, themes/breakoutwest/css/imgs/owl/grabbing.png, themes/breakoutwest/css/imgs/owl/AjaxLoader.gif, themes/breakoutwest/css/imgs/owl, themes/breakoutwest/css/imgs, themes/breakoutwest/css/styles.css, themes/breakoutwest/css, themes/breakoutwest/about.php, themes/breakoutwest/page.php, themes/breakoutwest/default.php, themes/breakoutwest/page_landing.php, themes/breakoutwest/includes/head.php, themes/breakoutwest/includes/theme-styles.php, themes/breakoutwest/includes/inner-header.php, themes/breakoutwest/includes/breadcrumb.php, themes/breakoutwest/includes/footer.php, themes/breakoutwest/includes/header.php, themes/breakoutwest/includes, themes/breakoutwest/page_theme.php, themes/breakoutwest/js/checkout/checkout.js, themes/breakoutwest/js/checkout, themes/breakoutwest/js/vendor/jquery.scrollTo.min.js, themes/breakoutwest/js/vendor/tablesorter.js, themes/breakoutwest/js/vendor/jquery.localScroll.min.js, themes/breakoutwest/js/vendor/owl.carousel.min.js, themes/breakoutwest/js/vendor/enquire.min.js, themes/breakoutwest/js/vendor/lity.min.js, themes/breakoutwest/js/vendor/uniform.js, themes/breakoutwest/js/vendor/fastclick.js, themes/breakoutwest/js/vendor, themes/breakoutwest/js/min/checkout.js, themes/breakoutwest/js/min/app.js, themes/breakoutwest/js/min, themes/breakoutwest/js/app/main.js, themes/breakoutwest/js/app/navigation.js, themes/breakoutwest/js/app/plugins.js, themes/breakoutwest/js/app, themes/breakoutwest/js, themes/breakoutwest/scss/pages/_registration.scss, themes/breakoutwest/scss/pages/_home.scss, themes/breakoutwest/scss/pages/_event.scss, themes/breakoutwest/scss/pages/_jury-form.scss, themes/breakoutwest/scss/pages/_blog.scss, themes/breakoutwest/scss/pages, themes/breakoutwest/scss/core/_icons.scss, themes/breakoutwest/scss/core/_global-classes.scss, themes/breakoutwest/scss/core/_typography.scss, themes/breakoutwest/scss/core/icons-template.scss, themes/breakoutwest/scss/core/_variables.scss, themes/breakoutwest/scss/core/_base.scss, themes/breakoutwest/scss/core/_normalize.scss, themes/breakoutwest/scss/core, themes/breakoutwest/scss/bootstrap/utilities/_flex.scss, themes/breakoutwest/scss/bootstrap/utilities/_spacing.scss, themes/breakoutwest/scss/bootstrap/utilities, themes/breakoutwest/scss/bootstrap/_variables.scss, themes/breakoutwest/scss/bootstrap/_custom.scss, themes/breakoutwest/scss/bootstrap/_bootstrap-grid.scss, themes/breakoutwest/scss/bootstrap/mixins/_clearfix.scss, themes/breakoutwest/scss/bootstrap/mixins/_grid-framework.scss, themes/breakoutwest/scss/bootstrap/mixins/_breakpoints.scss, themes/breakoutwest/scss/bootstrap/mixins/_grid.scss, themes/breakoutwest/scss/bootstrap/mixins, themes/breakoutwest/scss/bootstrap/_grid.scss, themes/breakoutwest/scss/bootstrap, themes/breakoutwest/scss/styles.scss, themes/breakoutwest/scss/vendor/_lity.scss, themes/breakoutwest/scss/vendor/_owl-transitions.scss, themes/breakoutwest/scss/vendor/_owl.scss, themes/breakoutwest/scss/vendor, themes/breakoutwest/scss/blocks/_image-text.scss, themes/breakoutwest/scss/blocks/_header-callout.scss, themes/breakoutwest/scss/blocks/_callout.scss, themes/breakoutwest/scss/blocks/_artist.scss, themes/breakoutwest/scss/blocks/_header-title.scss, themes/breakoutwest/scss/blocks/_video-text.scss, themes/breakoutwest/scss/blocks/_pagelist.scss, themes/breakoutwest/scss/blocks/_two-column-content.scss, themes/breakoutwest/scss/blocks, themes/breakoutwest/scss/layout/_header.scss, themes/breakoutwest/scss/layout/_footer.scss, themes/breakoutwest/scss/layout/_layout.scss, themes/breakoutwest/scss/layout, themes/breakoutwest/scss/components/_fma.scss, themes/breakoutwest/scss/components/_forms.scss, themes/breakoutwest/scss/components/_breadcrumb.scss, themes/breakoutwest/scss/components/_callout.scss, themes/breakoutwest/scss/components/_slider-callouts.scss, themes/breakoutwest/scss/components/_banner.scss, themes/breakoutwest/scss/components/_social.scss, themes/breakoutwest/scss/components/_flash-message.scss, themes/breakoutwest/scss/components/_card.scss, themes/breakoutwest/scss/components/_filter-bar.scss, themes/breakoutwest/scss/components/_featured-block.scss, themes/breakoutwest/scss/components/_lightboxes.scss, themes/breakoutwest/scss/components/_pagination.scss, themes/breakoutwest/scss/components/_newsletter.scss, themes/breakoutwest/scss/components, themes/breakoutwest/scss, themes/breakoutwest/page_full.php, themes/breakoutwest/icons/uE004-chevron-up.svg, themes/breakoutwest/icons/uE006-twitter.svg, themes/breakoutwest/icons/uE011-minus.svg, themes/breakoutwest/icons/uE007-soundcloud.svg, themes/breakoutwest/icons/uE009-facebook.svg, themes/breakoutwest/icons/uE001-chevron-down.svg, themes/breakoutwest/icons/uE013-menu.svg, themes/breakoutwest/icons/uE003-chevron-right.svg, themes/breakoutwest/icons/uE012-cross.svg, themes/breakoutwest/icons/uE014-play.svg, themes/breakoutwest/icons/uE008-instagram.svg, themes/breakoutwest/icons/uE010-plus.svg, themes/breakoutwest/icons/uE005-youtube.svg, themes/breakoutwest/icons/uE002-chevron-left.svg, themes/breakoutwest/icons, themes/breakoutwest/view.php, themes/breakoutwest/thumbnail.png, themes/breakoutwest/imgs/logo-tag.svg, themes/breakoutwest/imgs/logo-stripe.png, themes/breakoutwest/imgs/logo-no-date.svg, themes/breakoutwest/imgs/logo.svg, themes/breakoutwest/imgs, themes/breakoutwest, src/Helper/Breakoutwest.php, src/Helper, src/Registration/Backend.php, src/Registration/Coupon.php, src/Registration/Checkout.php, src/Registration/EventRegistration.php, src/Registration/Notifications.php, src/Registration, src/Sharing/SocialNetwork/ServiceList.php, src/Sharing/SocialNetwork, src/Sharing

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
7.0.27

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, redis, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 10M
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.