If you are getting above error while opening phpmyadmin through CPanel/WHM this means that the parameters :
session.save_handler and session.save_path are not correctly defined in php.ini file for phpmyadmin .
You can easily fix this by following the below steps :
Login in to the Shell/SSH with the root user :
[email protected][#] vi /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini
and search for parameters :
You will find the entries as :
session.save_handler = sqlite
Just replace those entries to :
session.save_handler = files
session.save_path = /tmp
Save and quit.
finally restart the Apache and CPanel service :
[email protected][#] /etc/init.d/httpd restart
[email protected][#] /etc/init.d/cpanel restart