By: suneel
Date: 2011-08-03
Time: 07:59
|
Error: Unable to open this internet siteHello,
I am using tbs plugin for excel(Version 1.0.5) for exporting the data in to excel. Below is my code. It work fine in all browsers except Internet explorer(Using IE 8). I am get an javascript error alert. my site is using SSH(https). I have googled it and found IE is not allowing the file to download from https site. Please help me to resolve this issue. ***************************************** Unable to download dispatch.php from xyz.com Unable to open this internet site. The request site is either unavailable or cannot be found. Please try again later ***************************************** public static function exportForSdkUsers($clean_form, $TBS, $TBS1) { $GLOBALS['logger']->debug("Running function to export for sdk user(s)..."); $key = $clean_form['selected_filter']; $val1 = trim($clean_form['input_value1']); $val2 = ""; $val3 = ""; switch ($key) { case 'activated_on': $val2 = trim($clean_form['input_value2']); break; default: break; } if( ($val1 == null || strlen($val1) == 0 ) && ($val2 == null || strlen($val2) == 0 ) && ($val3 == null || strlen($val3) == 0 ) ) { $sdkUserRS = $GLOBALS['sdkUserActiveRecord']->getAllRecords(); } $TBS1->LoadTemplate($GLOBALS['templates_dir'] . 'viewSdkExcelUsers.html.php','+'); $TBS1->MergeBlock('blk1', $sdkUserRS); $TBS1->PlugIn(TBS_EXCEL,TBS_EXCEL_FILENAME,'NHDP_Users_Report_'.date('Ymd').'.xls'); $TBS1->Show(); self::_setUpPaging(); $TBS->LoadTemplate($GLOBALS['templates_dir'] . 'filterSdkUsers.html.php', '+'); $TBS->LoadTemplate($GLOBALS['templates_dir'] . 'viewSdkUsers.html.php', '+'); $TBS->PlugIn(TBS_BYPAGE,self::$pageSize,self::$pageNum,self::$recordCount); // Next block will be merged suing By-Page mode. self::$recordCount = $TBS->MergeBlock('blk1', $sdkUserRS); $TBS->PlugIn(TBS_NAVBAR,'nav','',self::$pageNum,self::$recordCount,self::$pageSize); return true; } |
By: Skrol29
Date: 2011-08-03
Time: 20:12
|
Re: Error: Unable to open this internet siteHello,
Your problem is not related to TBS, but you may try this : http://support.microsoft.com/kb/2123563/en-us |