[TYPO3-english] sr_feuser_register hook not working

Arun Chandran arun.c at pitsolutions.com
Tue Jul 16 10:18:50 CEST 2013


Hi,



I've added like that, but no change.
Now I got a solution. This is happened due to a misconfiguration in the line;

/typo3conf/ex/feregister_hook/hooks/class.tx_srfeuserregister_hooks.php:&registrationProcess_afterSaveCreate


It is not like that. The correct syntax is;

/typo3conf/ex/feregister_hook/hooks/class.tx_srfeuserregister_hooks.php:&tx_srfeuserregister_hooks->registrationProcess_afterSaveCreate;
 

Best regards,   
Arun Chandran
 
Software Engineer
  
  PIT Solutions Pvt. Ltd. 
L7 & L8, Floor (-1), Thejaswini, Technopark 
Thiruvananthapuram, Kerala, India, PIN 695 581 

Tel: +91 (0) 471 270 0615 / 0715 / 0915, Extn - 2055 
Fax: +91 (0) 471 252 7117 
Mob: +91 (0) 9847114722
 
Web: www.pitsolutions.com 
Blog: http://blog.pitsolutions.com      
Disclaimer:This message is intended only for the individual or entity to which it is addressed.It may contain privileged, confidential information which is exempted from disclosure under applicable laws.If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.If you have received this communication in error, please notify us immediately by return email.Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the Company.Finally, the recipient should check this email and any attachments for the presence of viruses.The company accepts noliability for any damage caused by any virus transmitted by this email. 


________________________________
 From: Jigal van Hemert <jigal.van.hemert at typo3.org>
To: typo3-english at lists.typo3.org 
Sent: Tuesday, 16 July 2013 1:18 PM
Subject: Re: [TYPO3-english] sr_feuser_register hook not working
 

Hi,

On 16-7-2013 8:32, Arun Chandran wrote:
> But when I load the registration form in frontend, I got an error
 like,
>
> t3lib_div::getUserObj
> |Class 'registrationProcess_afterSaveCreate' was not prepended with 'user_'|
> error in the class name for the hook "model"
> |/typo3conf/ex/feregister_hook/hooks/class.tx_srfeuserregister_hooks.php:&registrationProcess_afterSaveCreate|
>
> Anybody know how can I solve this ??

The error message gives the solution: prepend the class name 
'registrationProcess_afterSaveCreate with 'user_' .


-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list