I've recently moved a site to a new server and I'm now experiencing an issue with sending forms using formit.
When you submit the form a number of errors return, but they all point to the same file and line (see attached screenshot for full list)
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 6: parser error : Opening and ending tag mismatch: hr line 5 and body in /home/sese1635/public_html/core/model/modx/rest/modrestclient.class.php on line 229
Warning: simplexml_load_string() [function.simplexml-load-string]: <script type="text/javascript">
DIS.config.attachments_max_per_post = 5;
DIS.DISModifyPost.init({
attachments: 2
});
</script>
</body> in /home/sese1635/public_html/core/model/modx/rest/modrestclient.class.php on line 229.......
I'm hoping that someone can point me in the right direction as the form was working fine on the test server, albeit a different server.
Any assistance would be greatly appreciated.
[ed. note: jbundey last edited this post 13 years, 11 months ago.]
-
☆ A M B ☆
- 24,524 Posts
It almost looks like it's trying to load some sort of error page or something instead of the content that is expected; why should sending email have anything like javascript tags in it?