You are here: Re: PEAR DB « PHP Programming Language « IT news, forums, messages
Re: PEAR DB

Posted by Toby A Inkster on 04/16/07 07:28

andy wrote:

> 520: $dsninfo = DB::parseDSN($dsn);
> ...
> 540: $tmp = PEAR::raiseError(null, DB_ERROR_NOT_FOUND, null, null,
> 541: "Unable to include the DB/{$type}.php"
> 542: . " file for '$dsn'",
> 543: 'DB_Error', true);

Both of those look fairly innocuous, so I'm guessing the error is
elsewhere.

Firstly, do you have you made sure that PEAR DB supports your version of
PHP?

Secondly, try turning on all error reporting (error_reporting(E_ALL)) and
see if any more interesting errors show up -- I'm guessing there might be
something about being unable to include a particular file.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация