Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error in line 46 of UNmodified product_info.php


hnorheim

Recommended Posts

Posted

This happened after I tried to modify the file.

As I uploaded a untouched copy of the file after an unsuccessful modification, this appeared:

Parse error: parse error in ... product_info.php on line 46

The following will probably be familiar to some of you: (BTW I was hoping to remove the pop-up for a larger image, as described in the help pages, but ended up rendering this most important page unaccessable.)

(Line 46 is line number 4 here)

 

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

<!-- left_navigation_eof //-->

   </table></td>

<!-- body_text //-->

   <td width="100%" valign="top"><?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">

 

Any ideas?

-H?kon

Archived

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

×
×
  • Create New...