Problem:
This could be due to:
- Either the PHP include codes to call the 'config.php' file is missing, or it is misplaced on your web page (ie: not located above the other include snippets). Or,
- You enabled FAQ Support integration, but this component is not installed on your admin panel.
Solution:
1. Login to your admin panel, go to Preference page.
If you wish to integrate with FAQ Support (this will display the FAQ categories on the menu of the Helpdesk page), please make sure that you have installed the FAQ Support component. Also, set the option of 'Integrate with FAQ Support' to 'Yes'.
2. On your Helpdesk web page, use the PHP include snippets come with full document path, instead of relative path. With this, your web page will be able to call the Helpdesk scripts, regardless of the location of the web page.
- Find the full document path on oneadmin/config.php, says '/home/sitename/web/oneadmin/'.
- You must call the 'config.php' first, before calling the remaining, using the below code:
include_once("/home/sitename/web/oneadmin/config.php"); ?>
-this code can be inserted anywhere on the web page, provided it is above the following two.
- Use the below code to display the Helpdesk menu (discard if no integration with FAQ):
include("/home/sitename/web/oneadmin/helpdesk/home.menu.php"); ?>
- To display the Helpdesk content, the correct code is:
include("/home/sitename/web/oneadmin/helpdesk/home.helpdesk.php"); ?>
|