Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Errors on error_log

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

  1. Fbarajas

    Fbarajas Active Member

    Joined:
    Jul 15, 2004
    Messages:
    43
    Likes Received:
    1
    Trophy Points:
    158
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Please let us know if the following command completes successfully:

    Code:
    /usr/local/cpanel/bin/update-roundcube --force
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Fbarajas

    Fbarajas Active Member

    Joined:
    Jul 15, 2004
    Messages:
    43
    Likes Received:
    1
    Trophy Points:
    158
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice