Re: [pear-webmaster] RE: Help On database additions and class mappings

From: Date: Mon, 15 Sep 2008 20:59:45 +0000
Subject: Re: [pear-webmaster] RE: Help On database additions and class mappings
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29264@lists.php.net to get a copy of this message
On Mon, Sep 15, 2008 at 2:34 PM, Kendell Paryag <kendell@trinidadtunes.com> wrote: > Hello Brett, I tried executing the createTables.php script by entering the > following address in the browser address bar and running it: > http://..../PEAR/PEAR/DB/DataObject/createTables.php > > > But it produced the following error: > > #!/usr/bin/php -q > Warning: main(DB/DataObject/Generator.php) [function.main]: failed to open > stream: No such file or directory in > /home/loc1606/public_html/PEAR/PEAR/DB/DataObject/createTables.php on line > 28 > > Fatal error: main() [function.require]: Failed opening required > 'DB/DataObject/Generator.php' > (include_path='.:/usr/lib/php:/usr/local/lib/php') in > /home/loc1606/public_html/PEAR/PEAR/DB/DataObject/createTables.php on line > 28 > > Is this the correct way to execute the script? No, you usually run it from the console like: php /path/to/DB/DataObject/createTables.php dataobject.ini or php pear config-get php_dir/DB/DataObject/createTables.php dataobject.ini It will need access to the directory you specify in your config ini file to update the dataobject files. -- Brett Bieber http://saltybeagle.com/

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