Drupal gives error to admin, anonymous users can browse pages
The reason is that the error message only prints when an admin is logged in, you can disable that by going to Administer > Site configuration > Error reporting, anyway you can still fix the problem, by rebuilding your permissions, it mostly can cause by enabling permission dependent modules, like content access or something else.