Loading WP core Thickbox through frontend

You need to add a call of wp_footer(); function. Do it before closing body tag in your footer.php file. It should look like this:

        <?php wp_footer(); ?>
    </body>
</html>

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