Announcement

Collapse
No announcement yet.

Cannot redeclare isuseradmin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cannot redeclare isuseradmin

    After upgrading to version 2.1 RC8, I get this error:
    [error] [client X.X.X.X] PHP Fatal
    error: Cannot redeclare isuseradmin() (previously declared in
    /usr/local/centreon/www/include/common/common-Func-ACL.php:848) in
    /usr/local/centreon/www/include/common/common-Func.php on line 60,
    referer: http://HOSTNAME/centreon/main.php?p=202

    I get it on the Home and Monitoring pages.
    What's going wrong? Seems like the admin permissions are broken.

  • #2
    Ok, seems like the old files aren't cleaned up. So I manually renamed them to *.old
    Now, this error has cleared, but I still see this in my error log and the problem I described above remains :
    [error] [client X.X.X.X] PHP Fatal
    error: Call to undefined method DB_Error::fetchRow() in
    /usr/local/centreon/www/include/monitoring/status/Common/commonJS.php on
    line 50, referer: http://HOSTNAME/centreon/main.php?p=10101
    [error] [client X.X.X.X] File does not
    exist: /usr/local/centreon/www/include/monitoring/engine/MakeXML_Ndo_StatusCounter.php, referer:
    http://HOSTNAME/centreon/main.php?p=202
    Last edited by Inbeller; 18 August 2009, 13:45.

    Comment


    • #3
      Hi,

      What do you do to clean the file for your error : Cannot redeclare isuseradmin()

      Thanks
      CentOS 6.4 64Bits - Centreon 2.4.5 - Centreon Engine 1.3.4 - NDO

      Comment


      • #4
        Hi,

        Which version are you using? 2.1 stable or 2.1 rc8?

        Centreon Dev-Team
        http://blog.centreon.com | http://forge.centreon.com

        Comment


        • #5
          Upgrade from 2.0.2 to 2.1 stable
          CentOS 6.4 64Bits - Centreon 2.4.5 - Centreon Engine 1.3.4 - NDO

          Comment


          • #6
            Can you try to clear the cache of your web browser?

            Centreon Dev-Team
            http://blog.centreon.com | http://forge.centreon.com

            Comment

            Working...
            X