Guest Posted August 23, 2005 Posted August 23, 2005 I have a problem with my home page - I get the following message: Parse error: parse error, unexpected '=' in /home/rkiuunjl/public_html/shop/includes/header.php on line 124 I'm pretty new to all this, so any help would be most appreciated. :'( Kind regards Brian
♥Vger Posted August 23, 2005 Posted August 23, 2005 You have edited files using the osCommerce File Manager - which you should not use. Restore the files you have edited with good (unedited) original copies, and then read the 'Parse Error?' link below my name. Vger
jlh42581 Posted August 23, 2005 Posted August 23, 2005 That is definately a syntax error... did you edit the code.... ours doesnt have that many lines and usually that meens you missed a quote or semi colon in php
Guest Posted August 23, 2005 Posted August 23, 2005 You have edited files using the osCommerce File Manager - which you should not use. Restore the files you have edited with good (unedited) original copies, and then read the 'Parse Error?' link below my name. Vger <{POST_SNAPBACK}> Many thanks. I'm not sure how to do the above as I didn't set it all up in the first place, I can't get in touch with the guy who did the site for me. Where would I find an unedited copy of this file (I'm kinda familiar with the x-controller site..) Thanks again for your help. Brian
Guest Posted August 23, 2005 Posted August 23, 2005 That is definately a syntax error... did you edit the code.... ours doesnt have that many lines and usually that meens you missed a quote or semi colon in php <{POST_SNAPBACK}> Hi Jeremy, no I didn't edit the code. I don't understand html I'm afraid. Brian
♥Vger Posted August 23, 2005 Posted August 23, 2005 Go to www.oscommerce.com, visit the downloads section and download and unzip the osCommerce 2.2 MS2 zip file on your computer. Inside, in the 'catalog' folder you'll find a complete copy of all original files. If you didn't set this website up then please make sure it hasn't been modified with any Contributions added on to it that overwriting files could affect. Jeremy is correct (my mistake) it is a syntax error - so for now it may be better if you just post the relevant lines from that file and we'll see if we can pick up the error for you. Vger
Guest Posted August 23, 2005 Posted August 23, 2005 Go to www.oscommerce.com, visit the downloads section and download and unzip the osCommerce 2.2 MS2 zip file on your computer. Inside, in the 'catalog' folder you'll find a complete copy of all original files. If you didn't set this website up then please make sure it hasn't been modified with any Contributions added on to it that overwriting files could affect. Jeremy is correct (my mistake) it is a syntax error - so for now it may be better if you just post the relevant lines from that file and we'll see if we can pick up the error for you. Vger <{POST_SNAPBACK}> You're a star. I'll have a proper look tonight at home. Many thanks Brian
Guest Posted August 24, 2005 Posted August 24, 2005 You have edited files using the osCommerce File Manager - which you should not use. Restore the files you have edited with good (unedited) original copies, and then read the 'Parse Error?' link below my name. Vger <{POST_SNAPBACK}> :thumbsup: :thumbsup: :thumbsup: Massive thanks to you. I got it up and running having found another index.php file on my system. Then I got too clever editing it and it went wrong again... I read your 'parse error' advice and the apostrophe was the bad boy in all this! ie 'you'd' instead of 'you\'d'. Fantastic - again, many thanks. Brian
Recommended Posts
Archived
This topic is now archived and is closed to further replies.