Switched to a new host.. contact form no longer works

the error im getting is

Fatal error: Call to undefined function mb_strlen() in /home/site/public_html/submit.php on line 107

its a simple class.phpmailer.php script… what is mb_strlen? what could go wrong from switching from my old server to this server?

Try looking on the php website: http://php.net/manual/en/function.mb-strlen.php

What version of php are you now using ?

i looked but i dont know what any of that means… and my php version is PHP Version 5.2.12

Do you have the mbstring extension loaded on your new host (to find out have a look at your phpinfo(), it it’s loaded you’ll see an entry for it.

nope its not loaded… is that the same thing as the mbstring library? how do i enable it?

Unless you have your own server, you need to contact your hosting provider to get it enabled.

i have a vps with root access so i might be able to do it myself… where would i look to get this done?

See http://www.php.net/manual/en/mbstring.installation.php

got it enabled and my contact form is workin agn :slight_smile: thanks all!