I build a site with Joomla 3.4 and all was fine. I think the authentication Joomla plugin was disabled accidentally. I tried everything to fix it in phpmyadmin jos-plugin table.
I published the authentication-joomla ,user-joomla, com-user and all related but it isn't working.