Question

Again, with some of modification "user.php" controller, mysterious error appear:

Unhandled Exception
Message:

syntax error, unexpected ''

Please, 

... yes, that's all. I only modify user.php; here be gist: https://gist.github.com/pmache/17a8d037b89f275235ef

What I tried accomplish, is to register user with user, password, email and additionally - first name and last name. Then, (if proccess go ok) send mail with confirmation link to given adress, so user got validated.

Était-ce utile?

La solution

You are missing the concatenation operator (.) at the end of this line. It should be:

'<p>You need to confirm, that you want to join community</p>' .
'<p>Please, <a href="doNotClick"'.$user->id.'/'.htmlentities($user->validation_code).
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top