Forums / Setup & design / Site stopped working
Michael Zielinski
Wednesday 05 July 2006 1:37:27 am
Hi, I have some major problems with a site I am developping. http://test.djftechtrans.dkUntil yesterday everything worked fine, but now suddenly users are asked to log in. Even when logged in the following error is shown
Access deniedyou don't have access to this area.
Possible reasons for this are:
You are currently not logged in to the site, to get proper access create a new user or login with an existing user. You misspelled some parts of your URL, try changing it.
I have tried what I could find on the forum, ut still the same. even logging in as admin results in that error. The admin part of the site works fine and another site on the same server works fine too.
I have not modified any templates/overrirdes. I installed phpEdit after which the site still worked and I used phpEdit's ftp to browse the site without opening a template.
Any idea what might be wrong?Thanks
Michael
André R.
Wednesday 05 July 2006 1:45:05 am
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
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
Wednesday 05 July 2006 1:53:53 am
Checked all that, even tried to delete and create a new anonymous login as mentioned somewhere on the forum.
content read No limitations content pdf No limitations user login SiteAccess( techtrans )
/Michael
Thursday 06 July 2006 12:29:16 am
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?
thanksMichael
Tim Dickinson
Thursday 06 July 2006 3:49:06 am
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
Tim
http://www.AdBalance.com - Ad network news and reviews http://www.DevPublisher.com - Website publisher guides, tools and news http://www.AudioMelody.com - Make better music
K259
Thursday 06 July 2006 10:52:42 am
Are you able to access the db through the commandline (mysql prompt?)