Guest Posted August 12, 2006 Share Posted August 12, 2006 Hi guys Please help me sort this one out Problem 1: Parse error: parse error, unexpected ';' in /osCommerce/catalog/index.php on line 104 Line 104: echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a></td>' . ; There is only one ";" and if I remove it, it tells me there is an "IF" error in line 105 Line 105: if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) { Problem 2: I made a few changes to the colours of my shop and now I have a big blank space above my logo. How do I remove the blank space? Thanks in advance. Link to comment Share on other sites More sharing options...
stevel Posted August 12, 2006 Share Posted August 12, 2006 Remove the . before the ; Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description Link to comment Share on other sites More sharing options...
Guest Posted August 12, 2006 Share Posted August 12, 2006 Thanks Stevel That worked. As to problem 2, I managed to sort that out but couldn't do anything until I had sorted out the parse error. Thank you very much for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.