Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What's happened here, it's all nonsense!


Chris Perkins

Recommended Posts

This happened after I went through routinely adding page titles, descriptions etc using the header tags addition:

 

http://www.predecimal.com/shop/

 

As you can see, it's fine under the meta part.....What caused this and how can I rectify it?

 

I suspect that an initial opening PHP tag <?php was either deleted or commented out.

 

Other things that can cause this are missing or mis-matched quotes, parenthesis, comment delimiters, or semicolons... Review the things you edited against the original to see what might be missing or commented out.

Link to comment
Share on other sites

But I only edited it using the Admin header tags creator thing. For this, I didn't manually touch the php files!

 

It seems to have somehow corrupted something.

 

I suppose I'll have to restore the header tag file.php (whatever it's called) to a version before I made changes and it went loopy.

 

 

I suspect that an initial opening PHP tag <?php was either deleted or commented out.

 

Other things that can cause this are missing or mis-matched quotes, parenthesis, comment delimiters, or semicolons... Review the things you edited against the original to see what might be missing or commented out.

Link to comment
Share on other sites

But I only edited it using the Admin header tags creator thing. For this, I didn't manually touch the php files!

 

It seems to have somehow corrupted something.

 

I suppose I'll have to restore the header tag file.php (whatever it's called) to a version before I made changes and it went loopy.

 

Review what you added, if something looks like a closing php tag ?> or a closing on a comment */ it could cause this. If you only have used alpha-numeric characters, then my guess is that something did get corrupted.

Link to comment
Share on other sites

Somehow, the playing around with the header tag module via the admin area bit caused the <?php to be deleted from the beginning of the header_tags file in /catalog/includes/ !!

 

How on earth did that happen! Oh well, thanks for your help, I've sorted it now.

 

Review what you added, if something looks like a closing php tag ?> or a closing on a comment */ it could cause this. If you only have used alpha-numeric characters, then my guess is that something did get corrupted.
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...