Email form doesn't work in Version 11
Author: Gregory YanceyI have Version 11. CI have an email form on my website in which customers can contact me to get more information or join a mailing list. The form doesn't work. I get the same ERROR 500 Internal Server Error.
I contacted my webhosting company and they claim that the problem is with Website X5. They claim that their setting are at 5.4 PHP and that the script size is the issue and I need to reduce the size from 10MB.
I went into the Data Management section in Advanced Settings and changed the email form script type to Low quality Server Script and ran a test, but that didn't work. I, then, tried it under low level script. Neither worked. I had already tried the PHP Mailer and that didn't work either.
Please help me.
Gregory Yancey
www.TheFightingLawyer.com
Hello Gregory,
Contrary to what your webhost suggests, unfortunately it would appear that PHP is not configured correctly on your server.
This should be the URL to your WebSite X5 online control panel:
http://www.thefightinglawyer.com/admin/
However, this URL is also giving a 500 - Internal Server Error.
This type of error is specifically hosting related and not anything to do with WebSite X5 as such.
Who do you host with?
Your source code includes invalid HTML... the following script is located after your closing HTML tag:
<!-- text below generated by server. PLEASE REMOVE --><!-- Counter/Statistics data collection code --><script language="JavaScript" src="http://l.yimg.com/d/lib/smb/js/hosting/cp/js_source/whv2_001.js"></script><script language="javascript">geovisit();</script><noscript><img src="http://visit.webhosting.yahoo.com/visit.gif?us1470087254" alt="setstats" border="0" width="1" height="1"></noscript><script type="text/javascript" src="https://s.yimg.com/mi/vs4/ywa.js"></script><script type="text/javascript">try {var YWAGTracker = YWA.getTracker("10001849413879", "VSCALE4");YWAGTracker.setDocumentName("WPAGE");YWAGTracker.setDocumentGroup("YSBW");YWAGTracker.setCF(7, "thefightinglawyer.com");YWAGTracker.setCF(8, "w33");YWAGTracker.submit();} catch (eYWATCUnavailable) {}</script><script type="text/javascript">(function (d, w) {var x = d.getElementsByTagName('SCRIPT')[0];var f = function () {var s = d.createElement('SCRIPT');s.type = 'text/javascript';s.async = true;s.src = "//np.lexity.com/embed/YW/6c4b4e854744c8cd2e160bc535526588?id=e4212153c649";x[removed].insertBefore(s, x);};w.attachEvent ? w.attachEvent('onload',f) :w.addEventListener('load',f,false);}(document, window));</script>
Personally, I feel that this script may be related to your problem. Please have another word with your webhost and ask them to help you remove this script, which as the comments indicate is generated by the server.
Kind regards,
Paul