Divi WordPress Theme

Topic: PHPMyAdmin error cPanel / WHM  (Read 3984 times)

Offline Mike

  • New Member
  • *
  • Posts: 36
  • iTrader: +0/-0
    • View Profile
PHPMyAdmin error cPanel / WHM
« on: July 08, 2008, 09:43:17 PM »
Hi,

Got the below error while accessing PHPMyAdmin from WHM:

=================
Warning: session_start() [function.session-start]: SQLite: failed to open/create session database `/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb' - unable to open database: /var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/session.inc.php on line 86

Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: sqlite (path: /var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/session.inc.php on line 86
===================

Any idea how can I fix this?

Thanks,

Mike
« Last Edit: January 01, 1970, 05:30:00 AM by Mike »
VPS Hosting - AccuWebHosting

Offline Kailash

  • Web Hosting Master
  • *****
  • Administrator
  • Posts: 610
  • iTrader: +153/-0
    • View Profile
(No subject)
« Reply #1 on: July 10, 2008, 10:19:26 AM »
you can fix it my modifying /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini file. Login to your server via SSH and open this file then

Replace the below lines:
=================
session.save_handler = sqlite
session.save_path =/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb
=================

To
==================
session.save_handler = files
session.save_path = /tmp
==================

This should resolve this error.
« Last Edit: January 01, 1970, 05:30:00 AM by Kailash »
Divi WordPress Theme
Tags: