Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Missing Header


Recommended Posts

Hi

 

I have just done a manufacturers search on our site, and notice that the header is missing. It may have been missing for sometime. Heres what I see 

 

part of the url ..../index.php?manufacturers_id=13

then using Firebug. I see the following (Nothing between the .<h1></h1>)

 

<div class="page header">

  <h1></h1>
</div>

 

I have had a look around to try and find the relative file but haven't found it so far.

Can someone tell me please where I might find this file

 

Many thanks

 

Grandpa

Link to comment
Share on other sites

@@Hotclutch

 

Hi Ashley

 

Many thanks for taking a look.

 

I suspect that the line of code in  index.php which calls the Manufacturers search page is possibly this

 

<h1><?php echo $category['categories_name']; ?></h1>

 

This line is in the index.php so Im guessing that somewhere, sometime in the past I must have inadvertently deleted something in the .php file (whereever that maybe) that the index calls (hope that makes sense) So Im guesing that if I can find that file I may be able to correct.

 

Look forward to any comments.

 

Cheers

 

Grandpa

Link to comment
Share on other sites

I think its something to do with the following line, not the one you mentioned above.

 

<h1><?php echo $catname; ?></h1>

 

as there is code above there to add manufacturers name and information.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

Hi Grandpa,

 

I don't know if you use a file comparator, but it’s really useful to get to know one well.  I use Beyond Compare by Scooter software and I think it’s a great program.  It can compare you’re live site to a version you’ve saved and is very configurable.  Of course, all software has a learning curve but basic usage is easy. 

 

I know some here use Winmerge.

I'm not really a dog.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...