|
Problem:
The PHP include code to call the 'config.php' file is missing, or it might has been misplaced in your web page (ie: not located above the other includes), this causes the page couldn't find the right path to call the Newsletter scripts.
Solution:
To insure the appropiateness of all the include codes, it is recommend that you use the PHP include codes that come with full document path, instead of relative path. With this, the Newsletter scripts will works regardless of the location of your web pages.
- To find the full document path, open the oneadmin/config.php, and copy the value of Document Path, eg: '/home/sitename/web/oneadmin/'.
- To call the Newsletter Subscription form, insert this code -
include_once("/home/sitename/web/oneadmin/config.php");
include("/home/sitename/web/oneadmin/newsletter/home.subscribe.php");
?>
- As for Newsletter Archives web page, use the following include snippets -
include_once("/home/sitename/web/oneadmin/config.php");
include("/home/sitename/web/oneadmin/newsletter/home.browse.php");
?>
|