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 Links Directory (was known as Link Manager) > Troubleshooting Showing 2 of 8 Prev   Next


Warning: main() : Failed opening 'config.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/sitename/public_html/oneadmin/linksdir/home.link.php on line 1
Modified on 2005-08-23


Problem:

Improper PHP include code for 'config.php', this cause your web page couldn't find the right path to call the Links Directory scripts.

Solution:

To insure the appropiateness of all the PHP include codes, it is recommend that you use the include snippets that come along with full document path, instead of using relative path.

  1. Open the oneadmin/config.php file, and copy the value of Document Path, let say it is '/home/sitename/public_html/oneadmin/'.
  2. You must call the 'config.php' first, before calling the others. Your include should look something like this -



    This code can be put anywhere in your web page, provided it is above any of the following two.
  3. Insert the below code to display your link directory's menu -


  4. To display the body content of link directory, use the following code -

With this, the Links Directory will works regardless of the location of your web page.




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


Related FAQs In This Category
No Installation Wizard appears after uploading the oneadmin folder to my online server.
Warning: gzinflate: buffer error in /home/sitename/web/oneadmin/linksdir/include.php(23)



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