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!

cPanel phpMyAdmin error, need help

Discussion in 'Database Discussion' 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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,834
    Likes Received:
    85
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Have you tried to update phpmyadmin through following command ?

    Code:
    /usr/local/cpanel/bin/updatephpmyadmin --force
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,303
    Likes Received:
    1,847
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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 ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,303
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Were you able to check the recommendations in my previous post to this thread?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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.
     
    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