--= Login Here =--  --= Main Page =--  --= Search =--  --= Contact =--  --= Content =--
 --= Search =--
 --= Main Page =--
 --= Contact =--
 --= Login Here =--
 --= Content =--
Main Menu
Home
Web Links
Downloads
News
Articles
FAQs
Legal
Products
Product II
MamboToys.com
Webraydian News
Front end SiteMap v2.0 Error Hack PDF Print E-mail
Written by Webray   
Friday, 01 July 2005
Skill level :  Breezer 
 
Front end SiteMap v2.0 Error Hack

Are you getting those nasty errors popping up on your sitemap page? Actually, those are only warnings and will not affect the operation of SiteMap, but I can show you how to fix it.

  1. Open the main component file, sitemap.php. This can be found in the original zip file (sitemap20.zip). Look for this line:  defined('_VALID_MOS') or die('Direct Access to this location is not allowed.');
    Directly after this line add : error_reporting(0);
  2. Then save the file and upload to  components/com_sitemap/
  3. Check that the errors have disappeared and that the component is still working properly.

 

Last Updated ( Sunday, 04 December 2005 )
 
Related Items
Thursday, 26 November 2009
   --= Login Here =--  --= Main Page =--  --= Search =--  --= Contact =--  --= Content =--
© Copyright 2009 by Webraydian.com