Page 1 of 1

Self Registration module verification email problem

Posted: Wed Apr 25, 2012 3:37 pm
by secondskin
Hi,

I have Self Reg module (version 1.6.15) and FEU (1.17.1) running on CMS 1.10.3, but got a problem..

Self reg is set to send a verify email, which works OK, but when I click the link in the verify email I get a broken page with this error message:

Code: Select all

string(157) "Smarty error: [in module_db_tpl:SelfRegistration;selfreg_reg2template line 3]: syntax error: unidentified token '\'\'' (Smarty_Compiler.class.php, line 1410)" string(157) "Smarty error: [in module_db_tpl:SelfRegistration;selfreg_reg2template line 4]: syntax error: unidentified token '\'\'' (Smarty_Compiler.class.php, line 1410)" 
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/getoffth/public_html/tmp/templates_c/SelfRegistration^%%9E^9E9^9E9BA8BB%%module_db_tpl%3ASelfRegistration%3Bselfreg_reg2template.php on line 5

Parse error: syntax error, unexpected T_STRING in /home/getoffth/public_html/tmp/templates_c/SelfRegistration^%%9E^9E9^9E9BA8BB%%module_db_tpl%3ASelfRegistration%3Bselfreg_reg2template.php on line 6
I found the
unidentified token '\'\''
in the Registration Template 2 of the Self Reg module.. now am pretty confused as to why there are 2 very similar looking templates.. and how this would be throwing such an error. I've had a good look through the forum but can't find anything directly relating to this !

Re: Self Registration module verification email problem

Posted: Wed Apr 25, 2012 3:56 pm
by secondskin
just to update, I found and corrected the problem with 'message' being misspelt in Template 2, but still got an error when clicking the link in the verify email:

Code: Select all

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/getoffth/public_html/tmp/templates_c/SelfRegistration^%%9E^9E9^9E9BA8BB%%module_db_tpl%3ASelfRegistration%3Bselfreg_reg2template.php on line 5

Parse error: syntax error, unexpected T_STRING in /home/getoffth/public_html/tmp/templates_c/SelfRegistration^%%9E^9E9^9E9BA8BB%%module_db_tpl%3ASelfRegistration%3Bselfreg_reg2template.php on line 6

Re: Self Registration module verification email problem

Posted: Thu Apr 26, 2012 5:31 am
by vilkis
Clear Cache in admin panel Site Admin ยป Global Settings in tab Advanced Setup

vilkis

Re: Self Registration module verification email problem

Posted: Thu Apr 26, 2012 11:06 am
by secondskin
I've just tried this but it makes no difference, still getting the same broken page and error..

Re: Self Registration module verification email problem

Posted: Sat May 05, 2012 9:57 am
by timdebuurman
Same problem here..

any solutions?

Re: Self Registration module verification email problem

Posted: Sat May 05, 2012 8:59 pm
by timdebuurman
I got it fixed by changing in registration template 2 (under "Users/groups" -> Sef-Registration module" -> 4th tab)

this:

{if isset($messsage) && $message != \'\'}
{if isset($error) && $error != \'\'}

to this:

{if isset($message) && $message != ''}
{if isset($error) && $error != ''}