Jump to content

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

Share this post


Link to post
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

Share this post


Link to post
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.

Edited by 14steve14

REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

The file is definitely index.php, you need to compare your changed file to a vanilla file to see where the problem may be.

Share this post


Link to post
Share on other sites

@@Hotclutch

 

Hi Ashley

 

Dead right it was something in the index.php file although what I don't know.

Many thanks

 

Grandpa

Edited by grandpaj

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×