MJJFMinnie Posted October 2, 2005 Posted October 2, 2005 Hi. I work as a part of Team MJJF. We just installed a store a week ago, and today I was trying to configure it and set it up etc. I wanted to edit the front page, where it says "This is a default setup...." and like according to what it says on the default setup, I went into /languages/english/index.php and removed the text between ' and ' AFTER the text main. So it's like this: define('TEXT_MAIN', 'this is the text I removed' ' . PROJECT_VERSION . '</b></font>.'); Then I got the following error when trying to access http://www.mjjforum.com/catalog: Parse error: parse error, unexpected T_STRING in /home/mstenda/public_html/catalog/includes/languages/english/index.php on line 13 Before editing anything, I had saved a copy of the original file in notepad, and after the error, tried to replace it, but copy-pasteing what I had saved in notepad into the index.php file, to correct whatever mistake I had done. However, the error remains. Can anyone here please help me figure out what happened? And how can we fix this? Thank You so much in advance. If perhaps you could e-mail the answer to me, I'd be truly grateful. Thank You, Minnie
Phantomhp Posted October 3, 2005 Posted October 3, 2005 I removed almost everything except the ' ' Ex: define('TEXT_MAIN', ' TEXT HERE'); I also used <div></div> tags anywhere I had text. Mike
MJJFMinnie Posted October 3, 2005 Author Posted October 3, 2005 That didn't work.... Nobody knows how to fix this - or what happened?
teknonweb Posted October 4, 2005 Posted October 4, 2005 That didn't work.... Nobody knows how to fix this - or what happened? Please post the file you now have. You may need to replace the file. Please post the file you now have. You may need to replace the file. Did you try to edit the file using the Admin editor? If so, sometimes it adds quotes or deletes the escape. Please post the file contents and I can see if that is what happened.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.