php - Symfony FOSUserBundle E-Mail Confirmation -


i installed fosuserbundle , want have e-mail confirmation enabled. meaning if registers user should email activation link.

i following message:

fatalerrorexception: error: maximum execution time of 30 seconds exceeded in  \app\cache\dev\classes.php line 420 

here config.yml file:

#fos user bundle fos_user:     db_driver: orm # other valid values 'mongodb', 'couchdb' , 'propel'     firewall_name: main     user_class: dbe\ddddbundle\entity\user     from_email:         address:        info@dddd.ch         sender_name:    donaci     registration:         confirmation:             enabled:    true # change true required email confirmation 

what might problem? error occures on app_dev.php/register/check-email page.

thanks in advance help!

edit: problem exists other functions resetting too. guess problem email? , how link it? i'm using swift mailer.

# swiftmailer configuration swiftmailer:     transport: "%mailer_transport%"     host:      "%mailer_host%"     username:  "%mailer_user%"     password:  "%mailer_password%"     port: "587"      spool:     { type: memory }    

if work on localhost try change transport setting gmail , set username , password google credential

# app/config/config_dev.yml

# swiftmailer configuration swiftmailer:     transport: "%mailer_transport%"     host:      "%mailer_host%"     spool:     { type: memory }     encryption: ssl     auth_mode:  login     host:       smtp.gmail.com     username:   youremail@gmail.com     password:   password_gmail 

Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -