Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem With header.php PLEASE HELP!


ctmbsns

Recommended Posts

Posted

Hello

I know this is a simple fix, but for some reason I'm over looking it.

 

That said...this is the message I'm getting:

 

Parse error: parse error, unexpected T_STRING in /home/xxxxxx/public_html/includes/header.php on line 57

 

And here is lines 55 to 62

 

    }
 }

 if ($messageStack->size('header') >0) {
   echo $messageStack->output('header');
 }
?>

 

ANY help will be GREATLY appretiated! Thank You!!

Posted

The code looks fine. The error might be from somewhere before this code. Look where you changed. It can be just semicolon or closing brace, etc.

Hope you find the problem already.

 

Michael

Posted

Try taking out one of the } or adding a }

 

It may not be in that segment of code though. When I get errors like that it is because I have either added a contribution and put the code in the wrong plwce (or didn't delete enough of something that i was told to) or I was re-aranging the layout and something is out of order.

 

Look to see if that page has a contribution added to it, then look at the instal instructions for that contribution and make sure it was done correctly. Good luck =)

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted

Thank you for your replies! I haven't added any contribs to this site yet, so that's ruled out. I have been pouring over the code from the beginning to slightly after the point that I posted, to no avail. I know it's some minor detail like a { missing or too many I just don't seem able to spot it. I appreciate the help, I certainly need it for!

 

Now I'm going back to staring at it for a few more hours, Thanks!

 

Chris

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...