Jump to content



Latest News: (loading..)

- - - - -

Strange Display

2.3.1.

  • Please log in to reply
8 replies to this topic

#1   pederb

pederb
  • Members
  • 442 posts
  • Real Name:Peder
  • Gender:Male
  • Location:Oakland, CA

Posted 18 June 2012 - 06:27 PM

Hello,

Can anyone tell me how to edit out "fred" that is showing up for some reason in the upper left corner (see screen capture) it is screwing with the layout in Explorer (right side boxes are now on the left side) but looks good with the exception of "fred" in Firefox? www.koolkatjazz.com


Thank you

Attached Files


Edited by pederb, 18 June 2012 - 06:29 PM.

-Peder Beckman-
Kool Kat Jazz Records

#2   DunWeb

DunWeb
  • Members
  • 12,713 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 18 June 2012 - 06:41 PM

@pederb

I would suggest that 'fred' has been added to the index.php, template_top.php or header.php files


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)  for more information and to contact me for professional osCommerce support that includes custom templates, add ons as well as cart leasing and support plans.

#3   pederb

pederb
  • Members
  • 442 posts
  • Real Name:Peder
  • Gender:Male
  • Location:Oakland, CA

Posted 18 June 2012 - 09:03 PM

Chris,

That's what I thought too, but after looking through them a couple of times I can't find "fred" anywhere ?

If you look at the attachment I just added, it finds it in firebug just below <body>, but I can't tell were to find it.

Cheers

Attached Files


Edited by pederb, 18 June 2012 - 09:11 PM.

-Peder Beckman-
Kool Kat Jazz Records

#4   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 18 June 2012 - 09:46 PM

The <body> tag should be almost at the bottom of /includes/template_top.php
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 >

#5   pederb

pederb
  • Members
  • 442 posts
  • Real Name:Peder
  • Gender:Male
  • Location:Oakland, CA

Posted 18 June 2012 - 10:02 PM

View Postgerm, on 18 June 2012 - 09:46 PM, said:

The <body> tag should be almost at the bottom of /includes/template_top.php

Yes I did find <body> but not fred?
-Peder Beckman-
Kool Kat Jazz Records

#6   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 18 June 2012 - 10:45 PM

Just after fred are some blank lines and a "canonincal" link tag, from some add-on I would say.

You might find fred in the files required for that add-on.
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 >

#7   14steve14

14steve14

    STORE OWNER NOT CODER

  • Members
  • 3,073 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Dorset UK

Posted 19 June 2012 - 07:06 AM

I had a similar error, and found the offending text in a language file. I had missed something when editing the file.
REMEMBER BACKUP, BACKUP AND BACKUP
I am not a coder, so dont bother sending PMs asking for help as you wont get any.  

OSC has a steep learning curve, but in general the program does work.  If it doesnt work, the chances are it is something you have done.

#8   MrPhil

MrPhil
  • Members
  • 4,119 posts
  • Real Name:Phil
  • Gender:Male

Posted 19 June 2012 - 03:41 PM

You should have a copy of your files on your PC, as a backup, anyway. Use the Windows "Search" facility to look for "fred", or better yet, get a copy of the "grep" utility. It will let you look not only for fixed text strings, but also for "regular expressions" (e.g., "function followed by one or more spaces, followed by tep_image" ==> grep -R "function *tep_image" *.php). If you have a Linux server and command line access (perhaps via a cron job), you can run grep on the server (it's built into Linux).

#9   pederb

pederb
  • Members
  • 442 posts
  • Real Name:Peder
  • Gender:Male
  • Location:Oakland, CA

Posted 19 June 2012 - 05:03 PM

View PostMrPhil, on 19 June 2012 - 03:41 PM, said:

You should have a copy of your files on your PC, as a backup, anyway. Use the Windows "Search" facility to look for "fred", or better yet, get a copy of the "grep" utility. It will let you look not only for fixed text strings, but also for "regular expressions" (e.g., "function followed by one or more spaces, followed by tep_image" ==> grep -R "function *tep_image" *.php). If you have a Linux server and command line access (perhaps via a cron job), you can run grep on the server (it's built into Linux).

Thank you, I download Grep and it found the problem and now we are back to normal

Cheers
-Peder Beckman-
Kool Kat Jazz Records