kodiak1976 Posted April 6, 2008 Posted April 6, 2008 I just installed the software and when I open the stores front page www.danshunting.com/store I get the following Error Messages If there are any error or warning messages shown above, please correct them first before proceeding. Error messages are displayed at the very top of the page with a complete background color. Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file. Editing Page Texts The text shown here can be modified in the following file, on each language basis: [path to catalog]/includes/languages/english/index.php That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules. The text is set in the following manner: define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist: define('TEXT_MAIN', ''); More information concerning the PHP define() function can be read here. Online Documentation Online documentation can be read at the osCommerce Knowledge Base site. HOW do I remove this
Guest Posted April 6, 2008 Posted April 6, 2008 I just installed the software and when I open the stores front page www.danshunting.com/store I get the following Error Messages If there are any error or warning messages shown above, please correct them first before proceeding. Error messages are displayed at the very top of the page with a complete background color. Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file. Editing Page Texts The text shown here can be modified in the following file, on each language basis: [path to catalog]/includes/languages/english/index.php That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules. The text is set in the following manner: define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist: define('TEXT_MAIN', ''); More information concerning the PHP define() function can be read here. Online Documentation Online documentation can be read at the osCommerce Knowledge Base site. HOW do I remove this They are not errors, they simply tell you what you need to do next. Here is a starting point.
kodiak1976 Posted April 6, 2008 Author Posted April 6, 2008 They are not errors, they simply tell you what you need to do next. Here is a starting point. I did that and the main page is still the same
Guest Posted April 6, 2008 Posted April 6, 2008 I did that and the main page is still the same OK, so in /includes/languages/english/index.php you found define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); and changed it to define('TEXT_MAIN', ''); and the page did not change?
kodiak1976 Posted April 6, 2008 Author Posted April 6, 2008 OK, so in /includes/languages/english/index.phpyou found define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); and changed it to define('TEXT_MAIN', ''); and the page did not change? Coopco, thanks for the help I did not read the wording, I modified the file and it fixed the issue I had, guess next time I should read first ask later, my bad
Guest Posted April 6, 2008 Posted April 6, 2008 Coopco, thanks for the help I did not read the wording, I modified the file and it fixed the issue I had, guess next time I should read first ask later, my bad No problem, there is a lot to get used to. I was worried that you were using the admin file manager to do your edits.
Guest Posted April 6, 2008 Posted April 6, 2008 OK, so in /includes/languages/english/index.phpyou found define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); and changed it to define('TEXT_MAIN', ''); and the page did not change? I remember when that page freaked me out too! Coopco, I feel like an old pro now! Wish I had the knowledge of an old pro though. :D That was my first boo-boo. I deleted all of it from TEXT_MAIN to the end and was typing my text that I wanted and was so proud. LOL Needless to say, that was my first reinstall. Advice: Take your time, read the forums, read anything you can! Only take out the text on that line past TEXT_MAIN and replace it with yours. Only do a little at a time if you're not comfortable, which is what I did ultimately. I did a little, saved it, went back and looked, did a little more. So I wouldnt get overzealous, I typed what I wanted BEFORE the 'This is a default setup...." so that I had a reference point to NOT go beyond. Michelle
Guest Posted April 6, 2008 Posted April 6, 2008 I remember when that page freaked me out too! Coopco, I feel like an old pro now! Wish I had the knowledge of an old pro though. :D That was my first boo-boo. I deleted all of it from TEXT_MAIN to the end and was typing my text that I wanted and was so proud. LOL Needless to say, that was my first reinstall. Advice: Take your time, read the forums, read anything you can! Only take out the text on that line past TEXT_MAIN and replace it with yours. Only do a little at a time if you're not comfortable, which is what I did ultimately. I did a little, saved it, went back and looked, did a little more. So I wouldnt get overzealous, I typed what I wanted BEFORE the 'This is a default setup...." so that I had a reference point to NOT go beyond. Michelle Hi Michell It is so easy to trip up with little things, then we say "won't do that again", but we do. The big secret is (but don't tell anyone) is to backup before you make changes.
Guest Posted April 8, 2008 Posted April 8, 2008 Hi Michell It is so easy to trip up with little things, then we say "won't do that again", but we do. The big secret is (but don't tell anyone) is to backup before you make changes. Well, Coopco, you caught me in another one. *sigh*. Ive still not made a backup! Getting on that now! What would we do without you? I surely dont know. :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.