New Class Not Visible to Anonymous User...

Author Message

Alex Jones

Friday 27 June 2003 1:31:33 pm

Well, I am finally jumping into ezPublish now that 3.1 is out and have promptly run into a situation that has me stumped.

Some background:
I have 3.1 installed with the demo data. I have created a new site to experiment in, which does not use the demo data directly. I have made cosmetic changes to a couple of custom templates by copying the standard versions. I have also created a new product class from scratch. It is quite simple.

For some reason when I view a page (a new folder I created) while logged in as Admin I am able to see all items within the folder. But if I am not logged in they are not presented to me. When I hit the URL directly I am told I do not have permission to access the area.

Apparently this is only in effect for items of the class I recently created as I can see newly created folders and products that use the standard classes.

What am I missing here?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Paulo Almeida

Friday 27 June 2003 2:51:13 pm

It seems you haven't added that class to anonymous role in users zone.
Edit anonymous role a add that class / section.

PACPI.COM Internet Consulting
http://pacpi.com

Matthew Knell

Sunday 29 June 2003 8:47:15 pm

I'm having the same problem, I modified the roles to include new classes, cleared all of the caches - tried different browsers, to no luck - I'm still having the issue - any other ideas?

Thanks in advance -

>> I assigned the Anonymous role to anonymous user, and then reassigned all of the new classes to the anonymous role - and it seems to have worked.

Alex Jones

Monday 30 June 2003 8:25:25 am

Thank you both! That got me on track and moving forward.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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 18 2025 16:20:10
Script start
Timing: Jan 18 2025 16:20:10
Module start 'layout'
Timing: Jan 18 2025 16:20:10
Module start 'content'
Timing: Jan 18 2025 16:20:10
Module end 'content'
Timing: Jan 18 2025 16:20:10
Script end

Main resources:

Total runtime0.0189 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.0095 588.0313152.6406
Module start 'layout' 0.00950.0030 740.671939.4766
Module start 'content' 0.01250.0044 780.148493.3672
Module end 'content' 0.01690.0020 873.515634.3047
Script end 0.0189  907.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002714.0659140.0002
Check MTime0.00126.1804140.0001
Mysql Total
Database connection0.00147.633510.0014
Mysqli_queries0.003418.166830.0011
Looping result0.00000.079410.0000
Template Total0.00178.910.0017
Template load0.00084.392010.0008
Template processing0.00084.466410.0008
Override
Cache load0.00063.097710.0006
General
dbfile0.00031.403980.0000
String conversion0.00000.047940.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