kitchenniche Posted April 3, 2006 Posted April 3, 2006 Hi there, I'm getting the following error when trying to access checkout_shipping.php : Parse error: syntax error, unexpected $end in /home/kitchenn/public_html/checkout_shipping.php on line 375 The end of that file looks like this (I don't see what could be wrong there....) : <!-- body_text_eof //--> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Does someone know what's wrong in this code? Thanks a lot Sandra HIM - Dark Light - Out on 26/09/05
OceanRanch Posted April 3, 2006 Posted April 3, 2006 Show lines before and after line 375. The standard file has over 500 lines. Tom
kitchenniche Posted April 3, 2006 Author Posted April 3, 2006 Show lines before and after line 375. The standard file has over 500 lines. Tom Hi, If i view my file with notepad and go to line (crtl + g 375) it goes to the last line, the ones I've posted so I guess my file has less lines than 375 HIM - Dark Light - Out on 26/09/05
OceanRanch Posted April 3, 2006 Posted April 3, 2006 Get a fresh copy via the oscommerce download at this site and see if that solves the problem. Tom
kitchenniche Posted April 4, 2006 Author Posted April 4, 2006 Show lines before and after line 375. The standard file has over 500 lines. Tom I just downloaded the standard file and it has only 372 lines... HIM - Dark Light - Out on 26/09/05
Guest Posted April 4, 2006 Posted April 4, 2006 here's what it should look like: <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_COMMENTS; ?></b></td> </tr> </table></td> </tr> you have a syntax error somewhere there. check your spelling and syntax
Recommended Posts
Archived
This topic is now archived and is closed to further replies.