cPanel phpMyAdmin error, need help

kqbd

Member
Nov 14, 2013
8
0
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
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.