After the recent changes for the upcoming cache support in SiteMgr, I decided
to blow away my old SiteMgr config, but deleting the application and
reinstalling it so I could start with a fresh slate.
However, after doing so, I’m unable to add the news_admin module to the site
becuase when I do, I get the “Attemt to access a category outside the current
site…” error and it gives by the category id of one of my news_admin
categories.
The following is a sledgehammer approach that allows me to keep running, but
where might I begin to look for the issue?
Index: sitemgr/inc/class.Categories_BO.inc.php
— a/sitemgr/inc/class.Categories_BO.inc.php
+++ b/sitemgr/inc/class.Categories_BO.inc.php
@@ -385,4 +385,6 @@
function check($cat_id)
{
+//Fix to include news_admin content on the external site
+return True;
//error_log(METHOD."($cat_id)
".function_backtrace());
if ($cat_id == CURRENT_SITE_ID || in_array($cat_id,
$this->currentcats))
Thanks in advance. -A
–
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E