Results 1 to 4 of 4

Thread: PEAR and Tiki

  1. #1
    Join Date
    Dec 2002
    Location
    Reykjavík
    Posts
    7

    Unanswered: PEAR and Tiki

    Hi,

    I've recently installed Tiki (http://sourceforge.net/projects/tikiwiki/) on my website. At first I always received this error:

    Fatal error: Failed opening required 'DB.php' (include_path='') in */tiki/db/tiki-db.php on line 3

    where * is the path to my home directory.

    The manual says that this error occurs when the include_path is not set to the PEAR (http://pear.php.net) directory in the php.ini file. I contacted the company that hosts my web and they told me that the server my site is currently running on doesn't have PEAR installed and they would move my site to another server that does have PEAR installed.

    Now I've got this strange problem. I sometimes get this error now, not always....and if I get this error I can refresh a couple of times until I get the Tiki page I requested.

    You can try it at http://www.robbik.net/tiki/, if you don't get this error to begin with, try surfing the site until you get it, and then do refresh when you get the error.

    I don't understand why this errors occurs sometimes???

    Any suggestions or ideas?

  2. #2
    Join Date
    Dec 2002
    Location
    Reykjavík
    Posts
    7

    Talking Solution

    I found the solution to this problem

  3. #3
    Join Date
    Dec 2002
    Posts
    65
    Just a thought, you may want to post the resolution to the problem so that someone who's in your situation in the future can find the solution as well.

    -bcyde
    (I'm only available at the email address provided in my profile on weekdays, if you have questions or advice, during off hours use AIM). Also any views I provide here or on my website are mine and not representative of any views of my work, family, friends and sometimes even myself.

    http://www.bcyde.com

  4. #4
    Join Date
    Dec 2002
    Location
    Reykjavík
    Posts
    7
    Originally posted by bcyde
    Just a thought, you may want to post the resolution to the problem so that someone who's in your situation in the future can find the solution as well.

    -bcyde
    Ye, sorry! What i did was to hardcode the include path in the .htaccess file. Apparently a problem can occur with PEAR and shared servers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •