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

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