ronan Posted September 14, 2005 Share Posted September 14, 2005 This has happened me a few times now and is driving me mad. I'll use this latest example. I has setting up a new store and was changing the included/languages/english/index.php file. I was just changing the home page text. When i uploaded it i got this error Parse error: parse error, unexpected ';' in D:\webworld\ijumbleonline\ijumbleonline.com\www\oscommerce\includes\languages\english\index.php on line 13 , so i went to my backup folder and replaced the index.php file that i had edited with the initial backup file index.php. I uploaded it to the server but i am still getting the exact same error message. How in gods name is this possible??? This is not tthe first time this has happened and i always end up having to reload the whole site to the server and then it works fine. :( Link to comment Share on other sites More sharing options...
Guest Posted September 14, 2005 Share Posted September 14, 2005 What are you using to upload? Maybe your FTP client is bad. Link to comment Share on other sites More sharing options...
ronan Posted September 14, 2005 Author Share Posted September 14, 2005 Hey, Im using dreamweaver mx. Thats not the problem, i use it all the time for other websites and it works fine. Link to comment Share on other sites More sharing options...
Guest Posted September 14, 2005 Share Posted September 14, 2005 Look for that semicolon on line 13. Did you put it there? I know a single quote will mess up php badly and cause errors. I'm not sure on semicolons. Link to comment Share on other sites More sharing options...
ronan Posted September 14, 2005 Author Share Posted September 14, 2005 I had put in the word i'll and the ' symbol was messing up the code. Got it sorted now. Thanks for the help m8 :D Link to comment Share on other sites More sharing options...
Guest Posted September 14, 2005 Share Posted September 14, 2005 Yeah, that's a bustup for sure. Glad you found it! You can escape it with a backslash. Just drop a backslash before each single quote in your text and it will read it as text instead of code. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.