Pregunta

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.

¿Fue útil?

Solución

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).
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top