Jump to content

Dashboard Access Denied


Recommended Posts

I'm having problem accessing the back office.

 

My home page (Dashboard) is not working. All other tabs are ok, except the logs, that shows me:

  • Bad SQL query
    Unknown column 'a.id_employee' in 'on clause'

 

I'm already create a new SuperAdmin and delete the old one, check all permissions, check the tables ps_access and ps_employee, but did not find anything helpful.

 

There's one or two posts about that here in the forum as solved, but none worked for me

 

PS vs 1.5.4.1, default theme

post-606570-0-09102800-1399316918_thumb.jpg

Link to comment
Share on other sites

Tks Vekia

 

Dashboard: no errors, only the message "access denied"

 

Advanced Parameters/Logs:

[PrestaShopDatabaseException]

Unknown column 'a.id_employee' in 'on clause'
 

        SELECT SQL_CALC_FOUND_ROWS
         a.*
        , CONCAT(LEFT(e.firstname, 1), '. ', e.lastname) employee
        FROM `ps_log` a
        
         LEFT JOIN ps_employee e ON (a.id_employee = e.id_employee)
        
        WHERE 1
        
        
        ORDER BY a.id_log ASC LIMIT 0,50

at line 607 in file classes/db/Db.php

 

601.             WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
602.         }
603.         else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
604.         {
605.             if ($sql)
606.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
607.             throw new PrestaShopDatabaseException($this->getMsgError());
608.         }
609.     }
610.
611.     /**
Link to comment
Share on other sites

Tried to disable all non-native plug-ins, no success.

 

Take a look at another store, I saw that I don't have the field HOME in Administration/Permissions, The first field is CMS Pages.

 

The other site is in Portuguese, but its easy to conclude that the permissions for HOME (Inicio) is missing on the site that does not show the Dashboard.  

 

The following message:

  • blockinfos module is installed in the database but its files are missing/incompatible.

 

Any tip to fix? post-606570-0-01934800-1399654035_thumb.jpg

Edited by gabiatti (see edit history)
Link to comment
Share on other sites

I've upload ps_access from an old database, and now it works to the Administrators profile, but not to the SuperAdministrator. Weird!!!

 

Controller not found
The controller AdminDashboard is missing or invalid.

 

If AdminDashboard is a file, I don't have it here in any backup.

 

The Tab Permissions does not have the item HOME (as post # 7) and shows: blockinfos module is installed in the database but its files are missing/incompatible

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...