Menu

#381 Fatal error: Cannot redeclare class Database_PDO

1.2
open
nobody
None
1
2016-03-30
2016-02-03
Anonymous
No

on following upgrade instructions from 1.1 to 1.2 i get the following error on opening the site.

Fatal error: Cannot redeclare class Database_PDO in /var/www/phpipam/functions/classes/class.PDO.php on line 9

Discussion

  • Anonymous

    Anonymous - 2016-02-03

    Ive tried manually updating the DB and I get the same issue. :(

     
  • Anonymous

    Anonymous - 2016-02-03

    using :
    PHP 5.6.17-0+deb8u1
    Apache/2.4.10 (Debian)

    All required php modules are installed.

    :)

    THanks for your help

     
  • Miha Petkovsek

    Miha Petkovsek - 2016-02-08

    Hi, no idea, never heard of this error in relation to phpipam... It seems something is alreay using class name Database_PDO...

    Maybe try adding namespace to index.php, first line after php opening flags ?

    namespace phpipam;

     
  • Anonymous

    Anonymous - 2016-03-03

    Same problem here after upgradingn from Debian 7 to Debian 8.

     
  • Anonymous

    Anonymous - 2016-03-23
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2016-03-25
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2016-03-30
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel