Jump to content
MakeWebGames

Recommended Posts

Posted
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">

Posted
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

Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...