eZ Community » Forums » Install & configuration » User Activation Problem
expandshrink

User Activation Problem

User Activation Problem

Monday 01 February 2010 5:04:16 pm - 2 replies

Hello after upgrad vom eZ 3.8 to eZ 4.2 the register module makes some problems:

I can register new users with no problem, but when I click onto the activation link, it says "permission denied".

I already tried to allow user module all functions for anonymous users via admin frontend, but it still does not work.

Are there any new configuration settings I have to apply? I found the AnonymousAccessList setting in the documentation. Could that be what I need? I never had to use that before. O.o

What is the clean way to get the user activation to work?

Thank you very much.

btw: the log files don't say anything interesting

Tuesday 02 February 2010 1:20:13 pm

Solved

The problem was that the registrationinfo.tpl template was overridden and did not contain the users node_id in the activation link. In eZ 3.8 this was not necessary while it is now. So the activation link was wrong for eZ 4.2. I could solve it by chainging

{'Click the following URL to confirm your account'|i18n('design/standard/user/register')}
http://{$hostname}{concat("user/activate/", $hash)|ezurl(no)}

to

{'Click the following URL to confirm your account'|i18n('design/standard/user/register')}
http://{$hostname}{concat("user/activate/", $hash, "/", $user.contentobject.main_node_id)|ezurl(no)}

So people upgrading from old eZ version to 4.2 an have their own registration template, might need this as well.

Tuesday 09 February 2010 11:26:51 am

Hi Nabil,

Glad to see you were able to find the cause of your problem and were able to fix it. These feedback posts are valuable to other community members e.g. eZ users.

Could you please edit the original post, and add [SOLVED] in front of the Subject?

Thanks and regards Robin

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from