Axis of Stevil Posted May 30, 2005 Share Posted May 30, 2005 This is a default setup of the osCommerce project, products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional. 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. Securing The Administration Tool It is important to secure the Administration Tool as there is currently no security implementation available. Online Documentation Online documentation can be read at the osCommerce Wiki Documentation Effort site. Community support is available at the osCommerce Community Support Forums site. If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the support site of osCommerce. This shop is running on osCommerce version osCommerce 2.2-MS2. So I have been looking at this all week and anytime i try to follow the instructions and edit that text, it gives me an error. I went in and changed ONE word in the opening sentence (didnt change any code) and it gives me an error. WHAT GIVES? why is this happening. Link to comment Share on other sites More sharing options...
Guest Posted May 30, 2005 Share Posted May 30, 2005 without you posting the error, not much we can do. post the errors and then we can see what gives, until then you are on your own. when asking for help, help us help you by giving us a bit more info, else it does you no good and it goes unanswered Link to comment Share on other sites More sharing options...
Axis of Stevil Posted May 30, 2005 Author Share Posted May 30, 2005 Ok so I went in through the file manager and edited the index file in the english folder: This is as it is and works fine: This is a default setup of the osCommerce project, products shown are for demonstrational purposes,. . . . This is the only change i made (to the text only): define('TEXT_MAIN', 'This is a beta setup of the The Axis of Commerce project, products shown are for demonstrational purposes, . . . . Clicked save, no errors on admin side. But when I load the page with the changes been made This is the error I get: Parse error: parse error, unexpected T_STRING in /home/virtual/site65/fst/var/www/html/store/includes/languages/english/index.php on line 13 So far thats all I can find that will help you, these are the only variables that took me from 'working' to not working. Link to comment Share on other sites More sharing options...
knifeman Posted May 30, 2005 Share Posted May 30, 2005 Ok so I went in through the file manager and edited the index file in the english folder: Problem solved! Do not use the file manager to edit files. Always ftp the file to your desktop and use a text editor such as notepad or textpad and then upload the new file via ftp. Sometimes I use the file manager that comes with control panel, but not the one that comes with oscommerce. Tim Link to comment Share on other sites More sharing options...
Axis of Stevil Posted May 30, 2005 Author Share Posted May 30, 2005 thank you for the advice, but unfortunately that variable is inconsequential, even when i edit with my own software it creates errors. Link to comment Share on other sites More sharing options...
Guest Posted May 30, 2005 Share Posted May 30, 2005 when you edit with the file manager (mangler) it strips out slashes, thus where there is supposed to be a \n it turns it into an n many hundreds of posts about this in the forum, to not use the mangler. download via ftp, edit the files, then send up to the site. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.