View' access for the website id = 1

Hello folks,

I am having issue with Piwik (3.0.2). Whenever I login with my super admin credentials, I get this error

You can’t access this resource as it requires an ‘view’ access for the website id = 1.

  • I tried to reset the password, but it seems that it doesn’t work.The password remains the same.
  • I reinstalled Piwik again, but still didn’t work, same error message.
  • I checked my superadmin credentials in the db and it was set to “1” which is correct

Any suggestions to go about this?
I maybe suspect the .htaccess on my root directory is causing this? could it be?

My main directory is (public_html)
and piwik is installed in (public_html/piwik)