Re: [pear-webmaster] RE: Database additions and class mappings

From: Date: Fri, 19 Sep 2008 19:29:28 +0000
Subject: Re: [pear-webmaster] RE: Database additions and class mappings
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29276@lists.php.net to get a copy of this message
On Fri, Sep 19, 2008 at 9:52 AM, Kendell Paryag <kendell@trinidadtunes.com> wrote: > Hello there, > > > > I am trying to run the createTables.php script to update the DataObjects > classes to reflect the database additions made. > > I am using a program called PuTTY to remotely login to the server and > execute the createTables.php script. > > > > However I am getting the following error: > > > > login as: loc1606 > > loc1606@www.trinidadtunes.com's password: > > Last login: Thu Sep 18 15:02:37 2008 from cuscon56366.tstt.net.tt > > loc1606@trinidadtunes.com [~]# cd /home/loc1606/php/DB/DataObject/ > > loc1606@trinidadtunes.com [~/php/DB/DataObject]# php createTables.php > config.ini > > > > Warning: main(DB/DataObject.php): failed to open stream: No such file or > directory in /home/loc1606/php/DB/DataObject/Generator.php on line 52 > > > > Fatal error: main(): Failed opening required 'DB/DataObject.php' > (include_path='.:/usr/lib/php:/usr/local/lib/php') in > /home/loc1606/php/DB/DataObject/Generator.php on line 52 > > > > Please advice on how I should proceed to correct the error. Your include path is not set to look in the ~/php/ directory where all the pear packages are installed. I would run it with: cd /home/loc1606/php php DB/DataObject/createTables.php /home/loc1606/config.ini Or correct your include path to point to /home/loc1606/php -- Brett Bieber http://saltybeagle.com/

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