daftrude Posted April 11, 2011 Posted April 11, 2011 Fatal error: Cannot redeclare class headers in /.../.../public_html/header.php on line 3 Any Thoughts? Quote
daftrude Posted April 11, 2011 Author Posted April 11, 2011 you included 2x the header.php... I don't think so, I didn't alter the original part of this code at all. This is the error: Fatal error: Cannot redeclare class headers in /.../.../public_html/header.php on line 3 This is the corresponding code: <?php class headers { function startheaders() { global $ir, $set; echo <<<EOF <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Quote
Djkanna Posted April 11, 2011 Posted April 11, 2011 I don't think so, I didn't alter the original part of this code at all. This is the error: Fatal error: Cannot redeclare class headers in /.../.../public_html/header.php on line 3 This is the corresponding code: <?php class headers { function startheaders() { global $ir, $set; echo <<<EOF <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Nope a_bertrand is correct you've included header.php twice, check your globals.php Quote
daftrude Posted April 11, 2011 Author Posted April 11, 2011 Nope a_bertrand is correct you've included header.php twice, check your globals.php ya i guess its NOT safe to assume that coding people distribute for money is correct. any parts ive changed or added have been completely functional. this has been my main issue the whole time. lol. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.