warrenerjm Posted June 27, 2006 Posted June 27, 2006 Hi Can anyone solve this mystery please? ONLY on the main page does my footer start after the first column? I don't know where the affending piece of code is? My Webpage Any ideas please? Thanks Julie
Jack_mcs Posted June 27, 2006 Posted June 27, 2006 There is a mistake in your index.php file. You probably erased a </tr> or </table> somehow. You will need to compare it with another to find the problem. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
warrenerjm Posted June 27, 2006 Author Posted June 27, 2006 There is a mistake in your index.php file. You probably erased a </tr> or </table> somehow. You will need to compare it with another to find the problem. Jack Thanks Jack. I've had a look but am not quite sure what I am checking for? Would it help if I posted my index.php here? Would you mind having a look please? Julie
Jack_mcs Posted June 27, 2006 Posted June 27, 2006 You are looking for a missing tag around the area where the column_right file is added. It will be difficult to see without a comparison progrom. You can grab WinMerge, which is free, and compare the index.php file to something like privacy.php. There will be a lot of non-compares but the code around where colum_right is added (near the bottom) should be identical so the missing item should be easy to spot. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
warrenerjm Posted June 27, 2006 Author Posted June 27, 2006 You are looking for a missing tag around the area where the column_right file is added. It will be difficult to see without a comparison progrom. You can grab WinMerge, which is free, and compare the index.php file to something like privacy.php. There will be a lot of non-compares but the code around where colum_right is added (near the bottom) should be identical so the missing item should be easy to spot. Jack Hi Jack I have installed Winmerge & compared the index.php with serveral (conditions.php, privacy.php etc) & all the end by the right column & footer are the same? :huh: Any other ideas please? Thanks Julie
Guest Posted June 27, 2006 Posted June 27, 2006 You will need to compare the index.php file with the original index.php file that comes with osC. Comparing it with a different file won't help you find the error.
warrenerjm Posted June 27, 2006 Author Posted June 27, 2006 You will need to compare the index.php file with the original index.php file that comes with osC. Comparing it with a different file won't help you find the error. Hi Peter I tried to do that but the line spaces seem different. I looked at the bottom, but can't see anything. I do not understand why it is only affected on the main page & not all the pages as the footer is called from the same place in all pages? I have changed the right column to a switch, but the bottom of the file is the same for all?? I first noticed this when I did the following contribution: REMOVE CATEGORY IMAGE-UPDATE 06/13/04 THIS IS JUST A QUICK UPDATE TO THE "REMOVE CATEGORY IMAGE" MOD OFFERED BY Mike Mierzwa. THE ADDED UPDATE IS MARKED BELOW. W. Gray [email protected] --------------------------------------------------------------------------------------------- This is my first contribution. A simple way to remove the category images, shown on all pages to the far right near the infobox shopping cart. Make sure you backup up your files prior to removing these lines, just in case. In your primary cart directory open up the index.php file. (Line numbers may be higher or lower depending on your configuration) ----------- ADDED UPDATE-------------- Find line 67 and remove it. <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> -----------END ADDED UPDATE---------- Find line 272 and remove it. <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> Next find line 291 as shown below and remove it. <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> That's it! Save the file and upload it. Any questions email [email protected] This only worked for this page & I replaced the lines back OK, but have had this problem since. Julie
warrenerjm Posted July 3, 2006 Author Posted July 3, 2006 Hi Can anyone solve this mystery please? ONLY on the main page does my footer start after the first column? I don't know where the affending piece of code is? My Webpage Any ideas please? Thanks Julie Hi I haven't been able to see any differences. Is this going to be the only cause for this problem & I am just not seeing it? Thanks Julie
Guest Posted July 3, 2006 Posted July 3, 2006 the problem is likely with your catalog\includes\languages\english\index.php Check your html tags. To test it you could remove the front page html content (back it up) and then see if it works. define('TEXT_MAIN', 'This is a test');
warrenerjm Posted July 3, 2006 Author Posted July 3, 2006 the problem is likely with your catalog\includes\languages\english\index.php Check your html tags. To test it you could remove the front page html content (back it up) and then see if it works. define('TEXT_MAIN', 'This is a test'); Thank you Mark, Jack & Peter. I was missing a </table> from the end of that define('TEXT_MAIN', 'This is a test'); bit, in the includes/languages/english/index.php file. I had been looking in the wrong place :blush: It looks much better now. :D Julie
Recommended Posts
Archived
This topic is now archived and is closed to further replies.