require(vendor/autoload.php): failed to open stream

What you’re missing is running composer install, which will import your packages and create the vendor folder, along with the autoload script. Make sure your relative path is correct. For example the example scripts in PHPMailer are in examples/, below the project root, so the correct relative path to load the composer autoloader from there … Read more

PHPMailer character encoding issues

If you are 100% sure $message contain ISO-8859-1 you can use utf8_encode as David says. Otherwise use mb_detect_encoding and mb_convert_encoding on $message. Also take note that $mail -> charSet = “UTF-8″; Should be replaced by: $mail->CharSet=”UTF-8”; And placed after the instantiation of the class (after the new). The properties are case sensitive! See the PHPMailer … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)