daoutlaw Posted September 12, 2006 Share Posted September 12, 2006 Hello Everyone.. I done did something wrong.. I am very lost right now. I went to tools then I clicked on define Languages and from there I went to the file index.php, to change my front page from saying "ERROR and you will not be charged for purchases". 2 question guys and girls.. How I get my page back up and where I go to so I change the wording on the index page? Link to comment Share on other sites More sharing options...
spax Posted September 12, 2006 Share Posted September 12, 2006 You change the text in includes/languages/english/index.php The first line of code reads: define('TEXT_MAIN', 'This is a default setup of the osCommerce project...........'); You put your text in between the 2 single quotes: define('TEXT_MAIN', 'Your text goes in here'); Not sure what's happened to your index page however. Could you be more descriptive? What did you do just before losing it? What do you see right now? Are there error messages or just a big nothing? Link to comment Share on other sites More sharing options...
daoutlaw Posted September 12, 2006 Author Share Posted September 12, 2006 Well now it's just a big blank.. I must have made a mistake and took out the end of this code ('TEXT_MAIN', 'Your text goes in here>>>>'); <<< and it just made the main screen blank but you wouldn't believe what I did since it was already blank anyway.. Yes, I completely erased the whole code :-( I hope you can help me. Also that default set-up automatically activates once I put my information in the account or how do that work? THANK YOU Link to comment Share on other sites More sharing options...
spax Posted September 12, 2006 Share Posted September 12, 2006 If you haven't already, download the latest osC upgrade from here. First off, upload catalog/index.php, overwriting the one that is in your catalog directory or, if you have installed to root, the one that is there. Next, do the same thing for catalog/includes/languages/english/index.php. Remember, although they are both named index.php, they are completely different, they are in different directories so need to be uploaded to their corresponding directories. Now see if your site displays. If it does, all is good and you can upload the rest of the updated files (details of which are in the the latest osC update package). If it doesn't, come back here and we will progress. ;) Link to comment Share on other sites More sharing options...
daoutlaw Posted September 12, 2006 Author Share Posted September 12, 2006 Yeah I thought they was the same... I already tried replacing the one with the other, it didn't work so I found out then they were different.. I am going to try to upload these 2 things and if it don't work I will be back Link to comment Share on other sites More sharing options...
daoutlaw Posted September 13, 2006 Author Share Posted September 13, 2006 It worked :-) Thanks for your help, you been so helpful.. For that second question.. Once I install the payment methods it takes off the default set up right? Link to comment Share on other sites More sharing options...
spax Posted September 13, 2006 Share Posted September 13, 2006 Once I install the payment methods it takes off the default set up right? Sorry, not quite sure what you are asking. Can you elaborate? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.