You might have done some siteaccess changes.
1.Login as admin and check to see that guests have access to the current siteaccess.
(Roles and policies -> Anonymous -> user login SiteAccess( plain_site ) ) 2. make sure you have not set RequireUserLogin=true in public siteaccess
ok seems like I have a db related problem.
I have vreated a new site and moved all the templates and stuffand it was still working, but when I moved the db I got the access denied error again. Does anybody know how I can find out what's wrong withthe db?
That error comes from not being able to connect to the datab ase normally (at least that's what I've found).
In each siteaccess check the site.ini.php file and check the database settings
[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=localhost (OR THE ADDRESS OF YOUR DATABASE SERVER)
User=YOUR_MYSQL_USERNAME
Password=YOUR_MYSQL_PASSWORD
Database=YOUR_MYSQL_DATABASE_NAME
Charset=
Socket=disabled