Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Heeeelp me please - I'm desperate!!!!!


Guest

Recommended Posts

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

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

Archived

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

×
×
  • Create New...