If all else fails, try setting the include path in your project:
http://at.php.net/manual/en/function.set-include-path.php

(check out the comments section)
hth
Richard

Tuesday, April 13, 2004, 10:45:23 PM, you wrote:

> I'm getting started with PEAR's DB_DataObject and am trying to follow along
> with the tutorial:

> http://pear.php.net/manual/en/package.database.db-dataobject.intro-purpose.p
> hp

> It tells me to create the ini file (which I did) and then run
> createTables.php from the command line to generate my class files. I'm
> trying to run it and am running into an include issue:

> zorn$ php -f createTables.php
> /Library/WebServer/Websites/ASMP/config/DB_DataObject.ini

> Warning: main(DB/DataObject/Generator.php): failed to open stream: No such
> file or directory in
> /usr/local/php/lib/php/DB/DataObject/createTables.php
> on line 22

> Fatal error: main(): Failed opening required 'DB/DataObject/Generator.php'
> (include_path='.:/usr/lib/php') in
> /usr/local/php/lib/php/DB/DataObject/createTables.php on line 22

> -- Does the command line have it's own include path. Based on my phpinfo()
> mine is: .:/usr/local/php/lib/php

> ~ Mike
> -----
> Mike Zornek
> Web Designer, Media Developer, Programmer and Geek
> Personal site: <http://MikeZornek.com>
> New Project: <http://WebDevWiki.com>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to