I have transferred a website from one server to another. ie: Copied the sitemgr-site folder over and then exported (from old server) and then imported (to new server) the file created in SiteMgr Websites page.
I thought all went well because I can see the website when I click on View Generated site. The modules I want to see are in the publish state.
When I attempt to get to the website from outside egroupware I get the following message where my navigation panel should be (Navigation Type toc_block):
“Attempt to access information outside current website: cat_id=”
I also see the header for my website so I know the info is there somewhere but there seems to be a permission issue somewhere.
When I change my navigation panel type to sitetree, as an example, I can see the website when I click on the View Generated site.
But, when I attempt to get to the website from outside egroupware I see the header for my website and I get the following message in the main body of the webpage:
“Error Accessing Page!”
I found the following lines of code associated with the error message in “class.Categories_BO.inc.php” in case it might help diagnose the problem:
//make sure cat_id belongs to current site
385 function check($cat_id)
386 {
387 //error_log(METHOD."($cat_id) “.function_backtrace());
388 if ($cat_id == CURRENT_SITE_ID || in_array($cat_id,$this->currentcats))
389 {
390 return True;
391 }
392 // function sitemgr_link exists only when called from sitemgr-site’s index.php,
393 // not, when called from the sitemgr admin UI / eGroupware’s main index.php.
394 elseif(($GLOBALS[‘Common_BO’]->pages->so->PageToID(‘404NotFound’) && function_exists(‘sitemgr_link’)))
395 {
396 $GLOBALS[‘egw’]->redirect(sitemgr_link(array(‘page_name’ => ‘404NotFound’)));
397 }
398 else
399 {
400 header(‘HTTP/1.0 404 Not found’);
401 echo ‘
’.lang(‘Attempt to access information outside current website’).’: cat_id=’.htmlspecialchars($cat_id).’
’;
402 //echo “Backtrace:
”.print_r(debug_backtrace(),True).”
\n";
403 $GLOBALS[‘egw’]->common->egw_exit(True);
404 }
405 }
Something is wrong with my $cat_id I don’t know how to change this.
Any assistance will be greatly appreciated.