Forums / Setup & design / Access Denied @ RequireUserLogin=false

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.

eZ debug

Timing: Jan 18 2025 16:18:15
Script start
Timing: Jan 18 2025 16:18:15
Module start 'content'
Timing: Jan 18 2025 16:18:16
Module end 'content'
Timing: Jan 18 2025 16:18:16
Script end

Main resources:

Total runtime0.8668 sec
Peak memory usage4,096.0000 KB
Database Queries204

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 588.9453180.8281
Module start 'content' 0.00770.7453 769.7734627.3828
Module end 'content' 0.75300.1138 1,397.1563337.3828
Script end 0.8668  1,734.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00490.5657210.0002
Check MTime0.00200.2349210.0001
Mysql Total
Database connection0.00120.140110.0012
Mysqli_queries0.798592.11562040.0039
Looping result0.00180.20462020.0000
Template Total0.835396.420.4176
Template load0.00230.268320.0012
Template processing0.832996.087520.4165
Template load and register function0.00010.015210.0001
states
state_id_array0.00100.119410.0010
state_identifier_array0.00070.076720.0003
Override
Cache load0.00200.2298400.0000
Sytem overhead
Fetch class attribute can translate value0.00130.147850.0003
Fetch class attribute name0.00120.140260.0002
XML
Image XML parsing0.00110.132250.0002
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00200.2330270.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs