Access Denied @ RequireUserLogin=false

Author Message

Ahmed El Safty

Monday 28 July 2003 7:46:59 am

Hello,

I know there are many threads about this Access Denied Problem, but I tried several solutions and they did not work.

My Problem:

I would like to have my user site running, so that any user, anonymous so to speak, have access to almost all content modules, expect one which is reserved for members.

I set the variable RequireUserLogin to false in /settings/site.ini, also in setting/siteaccess/user/site.ini.append. and even in .../siteaccess/demo , .../siteaccess/sdk.

The Problem is, when I reload my user page, all content modules return: "Access Denied. You don't have permission to access this area." Except one, which is the Login Page. When I login, everthing works fine though.

I even realized, when i set RequireUserLogin to false in /settings/siteaccess/admin/site.ini.append I got the same error message in the admin pages.

It seems, as if all modules are only available for logged in persons.

I also changed the roles so that all users have unlimited access to all modules, like administrators.

But, unfortunaetly not successful.

I work on Mac OS X 10.2.6 with Apache, Mysql, PHP installed and running.
I use ezPublish 3.02.

The solution maybe trivial, but as the Germans say:

I don't see the forest, because of the plentitude of trees.!!!

Any help is appreciated.

Thanks!

Bjørn Kaarstein

Tuesday 29 July 2003 1:40:10 am

Try to set RequireUserLogin=false in your settings\override\site.ini.append.php

Regards Bjørn

Ahmed El Safty

Tuesday 29 July 2003 4:05:40 am

Thanks Bjoern for the reply.

Acutally there was no variable "RequireUserLogin" in the /settings/override/site.ini.append.php. I included it, set it to false, but got the same failure.

Is there a possibility to define a default user whenever the site is accessed. So I can set this user as anonymous and adapt his role.

But as I think about it, this wouldn't help. ezPublish would recognize him as a user and registering another person via the user site would be impossible.

Should I reinstall ezPublish...??

Any soon help is appreciated, because my work is lying down now.

Thank You

Bruce Morrison

Tuesday 29 July 2003 3:42:57 pm

Make sure that the anonymous user has the permission

user login *

Have you tried turning debugging on?

Cheers
Bruce
designIT

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

bun taing

Tuesday 11 May 2004 6:12:10 am

I have the same problems when I setup Intranet. Did you figure out if you do help me out by posting at siteaccesssettings section.

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 31 2025 04:34:01
Script start
Timing: Jan 31 2025 04:34:01
Module start 'layout'
Timing: Jan 31 2025 04:34:01
Module start 'content'
Timing: Jan 31 2025 04:34:01
Module end 'content'
Timing: Jan 31 2025 04:34:01
Script end

Main resources:

Total runtime0.0141 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.0053 588.2500151.2266
Module start 'layout' 0.00530.0030 739.476636.6797
Module start 'content' 0.00840.0037 776.156394.1563
Module end 'content' 0.01210.0020 870.312533.9922
Script end 0.0141  904.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002517.7298140.0002
Check MTime0.00118.1319140.0001
Mysql Total
Database connection0.00085.723610.0008
Mysqli_queries0.002819.572430.0009
Looping result0.00000.084410.0000
Template Total0.001510.410.0015
Template load0.00128.706210.0012
Template processing0.00021.645010.0002
Override
Cache load0.00075.056510.0007
General
dbfile0.00032.057180.0000
String conversion0.00000.057440.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