exclude category in loop.php

You’ve misplaced the apostrophe.

query_posts('cat=-1'); while ( have_posts() ) : the_post(); ?>

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