문제

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.

도움이 되었습니까?

해결책

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).
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top