pwatson04 Posted February 8, 2007 Share Posted February 8, 2007 Hi im getting a: Parse error: syntax error, unexpected $end in /home/pwatson/public_html/includes/functions/html_output.php on line 302 does anyone know what it could be? thanks Link to comment Share on other sites More sharing options...
psynaptic Posted February 8, 2007 Share Posted February 8, 2007 Hi im getting a: Parse error: syntax error, unexpected $end in /home/pwatson/public_html/includes/functions/html_output.php on line 302 does anyone know what it could be? thanks Have you recently changed anything? Did you install a contrib or modify the code at all? Post line 302 from html_output.php and I'll see if I can spot anything wrong about it. My Profile | Contribs I like most: 'On The Fly' Auto Thumbnailer, Active Countries, Header Tags Controller, Ultimate SEO URLs, UK Based osC, UK Postcode Validation, Open Featured Sets, UK Postcode Based Carrier Shipping Link to comment Share on other sites More sharing options...
pwatson04 Posted February 8, 2007 Author Share Posted February 8, 2007 hi, i recently installed onthefly gd thumbnails bt removed it and replaced back the original code. there is no code on line 302 bt here is the code which i re-entered where im guessing the problem is: /// // The HTML image wrapper function function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '') { if ( (empty($src) || ($src == DIR_WS_IMAGES)) && (IMAGE_REQUIRED == 'false') ) { return false; } can you see anything wrong in here? thanks Link to comment Share on other sites More sharing options...
psynaptic Posted February 8, 2007 Share Posted February 8, 2007 hi, i recently installed onthefly gd thumbnails bt removed it and replaced back the original code. there is no code on line 302 bt here is the code which i re-entered where im guessing the problem is: /// // The HTML image wrapper function function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '') { if ( (empty($src) || ($src == DIR_WS_IMAGES)) && (IMAGE_REQUIRED == 'false') ) { return false; } can you see anything wrong in here? thanks That code looks fine. It might be some other code that for have mistakenly not reverted back properly. Go through the instructions for on the fly thumbnails once more and check that each step has been resolved correctly. If you don't have other modifications to that file you might try making a copy of it and replacing it with the original file from the oscommerce distribution. My Profile | Contribs I like most: 'On The Fly' Auto Thumbnailer, Active Countries, Header Tags Controller, Ultimate SEO URLs, UK Based osC, UK Postcode Validation, Open Featured Sets, UK Postcode Based Carrier Shipping Link to comment Share on other sites More sharing options...
pwatson04 Posted February 8, 2007 Author Share Posted February 8, 2007 i can't see anything else that it could be. i wull just install oscommerce somewhere else on my server so that i can use originals. thanks Link to comment Share on other sites More sharing options...
psynaptic Posted February 8, 2007 Share Posted February 8, 2007 i can't see anything else that it could be. i wull just install oscommerce somewhere else on my server so that i can use originals. thanks You could just replace that file and see if it works again. That is, if you haven't made other modifications to the file since installation. I would suggest getting a file comparison program so you can easily see the differences between the original and newer files. Beyond compare 2 is good if you are on windows. My Profile | Contribs I like most: 'On The Fly' Auto Thumbnailer, Active Countries, Header Tags Controller, Ultimate SEO URLs, UK Based osC, UK Postcode Validation, Open Featured Sets, UK Postcode Based Carrier Shipping Link to comment Share on other sites More sharing options...
pwatson04 Posted February 8, 2007 Author Share Posted February 8, 2007 i have replaced the file and it works again. yeah that sounds like a good program thanks for your help Link to comment Share on other sites More sharing options...
psynaptic Posted February 8, 2007 Share Posted February 8, 2007 i have replaced the file and it works again. yeah that sounds like a good program thanks for your help Glad you got it working again. My Profile | Contribs I like most: 'On The Fly' Auto Thumbnailer, Active Countries, Header Tags Controller, Ultimate SEO URLs, UK Based osC, UK Postcode Validation, Open Featured Sets, UK Postcode Based Carrier Shipping Link to comment Share on other sites More sharing options...
dogtails Posted November 17, 2007 Share Posted November 17, 2007 I have this error, don't know where line 70 is - lol Parse error: parse error, unexpected '<' in /home/dogtails/public_html/osCommerce/catalog/includes/functions/html_output.php on line 70 Can anybody help? Link to comment Share on other sites More sharing options...
dogtails Posted November 17, 2007 Share Posted November 17, 2007 FIXED, figured out how to download an original version and upload it. Thanks Link to comment Share on other sites More sharing options...
Guest Posted November 17, 2007 Share Posted November 17, 2007 FIXED, figured out how to download an original version and upload it. Thanks Have you guys been using the filemanager in your web hosts control panel to do your edits. If so, it it is not a good idea. Link to comment Share on other sites More sharing options...
jdeocampo Posted March 2, 2008 Share Posted March 2, 2008 i am having the same problem with my currencies. I can't even acces it. Can someone help me? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.