Page 1 of 1

Including wordpress header gives me error Constant DB_PASSWO

Posted: Tue Nov 27, 2012 3:51 pm
by gdognight
Here is what I am using for the script to incldue the header.

<?php
require( '../wp-load.php' );
get_header();
echo 'new content outside WordPress';
?>

It works like a charm on a blank page but if I put it onto the open cart header.tpl it gives the below error.

Notice: Constant DB_PASSWORD already defined in /home3/pacifji5/public_html/wp-config.php on line 25Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'pacifji5_wpuser'@'localhost' (using password: YES) in /home3/pacifji5/public_html/wp-includes/wp-db.php on line 1040
Error establishing a database connection

Any ideas?

Re: Including wordpress header gives me error Constant DB_PA

Posted: Wed Nov 28, 2012 8:18 am
by gdognight
Anyone anyone Bueler Bueler?