facasplaca Posted November 27, 2003 Posted November 27, 2003 HI everyone, I tried to change index.php and for testing purposes I deleted only one word from text, and now I have this error: Parse error: parse error in /catalog/includes/languages/english/index.php on line 13 I tried like 10 different ways, and whatever I do I get always this error. Please help, because I cannot customize first page, and I don't know what to do....
mugitty Posted November 27, 2003 Posted November 27, 2003 Make sure that you have not inadvertently changed one of the characters that controls the php code define('TEXT_MAIN', 'This shop is based on <font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>.'); There must be a single quote in front and behind the define name and the entire define entry, with a comma separating them, as well as an opening and closing paren followed by a semicolon. Additionally, if there is any php within the define, it needs to be separated from the html with an opening [' .] and a closing [. '] as in the above example. ... if you want to REALLY see something that doesn't set up right out of the box without some tweaking, try being a Foster Parent!
facasplaca Posted November 27, 2003 Author Posted November 27, 2003 Thanks, I tried like everything, and always is the same error, and this is what I only get: Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? TEXT_MAIN Whatever I do after TEXT_MAIN, no change... I even uploaded index.php again, deleted only one word from deafult text, ( just one word ! ) and still I am getting same error and same text.... Any other ideas ?
LiQuIdAiR Posted November 28, 2003 Posted November 28, 2003 could be possible that your editing the wrong file? Since i understand your questions fully, but yet at the same time have a hard time seeing why one installation from another of the same version would have diffuculties. Besides there be many updates posted on a weekly basis or some sort.
TLC Posted November 28, 2003 Posted November 28, 2003 The file you want to change for the main text on your homepage is this one: ...catalog/includes/languages/english/index.php assuming you are using an english version. It can be confusing because there are two "index.php" files in the store structure. At least two. There may be more that I haven't found yet. Hope this helps. TLC I realize this may sound like a dumb question, but consider the source.
amethyst Posted November 30, 2003 Posted November 30, 2003 Hi, i was looking for the same thing but the file you need in in the catalog/languages/english/default.php it can be changed there.....
yogidegr8 Posted December 3, 2003 Posted December 3, 2003 Hello, where can I go and change these lines: Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? I tried in includes/languages/english/default.php but it is not there.. please help!!!!
mommkt Posted December 4, 2003 Posted December 4, 2003 I'm having the same problem. I took out one word just to see if it worked, and I got the error mentioned above. I've done a search on this topic and everyone says to modify this file: ...catalog/includes/languages/english/index.php I don't HAVE this file!!! I have one at the same location called default.php which has the text shown on the main page. I make one lousy tiny little change and I get an error. I'm not a PHP expert, but I run a vBulletin message board and have hacked those files to pieces and everything works great. Why can't I figure this out??? :blink: Is the file structure and naming completely different for each version or something? How confusing!!! Help!!!
mommkt Posted December 4, 2003 Posted December 4, 2003 Ok, I was able to modify the default.php file to get the text on the front page to be my own. The problem was that I had used apostrophes. When I took them out...voila! It worked.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.