Guest Posted November 19, 2007 Posted November 19, 2007 Hi all New poster here. I was editing index.php and mistakenly put it back at www root level. I realised my mistake , deleted it and did an overwrite to the correct place (includes/languages/english). now I cant open my index page. Help please.
Velveeta Posted November 19, 2007 Posted November 19, 2007 There are going to be multiple index.php files... 1 belongs in your catalog root directory, the others are for the language directories... Which one did you delete? Did you save the english language version over the catalog root version, and then delete it and overwrite it back into the english directory? If so, you're missing the basic version that belongs in the catalog root... The language directory versions only define the constants used for the english language in that catalog root version, like TEXT_MAIN_PAGE or whatever... Richard. Hi all New poster here. I was editing index.php and mistakenly put it back at www root level. I realised my mistake , deleted it and did an overwrite to the correct place (includes/languages/english). now I cant open my index page. Help please. Richard Lindsey
Guest Posted November 19, 2007 Posted November 19, 2007 There are going to be multiple index.php files... 1 belongs in your catalog root directory, the others are for the language directories... Which one did you delete? Did you save the english language version over the catalog root version, and then delete it and overwrite it back into the english directory? If so, you're missing the basic version that belongs in the catalog root... The language directory versions only define the constants used for the english language in that catalog root version, like TEXT_MAIN_PAGE or whatever... Richard. Thanks Richard Oh dear. I took it out of catalog this morning and put it back in language directory. Its very late here,1am, thats my excuse . at least i listened to the pros and kept a backup. must be frustrating for you guys when you have to correct stupid mistakes like that. Thanks for quick reply Mike
Velveeta Posted November 19, 2007 Posted November 19, 2007 No problem, glad you had a backup of that file :D Thanks Richard Oh dear. I took it out of catalog this morning and put it back in language directory. Its very late here,1am, thats my excuse . at least i listened to the pros and kept a backup. must be frustrating for you guys when you have to correct stupid mistakes like that. Thanks for quick reply Mike Richard Lindsey
Recommended Posts
Archived
This topic is now archived and is closed to further replies.