Site stopped working

Author Message

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.dk
Until yesterday everything worked fine, but now suddenly users are asked to log in. Even when logged in the following error is shown

Access denied
you 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

Michael Zielinski

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

Michael Zielinski

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?

thanks
Michael

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?)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 00:15:16
Script start
Timing: Jan 19 2025 00:15:16
Module start 'layout'
Timing: Jan 19 2025 00:15:16
Module start 'content'
Timing: Jan 19 2025 00:15:16
Module end 'content'
Timing: Jan 19 2025 00:15:16
Script end

Main resources:

Total runtime0.0150 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.0234152.6250
Module start 'layout' 0.00580.0022 741.648439.4453
Module start 'content' 0.00800.0049 781.093893.4297
Module end 'content' 0.01290.0021 874.523438.3047
Script end 0.0150  912.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002315.1152140.0002
Check MTime0.00117.5362140.0001
Mysql Total
Database connection0.00106.754110.0010
Mysqli_queries0.002214.687630.0007
Looping result0.00000.079510.0000
Template Total0.001711.610.0017
Template load0.00106.580810.0010
Template processing0.00074.973810.0007
Override
Cache load0.00053.619510.0005
General
dbfile0.00096.286880.0001
String conversion0.00000.052540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs