Guest Posted October 17, 2015 Share Posted October 17, 2015 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 More sharing options...
Hotclutch Posted October 17, 2015 Share Posted October 17, 2015 It's index.php in the root Link to comment Share on other sites More sharing options...
Guest Posted October 18, 2015 Share Posted October 18, 2015 @@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 More sharing options...
♥14steve14 Posted October 18, 2015 Share Posted October 18, 2015 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 More sharing options...
Hotclutch Posted October 18, 2015 Share Posted October 18, 2015 The file is definitely index.php, you need to compare your changed file to a vanilla file to see where the problem may be. Link to comment Share on other sites More sharing options...
Guest Posted October 19, 2015 Share Posted October 19, 2015 @@Hotclutch Hi Ashley Dead right it was something in the index.php file although what I don't know. Many thanks Grandpa Link to comment Share on other sites More sharing options...
♥John W Posted October 19, 2015 Share Posted October 19, 2015 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.