The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Errors on error_log

Discussion in 'General Discussion' started by Fbarajas, May 28, 2015.

  1. Fbarajas

    Fbarajas Active Member

    Joined:
    Jul 15, 2004
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Playa del Carmen, Mexico
    Hi! I'm seeing this error on Apache's error_log:

    PHP Strict Standards: Non-static method PEAR::setErrorHandling() should not b
    e called statically in /usr/local/cpanel/base/3rdparty/roundcube/program/inclu
    de/iniset.php on line 131

    It repeats many times. Is there anything that shoud be fixed?

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Please let us know if the following command completes successfully:

    Code:
    /usr/local/cpanel/bin/update-roundcube --force
    Thank you.
     
  3. Fbarajas

    Fbarajas Active Member

    Joined:
    Jul 15, 2004
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Playa del Carmen, Mexico
    No, it doesn't:

    Problem encountered during schema update:
    schema file: /usr/local/cpanel/src/3rdparty/gpl/roundcube_schema/upgrade/0.7_0.7.1/mysql
    on statement: ALTER TABLE `contacts` DROP FOREIGN KEY `user_id_fk_contacts`;
    Error: DBD::mysql::st execute failed: Error on rename of './roundcube/contacts' to './roundcube/#sql2-5e96a-abe73a' (errno: 152)
    Warning: something's wrong at /usr/local/cpanel/bin/update-roundcube line 225.
    Restoring previous Roundcube data
    info [update-roundcube] Error occurred during upgrade
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You may need to backup the roundcube database, drop it, and then force the roundcube update again. EX:

    Code:
    mysqldump roundcube > /var/cpanel/roundcube/backup_roundcube1.sql
    mysql
    mysql> DROP DATABASE roundcube;
    Query OK, 15 rows affected (0.63 sec)
    mysql> quit
    /usr/local/cpanel/bin/update-roundcube --force
    Then, if you have data you want to preserve from the Roundcube database that you saved, you can restore it.

    Thank you.
     
Loading...

Share This Page