Skip to:
Content
Pages
Categories
Search
Top
Bottom

Fatal error: Cannot redeclare checked()

  • @ommadawn

    Participant

    After installing buddypress, I came across that error when trying to access the forums.

    There was another post hightlighting this at http://buddypress.org/forums/topic/forums-fatal-error-cannot-redeclare-checked#post-38627

    But it does not give a solution and the poster only mentions that he fxed it by changing host.

    I debbuged the issue and found that the issue is that the application open multiple mysql connection (4 or something) or a single page display and if you have a crappy hosting plan like I have, you might hit the connection limit and the application fails in this way which is not really graceful. (Go figure you have a mysql issue with that error ;) )

    The way I fixed it without changing plan is changing the connection command to mysql_pconnect to ensure that mysql reuse the same connection. However, it’s not a really a long term solution as mysql_pconnect is known to cause issues.

Viewing 1 replies (of 1 total)
  • @elbaina

    Participant

    hi, i have the same problem. What file has the mysql_connnect sentence? what i have to do to solve the problem?

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error: Cannot redeclare checked()’ is closed to new replies.
Skip to toolbar