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.

cPanel phpMyAdmin error, need help

Discussion in 'Database Discussions' started by kqbd, Nov 16, 2013.

  1. kqbd

    kqbd Member

    Joined:
    Nov 14, 2013
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hi Bro,
    How to solve this problem:
    Code:
    Warning: session_write_close() [function.session-write-close]: SQLite: session write query failed: database disk image is malformed in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42
    
    Warning: session_write_close() [function.session-write-close]: Failed to write session data (sqlite). Please verify that the current setting of session.save_path is correct (/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42
    
    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php:42) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 99
    
    Regards and thanks
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,145
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Have you tried to update phpmyadmin through following command ?

    Code:
    /usr/local/cpanel/bin/updatephpmyadmin --force
     
  3. 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 :)

    Check to make sure your system is not at it's disk space or inodes limit:

    Code:
    df -h
    df -i
    Also, check the permission/ownership values on /var/cpanel/userhomes/cpanelphpmyadmin:

    Code:
    stat /var/cpanel/userhomes/cpanelphpmyadmin
    Thank you.
     
  4. kqbd

    kqbd Member

    Joined:
    Nov 14, 2013
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hi @24x7server
    I tried your suggesion already, but still cannot solved :( any more adivce ?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Were you able to check the recommendations in my previous post to this thread?

    Thank you.
     
  6. kqbd

    kqbd Member

    Joined:
    Nov 14, 2013
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Oh yes cPanelMichael, I'm sorry. I've just follow 24x7server suggession. It's ok now, problem due to permission.
    Thank for your help.
     
Loading...

Share This Page