rtwebster Posted July 20, 2005 Share Posted July 20, 2005 I just installed osCommerce and do not know how to disable the error checks that appear on the main page. It said something about modifying it in the includes/application_top.php file but I couldn't find any parameters in that file that were relevant to this. Link to comment Share on other sites More sharing options...
Guest Posted July 20, 2005 Share Posted July 20, 2005 I just installed osCommerce and do not know how to disable the error checks that appear on the main page. It said something about modifying it in the includes/application_top.php file but I couldn't find any parameters in that file that were relevant to this. <{POST_SNAPBACK}> edit includes/header.php lines 1 through 53 Mike Link to comment Share on other sites More sharing options...
♥Vger Posted July 20, 2005 Share Posted July 20, 2005 The error messages you get on the default install are: You have to set up a folder called 'downloads' inside the 'admin' folder. You have to set permissions on the includes/configure.php file to Read Only (644, 444 or 400 depending on server) You have no 'tmp' folder in which to store sessions. It's best to store sessions in the databse anyway, so edit the last line of both configure.php files to read 'mysql' where indicated - thus storing files in the database - so no need for a 'tmp' folder. Vger Link to comment Share on other sites More sharing options...
♥Vger Posted July 20, 2005 Share Posted July 20, 2005 The best way to remove error messages is to remove the errors and not the messages. In any case header.php is just where the erros are displayed, they're actually referenced from application_top.php Vger edit includes/header.php lines 1 through 53 Mike <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
rtwebster Posted July 20, 2005 Author Share Posted July 20, 2005 Vger, I did these things, but the error messages remain. This is what is displayed: 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. Link to comment Share on other sites More sharing options...
rtwebster Posted July 20, 2005 Author Share Posted July 20, 2005 Also, how can I edit the main catalog page? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.