https://www.icyphoenix.com/viewtopic.php?f=35&t=666&p=5852#p5852
-----------------------------------
Vortex
Wed 13 Dec, 2006 02:05

Re: Calendar Block On Portal
-----------------------------------
[quote user="moreteavicar" post="5847"]Hmmm... and you don't get any SQL errors...

Did you also insert $table_prefix in one of the global lines in blocks_imp_calendar.php? This used to cause problems in IMPortal when minical accessed SQL... although the error usually gives a message, which you do not have... 
[/quote]


I checked and all seems right to me... check yourself:

[code]


define('IN_PHPBB', true);

if(!function_exists(imp_calendar_block_func))
{
	function imp_calendar_block_func()
	{
		global $table_prefix, $phpbb_root_path, $phpEx, $template, $images, $board_config, $userdata, $_GET, $_POST, $db;
	}
}

imp_calendar_block_func();
?>

[/code]


