serendipitybreze Posted May 30, 2005 Share Posted May 30, 2005 :'( Greetings, I would be grateful if someone could point me in the direction on being able to fix the following: Parse error: parse error, unexpected T_VARIABLE in / home/ serend4/public_html/catalog/includes/functions/general.php on line 483 My line 483 has // Returns the clients browser I tried to look under former posts and also the knowledge base, but I cannot find how this is supposed to be, or even why?? it changed on me. I also tried to restore from a previous back up and it will not change. Any and all assistance will be greatly appreciated. Thanks Shae Link to comment Share on other sites More sharing options...
Winterchild Posted May 30, 2005 Share Posted May 30, 2005 When you used the backup, you cleared temporary internet files or whatever? Sadly the line number the error returns isn't always the line with the error. The error could mean you have a missing quote. Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error Link to comment Share on other sites More sharing options...
serendipitybreze Posted May 30, 2005 Author Share Posted May 30, 2005 When you used the backup, you cleared temporary internet files or whatever? Sadly the line number the error returns isn't always the line with the error. The error could mean you have a missing quote. <{POST_SNAPBACK}> :huh: is there anywhere on the forum where I can reload this (general.php) to the correct functions. I have no idea how to fix this and I have searched all the documentation on here with no help. I would appreciate any help, as my site is not working at all. Thanks Shae Link to comment Share on other sites More sharing options...
♥Vger Posted May 30, 2005 Share Posted May 30, 2005 Just go to the downloads section of www.oscommerce.com and download the osCommerce MS2.2 zip file, unzip on your computer, and you'll have a complete set of unedited files in the 'catalog' folder of the download. For future reference - do not use the osCommerce File Manager to edit files - it causes parse errors. Download the file, take a backup (just in case), edit it in a plain text editor like notepad or Text Pad (better), and then upload again. Any problems - restore from the backup you took. Vger Link to comment Share on other sites More sharing options...
serendipitybreze Posted May 30, 2005 Author Share Posted May 30, 2005 Just go to the downloads section of www.oscommerce.com and download the osCommerce MS2.2 zip file, unzip on your computer, and you'll have a complete set of unedited files in the 'catalog' folder of the download. For future reference - do not use the osCommerce File Manager to edit files - it causes parse errors. Download the file, take a backup (just in case), edit it in a plain text editor like notepad or Text Pad (better), and then upload again. Any problems - restore from the backup you took. Vger <{POST_SNAPBACK}> :thumbsup: Thank you so much I truly appreciate it. Blessings & Prosperity Shae Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.