Re: Strange error including DB.php

From: Date: Thu, 16 May 2002 21:45:14 +0000
Subject: Re: Strange error including DB.php
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1407@lists.php.net to get a copy of this message
It seems to me that your host server is allowing someone else to do this to you. If you are running on a hosted server and someone else is using that same server, you could end up with this problem if they are using ini_set(). Just my $0.02. Bill "Tomas V.V.Cox" <cox@idecnet.com> wrote in message news:3CE38888.A14A546@idecnet.com... > Tom Harrison wrote: > > > > I have been searching for days and have been unable to come up with an > > answer for this strange problem. I'm trying to use the PEAR DB library with > > a site I'm developing. To include the library in the scripts, I'm using: > > > > require_once 'DB.php'; > > > > About 20% of the time, my scripts will execute properly. The other 80% of > > the time, I get this error: > > > > Fatal error: Failed opening required 'DB.php' (include_path='') in > > /home/dpmusic/public_html/admin/dbconn.php on line 2 > > A quick fix could be to manual setting the include path at the top of > your script with ini_set(). Of course is only a workarround not the real > solution. > > > Tomas V.V.Cox

« previous php.pear.general (#1407) next »