Re: problems with phplib on php --> 4.0.1pl2 (SOLVED, kind of...)
| From: | Teodor Cimpoesu | Date: | Thu, 12 Oct 2000 16:07:15 +0000 |
| Subject: | Re: problems with phplib on php --> 4.0.1pl2 (SOLVED, kind of...) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19843@lists.php.net to get a copy of this message | ||
Hi Kari!
On Thu, 12 Oct 2000, Kari Asikainen wrote:
>
> > Has anyone else noticed problems with phplib-based applications after
> > upgrading from 4.0.1pl2 - each and every of my PHPLIB-based
> > applications are
> > just dying with:
> >
> > Fatal error: Cannot redeclare class db_sql in /webroot/phplib/db_pgsql.inc
> > on line 12
> >
> > When used with 4.0.2 or 4.0.3. Downgrading to 4.0.1pl2 fixes the problem.
> had to redefine them as php_value -directives) and everything works fine
> now, but is this the desired way of doing things?
try changing the include()s/require()s into include_once(). My guess is you
reinclude some files.
-- teodor