Web Hosting Forum - A Web Hosting community for Webmasters


Divi WordPress Theme

Author Topic: PHPMyAdmin error cPanel / WHM  (Read 3636 times)

0 Members and 1 Guest are viewing this topic.

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

  • Administrator
  • Web Hosting Master
  • *****
  • Posts: 601
  • 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:
 

Related Topics

  Subject / Started by Replies Last post
1 Replies
2071 Views
Last post March 23, 2008, 08:47:49 PM
by Kailash
4 Replies
2810 Views
Last post April 04, 2013, 02:38:53 PM
by littonbarney
1 Replies
2994 Views
Last post December 19, 2008, 01:09:30 AM
by Kevin
1 Replies
5331 Views
Last post August 15, 2009, 03:31:42 PM
by Kailash
3 Replies
4751 Views
Last post September 21, 2012, 09:49:31 AM
by tustylish