Harleypete40 Posted October 18, 2005 Posted October 18, 2005 I get this error message when I try t6o access the product page: Parse error: parse error, unexpected '<' in /vetinari/music4/public_html/catalogue/product_info.php on line 77 Now I have not got much experience with PhP so can somebody help me out here please? Thanks I get this error message when I try t6o access the product page: Parse error: parse error, unexpected '<' in /vetinari/music4/public_html/catalogue/product_info.php on line 77 Now I have not got much experience with PhP so can somebody help me out here please? Thanks PS it happens when I click the buy it now button on a product, and then click "continue shopping" In the file on line 77 there is no more than this: <td class="main" align="right">
♥Vger Posted October 18, 2005 Posted October 18, 2005 This is what is on line 77 of an unedited product_info.php root level file: if ($new_price = tep_get_products_special_price($product_info['products_id'])) { You need to get yourself a good plain text editor like Textpad or Crimson Editor (both free downloads) which will give you line numbers in the actual files. You can't use View Source in your browser because that just shows you the code after it has been parsed. Vger
Harleypete40 Posted October 19, 2005 Author Posted October 19, 2005 I downloaded crimson editor and it says the same on line 77 as it said above <TD....... I normally use dreamweaver 8 Now I have noticed that it only happened when I copied some of the products in to 2 different categories. As soon as I deleted the copies it stopped. Thanks for your advice anyway Best Regards Peter
Guest Posted October 19, 2005 Posted October 19, 2005 You have a missing PHP closing tag ?> Look above the line indicated in the error :D Matti
Recommended Posts
Archived
This topic is now archived and is closed to further replies.