Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Mystery character appearing at top of every page. Help.


kru

Recommended Posts

Posted

The letter 't' is appearing at the top of every page on our site, including pop-up windows when you click on an image to enlarge it. Obviously this happened when we were making some sort of mod but it wasn't noticed until now and we can't trace it back to any recent mods, so who knows how long it's been there.

 

Anyway, what is the first thing loaded that allows text to be written to the screen? I've looked through all sorts of files and can't find this rogue character. When I view source for any given page, the character appears before everything else too.

 

I'm stumped. Please help.

 

Website is replacementradios.com, if you're curious...

Add-Ons personally installed:

Step by Step Manual Order -- Request Reviews -- Reviews in Product Listing -- Reviews in Product Display -- Review Approval System -- Leverage Browser Cache --
Header Tag Controller -- Multilayer SEO Pop Out Menu -- Follow Us Box -- View All Products -- USPS Shipping Labels -- UPS Shipping Labels -- Monthly Sales/Tax Report --
htacess Optimisation -- Remove Unused Images -- Master Password -- Admin Change Customer Password -- Database Backup Manager -- Zero Stock Report --
Searchbox Search In Descriptions -- Easy Populate 2.76i -- Barcode Rendering -- Admin Sort By Model -- Products Purchased Report

Add-Ons personally developed:

Search for email address, etc in Orders -- Discontinue Product

Add-Ons installed by others:

View Counter -- Site Monitor -- Image Thumbnailer -- Database Optimizer -- Recaptcha -- Discount Coupons -- Add More Fields

Posted

The letter 't' is appearing at the top of every page on our site, including pop-up windows when you click on an image to enlarge it. Obviously this happened when we were making some sort of mod but it wasn't noticed until now and we can't trace it back to any recent mods, so who knows how long it's been there.

 

Anyway, what is the first thing loaded that allows text to be written to the screen? I've looked through all sorts of files and can't find this rogue character. When I view source for any given page, the character appears before everything else too.

 

I'm stumped. Please help.

 

Website is replacementradios.com, if you're curious...

It's in one of the files that get "required" or "included" in application_top.php after the session is started

 

My guess is that it's at the very top before the opening PHP tag, or at the very bottom after the closing PHP tag.

 

One page it isn't on is your "all products page"... *COUGH* *COUGH*

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Either in every main page (all files, first directory) just after the body tag or somewhere in includes>>header.php (probably near the top)

My store is currently running Phoenix 1.0.3.0

I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 )

I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary

Posted

It's in one of the files that get "required" or "included" in application_top.php after the session is started

 

My guess is that it's at the very top before the opening PHP tag, or at the very bottom after the closing PHP tag.

 

One page it isn't on is your "all products page"... *COUGH* *COUGH*

 

Wow! Thanks for that catch. Doesn't solve the problem with the mystery character but at least the All Products page is working again. It was weird. Everything got truncated in that file, starting part way through line 20. What the heck would cause that?

 

Anyway, still looking for suggestions. I've been looking in the files referenced and haven't been able to find anything...

Add-Ons personally installed:

Step by Step Manual Order -- Request Reviews -- Reviews in Product Listing -- Reviews in Product Display -- Review Approval System -- Leverage Browser Cache --
Header Tag Controller -- Multilayer SEO Pop Out Menu -- Follow Us Box -- View All Products -- USPS Shipping Labels -- UPS Shipping Labels -- Monthly Sales/Tax Report --
htacess Optimisation -- Remove Unused Images -- Master Password -- Admin Change Customer Password -- Database Backup Manager -- Zero Stock Report --
Searchbox Search In Descriptions -- Easy Populate 2.76i -- Barcode Rendering -- Admin Sort By Model -- Products Purchased Report

Add-Ons personally developed:

Search for email address, etc in Orders -- Discontinue Product

Add-Ons installed by others:

View Counter -- Site Monitor -- Image Thumbnailer -- Database Optimizer -- Recaptcha -- Discount Coupons -- Add More Fields

Posted

Either in every main page (all files, first directory) just after the body tag or somewhere in includes>>header.php (probably near the top)

 

I don't believe it's in header.php because the header doesn't appear for the pop-up images (when you click on an item picture to enlarge it) but the mystery character still does As for being in every file, I don't see how that would be possible. There weren't any modifications done that would have required putting code in every file...

 

Any other suggestions folks?

Add-Ons personally installed:

Step by Step Manual Order -- Request Reviews -- Reviews in Product Listing -- Reviews in Product Display -- Review Approval System -- Leverage Browser Cache --
Header Tag Controller -- Multilayer SEO Pop Out Menu -- Follow Us Box -- View All Products -- USPS Shipping Labels -- UPS Shipping Labels -- Monthly Sales/Tax Report --
htacess Optimisation -- Remove Unused Images -- Master Password -- Admin Change Customer Password -- Database Backup Manager -- Zero Stock Report --
Searchbox Search In Descriptions -- Easy Populate 2.76i -- Barcode Rendering -- Admin Sort By Model -- Products Purchased Report

Add-Ons personally developed:

Search for email address, etc in Orders -- Discontinue Product

Add-Ons installed by others:

View Counter -- Site Monitor -- Image Thumbnailer -- Database Optimizer -- Recaptcha -- Discount Coupons -- Add More Fields

Posted

It's in the one of the files I said to look in.

 

Maybe not in the place I suggested, but in one of the files.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Here's a clue.

 

It doesn't show on any of the pages using these links in the footer:

 

OEM car radios | delco radio | factory car stereos | ford radio | factory radio
car radio repair | mp3 car stereo | radio repairs | refurbished car stereo

So what's different (codewise) between those pages and the pages where it does show?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Here's a clue.

 

It doesn't show on any of the pages using these links in the footer:

 

OEM car radios | delco radio | factory car stereos | ford radio | factory radio
car radio repair | mp3 car stereo | radio repairs | refurbished car stereo

So what's different (codewise) between those pages and the pages where it does show?

:unsure:

 

Found it!!

 

general.php

 

There was a t before the opening <php

 

As is my luck, it was in the third to last file on my list to check... Oh well. At least the annoying character is gone.

 

Thanks a bunch!

 

-Kevin

Add-Ons personally installed:

Step by Step Manual Order -- Request Reviews -- Reviews in Product Listing -- Reviews in Product Display -- Review Approval System -- Leverage Browser Cache --
Header Tag Controller -- Multilayer SEO Pop Out Menu -- Follow Us Box -- View All Products -- USPS Shipping Labels -- UPS Shipping Labels -- Monthly Sales/Tax Report --
htacess Optimisation -- Remove Unused Images -- Master Password -- Admin Change Customer Password -- Database Backup Manager -- Zero Stock Report --
Searchbox Search In Descriptions -- Easy Populate 2.76i -- Barcode Rendering -- Admin Sort By Model -- Products Purchased Report

Add-Ons personally developed:

Search for email address, etc in Orders -- Discontinue Product

Add-Ons installed by others:

View Counter -- Site Monitor -- Image Thumbnailer -- Database Optimizer -- Recaptcha -- Discount Coupons -- Add More Fields

Archived

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

×
×
  • Create New...