All Web Applications In One Streamlined Environment 
Customer Service  |  Site Map
Home
Products
Download
Store
Support

Browse Topics In
Knowledge Base


Back To Top

Installation

Troubleshooting

Tutorials

Update & Bugs Fix


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 1 of 10 Next


Warning: Failed opening 'config.php' for inclusion (include_path='.:/usr/share/php') in /home/sitename/public_html/oneadmin/newsletter/home.subscribe.php on line 1
Modified on 2004-10-12


Problem:

Improper PHP include code used for 'config.php', causing your web page couldn't find the right path to call the Newsletter scripts.

Solution:

To insure the appropiateness of all the PHP include codes, regardless of the location of your web page, it is recommend that you append the full document path to the include snippets, instead of using the relative path.

  1. To find the document path, open the oneadmin/config.php, and copy the value of Document Path, let say it is '/home/sitename/public_html/oneadmin/'.
  2. Now, the inclusion line for your newsletter subscription page will be -

         include_once("/home/sitename/public_html/oneadmin/config.php");
         include("/home/sitename/public_html/oneadmin/newsletter/home.subscribe.php");
    ?>
  3. To display past newsletters, insert the below line of code into your archives page -

         include_once("/home/sitename/public_html/oneadmin/config.php");
         include("/home/sitename/public_html/oneadmin/newsletter/home.browse.php");
    ?>



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


Related FAQs In This Category
• Fatal error: Call to undefined function: getlist() in /home/sitename/web/oneadmin/newsletter/home.subscribe.php on line 30
• Warning: Failed opening 'config.php' for inclusion (include_path='.:/usr/share/php') in /home/sitename/public_html/oneadmin/newsletter/home.subscribe.php on line 1




Quick Links
• Support Helpdesk
• Knowledge Base
• Product Activation
• Installation Support


More Information
• Purchase & Delivery
• Pricing Information
• Payment Methods
• Refund Policy
• License Agreement
• Privacy Policy

Copyright © 2004 by Comdev Software Sdn Bhd. All Rights Reserved. License Agreement Privacy Policy