Comdev - The Search For Scripts Is Over Reuse To Save Time and Cost
All Modules Under One Back-End
 
Home
Product
Support
Enquiry
Become Partner
Order Now

Browse Topics In
Knowledge Base


Back To Top

Installation

Troubleshooting

Tutorials

Upgrade To v3.1


Search for Answers
Intelligent FAQ Search. Type in your keywords to search for the answers you need.


Customer Helpdesk
Can't find the answers you need? Go to our Technical Support Helpdesk





Back Newsletter > Troubleshooting Showing 3 of 9 Prev   Next


Fatal error: Call to undefined function: getlist() in /home/sitename/web/oneadmin/newsletter/home.subscribe.php on line 30
Modified on 2004-10-12


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.

  1. To find the full document path, open the oneadmin/config.php, and copy the value of Document Path, eg: '/home/sitename/web/oneadmin/'.
  2. 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");
    ?>
  3. 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");
    ?>



Is this FAQ helpful? Ratings : Not rated
Printer Friendly Version
Tell A Friend


Related FAQs In This Category
Parse error: parse error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/sitename/httpd/oneadmin/config.php on line 10
On the Installation Wizard, I keep receiving this message: Unable to connect to MySQL database.



Copyright © 2002-2005 by Comdev Software Sdn Bhd. All Rights Reserved. License Agreement Privacy Policy Site Map