decolmtd Posted February 6, 2010 Share Posted February 6, 2010 After replacing the text on the home page with notepad I get: Parse error: syntax error, unexpected T_STRING on line 16. How do I count to find line 16 and what is the error I am looking for? Please help. Link to comment Share on other sites More sharing options...
decolmtd Posted February 6, 2010 Author Share Posted February 6, 2010 Now I am getting a fatal error............WOW I thought this would be easier. Is there a better program to change this page with that writes the HTML code for you? How do I get back the original index.php. Link to comment Share on other sites More sharing options...
Guest Posted February 6, 2010 Share Posted February 6, 2010 Bill, 1) Do yourself a favor and get an actual editor(editplus). Trying to edit these files in notepad will be a killer. 2) ALWAYS make a back up of the file you are going to edit, BEFORE you make any edits to it. 3) PHP is unforgiving of syntax errors. Make sure you don't change the syntax when editing files unless instructed to do so. 4) You can replace your file to the original by uploading it from the OSC zip you downloaded during the install. Chris Link to comment Share on other sites More sharing options...
decolmtd Posted February 6, 2010 Author Share Posted February 6, 2010 Boy are you a life saver. Got the original file back. What is a syntax? Just for my reference. Will HTML Toolkit work? Or is EditPlus better. Thanks, Chris Link to comment Share on other sites More sharing options...
germ Posted February 6, 2010 Share Posted February 6, 2010 Boy are you a life saver. Got the original file back. What is a syntax? Just for my reference. Will HTML Toolkit work? Or is EditPlus better. Thanks, Chris Syntax Personally I use Crimson Editor. It's free. You can use your search engine of choice to find a download. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted February 6, 2010 Share Posted February 6, 2010 There are many editors, some free, some shareware, some freeware......as long as they work. You can use other editors, just ensure they do not add formatting code when editing files. This will really mess things up. Chris Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.