eZPub 4.5 - when I approve a new user I can't see the user through all the siteaccess

Author Message

alessio asistar

Thursday 12 May 2011 1:41:27 am

I'm using ezPublish 4.5 and the approval system with cronjob and workflow.

when I approve a new user I can't see the user through all the siteaccess that aren't Admin

after cleaning the content cache I can see them.

There is another way to view the new approved user without clear the cache?

Thanks

Alessio

Chen Xiongjie

Thursday 12 May 2011 4:24:14 am

If I remember correctly you are using admin siteaccess in cronjob, right? -s <admin_site_access_name>. It should clear cache automatically, can you check if there is same issue for normal content object with workflow?

eZ Comments: http://projects.ez.no/ezcomments
twitter: http://twitter.com/xiongjie

alessio asistar

Thursday 12 May 2011 5:28:16 am

What I have to do?

I add a line in crontab, but i'm not sure is the right way.

* * * * * cd /path/to/ezp4.5/ && php runcronjobs.php -q -s <admin siteaccess> frequent
* * * * * cd /path/to/ezp4.5/ && php runcronjobs.php -q -s <ita siteaccess> frequent

I tryed it and works.

Alessio

Chen Xiongjie

Friday 13 May 2011 2:59:40 am

" check if there is same issue for normal content object with workflow", I mean if the content cache is not cleared in front site access for user approval, the same issue should remain if you approve normal content(for instance, if you approve an article, the cache shouldn't be cleared as well in front site access).

I don't think running cronjob for 2 site access is the right way. If in <admin site access> site.ini, the front site acces is set to RelatedSiteAccessList, it will clear cache in front siteaccess. can you check if the front siteaccess is set like RelatedSiteAccessList=<FrontSiteAccessName> in setting/siteaccess/<AdminSiteAccessName>/site.ini.append.php?

eZ Comments: http://projects.ez.no/ezcomments
twitter: http://twitter.com/xiongjie

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

Main resources:

Total runtime0.6287 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.4063152.6875
Module start 'layout' 0.00590.0033 741.093839.5625
Module start 'content' 0.00910.6180 780.6563544.3359
Module end 'content' 0.62720.0015 1,324.992212.0625
Script end 0.6287  1,337.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5457160.0002
Check MTime0.00150.2449160.0001
Mysql Total
Database connection0.00090.139410.0009
Mysqli_queries0.573191.1516600.0096
Looping result0.00080.1212580.0000
Template Total0.596594.920.2983
Template load0.00220.353620.0011
Template processing0.594394.525120.2971
Template load and register function0.00020.034410.0002
states
state_id_array0.00090.139210.0009
state_identifier_array0.00200.317320.0010
Override
Cache load0.00180.2906210.0001
Sytem overhead
Fetch class attribute can translate value0.00080.121720.0004
Fetch class attribute name0.00160.256950.0003
XML
Image XML parsing0.00200.319720.0010
class_abstraction
Instantiating content class attribute0.00000.002860.0000
General
dbfile0.00220.3529160.0001
String conversion0.00000.001940.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs