Forums

Fatal error when activating OpenID plugin (6 posts)

  1. saxsux
    Member
    Posted 4 years ago #

    Hi there :)
    I've just uploaded the OpenID plugin to my WordPress installation, but when I try to activate it I get a fatal error:
    Fatal error: Cannot redeclare class auth_openid_databaseconnection in /usr/local/lib/php/Auth/OpenID/DatabaseConnection.php on line 25

    Can anybody help?

  2. saxsux
    Member
    Posted 4 years ago #

    Sorry, to double post but I'd really like to get this fixed. Does anybody know how to get this to work?

  3. Will Norris
    Member
    Posted 4 years ago #

    looks like you have another copy of the OpenID library in your include path somewhere.

  4. UmbralEchoes
    Member
    Posted 4 years ago #

    I get a similiar error, though it seems to be a PEAR issue:

    Fatal error: Cannot redeclare class Auth_OpenID_DatabaseConnection in /home/digitax0/public_html/umbralechoes/PEAR/Auth/OpenID/DatabaseConnection.php on line 25

    Any advice on tracking down the cause of this?

  5. UmbralEchoes
    Member
    Posted 4 years ago #

    Never mind, figured it out. There was an old PEAR installation hanging around in my webroot -- I removed that, and it seemed to install okay.

  6. seatek
    Member
    Posted 4 years ago #

    I have the same problem. I can't just delete the PEAR installation, though, because it's used for other things.

    I would think that the plugin should use its own version of the Jan Rain libraries, if it has its own, and not pull in libraries installed elsewhere in the system.

    Or, at least not try using both at the same time.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags