<![CDATA[ Parse Error Started showing up from eForm - My Forums]]> https://forums.modx.com/thread/?thread=97377 <![CDATA[Parse Error Started showing up from eForm]]> https://forums.modx.com/thread/97377/parse-error-started-showing-up-from-eform#dis-post-526607

« MODX Parse Error »
MODX encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error : htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument
ErrorType[num] : WARNING[2]
File : /home/saintmon/public_html/assets/snippets/eform/eform.inc.php
Line : 701
Source : $value = htmlspecialchars($value, ENT_QUOTES, $modx->config['modx_charset']);
Basic info
REQUEST_URI : http://www.saintmonicaconverse.net/index.php?id=19
Resource : [19]Contact Us
Current Snippet : eForm
Referer : http://www.saintmonicaconverse.net/index.php?id=19
User Agent : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.0.3705)
IP : 124.73.137.20
Benchmarks
MySQL : 0.0024 s (2 Requests)
PHP : 0.0114 s
Total : 0.0138 s
Memory : 3.12239837646 mb

Backtrace
1 DocumentParser->executeParser()
index.php on line 144
2 DocumentParser->prepareResponse()
manager/includes/document.parser.class.inc.php on line 1579
3 DocumentParser->outputContent()
manager/includes/document.parser.class.inc.php on line 1681
4 DocumentParser->parseDocumentSource()
manager/includes/document.parser.class.inc.php on line 596
5 DocumentParser->evalSnippets()
manager/includes/document.parser.class.inc.php on line 1461
6 DocumentParser->_get_snip_result()
manager/includes/document.parser.class.inc.php on line 1060
7 DocumentParser->evalSnippet()
manager/includes/document.parser.class.inc.php on line 1147
8 eval()
manager/includes/document.parser.class.inc.php on line 1009
9 require()
manager/includes/document.parser.class.inc.php(1009) : eval()'d code on line 1
10 eForm()
assets/snippets/eform/snippet.eform.php on line 100
11 formMerge()
assets/snippets/eform/eform.inc.php on line 666
12 htmlspecialchars()
assets/snippets/eform/eform.inc.php on line 701]]>
samtgrizz Jun 08, 2015, 03:09 PM https://forums.modx.com/thread/97377/parse-error-started-showing-up-from-eform#dis-post-526607
<![CDATA[Re: Parse Error Started showing up from eForm]]> https://forums.modx.com/thread/97377/parse-error-started-showing-up-from-eform#dis-post-526609

  • What version of eForm is in use
  • What version of Evo is in use
  • What charset is set in the manager (Tools => Configuration => Site Tab - Character encoding)

Check:

  • If your server has been updated - what PHP version is in use
  • If your database has been modified

Searching on this topic you will find that as of PHP5.4 the default charset for htmlspecialchars is "UTF-8".

If, in your manager, you are using anything other than UTF-8 that may well be the problem, so long the PHP version is 5.4+]]>
iusemodx Jun 08, 2015, 03:40 PM https://forums.modx.com/thread/97377/parse-error-started-showing-up-from-eform#dis-post-526609