InstantView over SSL

From KnowledgeTree Community

Jump to: navigation, search

The Problem

When using Internet Explorer to InstantView a document on a server using SSL an error occurs:

Document URL not Provided or Invalid

These steps will fix this issue.


1. Locate and open the following file:

<knowledgetree directory>/plugins/commercial/InstaView/instaView_view.php


2. Find the following section of code:

$session = new Session();
$sessionStatus = $session->verify();

if(PEAR::isError($sessionStatus)){
echo $sessionStatus->getMessage();
exit;
} 


3.  Replace it with the following:

$session = new Session();
$sessionStatus = $session->verify();
header ("Pragma: public");

if(PEAR::isError($sessionStatus)){
echo $sessionStatus->getMessage();
exit;
}
 

4. Save the file


Applies to Version/s

Personal tools