Unable to view email document type

From KnowledgeTree Community

Jump to: navigation, search

Contents

Steps to perform

In the administration settings: administration >> document metadata and workflow configuration >>

Clicking on 'Email Document Types' produces the following error:

Fatal error: require_once() [function.require]: Failed opening required  (include_path='/usr/share/knowledgetree/search2:/usr/share
/knowledgetree/ktapi:/usr/share/knowledgetree/thirdparty/xmlrpc-2.2/lib:/usr/share/knowledgetree/thirdparty/simpletest:/usr/share
/knowledgetree/thirdparty/Smarty:/usr/share/knowledgetree/thirdparty/pear:/usr/share/knowledgetree/thirdparty/ZendFramework/library:.:
/usr/local/zend/share/ZendFramework/library:/usr/local/zend/share/pear:/usr/share/knowledgetree/thirdparty/pear') in /usr/share/knowledgetree
/lib/plugins/KTAdminNavigation.php on line 78

These steps will fix this issue.


A. Replace the KTCorePlugin.php file

1. Navigate to: <KnowlegdeTree Install Directory>/knowledgetree/plugins/ktcore


2. Rename the current KTCorePlugin.php file to KTCorePlugin.php_bak

sudo mv KTCorePlugin.php KTCorePlugin.php_bak


3. Download this new copy of KTCorePlugin. Unzip the file and insert it into the /ktcore directory.


4. Update the permissions of the new file with the following code:

sudo chmod 775 KTCorePlugin.php



B. Update the database

1. Start MySQL prompt by typing:

mysql -u dmsadmin -p dms


2. Enter your database password (you can find this in the config.ini file if you have forgotten it)


3. At the MySQL prompt, run the following query:

delete from plugin_helper;

C. Reactivate Plugins

When following the instructions above many of the KnowledgeTree plugins get disabled.

1. In the KnowledgeTree administration menu. Locate 'manage plugins' administration >> miscellaneous >> manage plugins


2. Check the plugins that were disabled.


3. Clear your browser's cache



Applies to Version/s

Personal tools