Collapse

Announcement

Collapse
No announcement yet.

Unable to access the phpMyAdmin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to access the phpMyAdmin

    Unable to access the phpMyAdmin through cPanel facing the following error:

    Access Denied

    Unable to establish a PHP session.

    The account must be able to write to the php session directory and must not exceed the assigned disk quota.

    If you believe that this is in error or inadvertent, contact your system administrator and ask them to review your server settings
    and the cpanel error logs showing below error:-

    Failed to show template “phpsessionerror” in login theme “cpanel” (); falling back to legacy login. at /usr/local/cpanel/Cpanel/Server.pm line 2073, <$socket> line 2.
    Please advise on this.

  • #2
    Usually, this may be caused due to the permission and ownership of the tmp folder at the location /home/cpaneluser .

    1) please make sure the permission of tmp folder is set to 755

    Code:
    root@server [/home/cpaneluser]# chmod 755 tmp
    2) Also, confirm the ownership of tmp folder is set to cpanel username.

    Code:
    root@server [/home/cpaneluser]# chown cpaneluser.cpaneluser  tmp
    if the tmp directory does not exists then you should create it and update the permission and ownership as above.

    If this will not fix then check whether the following file exists or not on your cPanel server.

    Code:
    /var/cpanel/overquota/blocks_cpaneluser
    If exist, then move or rename the file.

    Comment

    Working...
    X