Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple form doesn't work. #7

Open
Bieleke opened this issue Apr 23, 2012 · 10 comments
Open

Simple form doesn't work. #7

Bieleke opened this issue Apr 23, 2012 · 10 comments

Comments

@Bieleke
Copy link
Contributor

Bieleke commented Apr 23, 2012

If you want a simple contact form only sending an email to you contact mailbox, then you just have to add to your configuration file

ihqs_contact:
connectors:
email:
recipients: cont@ct.me

This doesn't work, produces the next error...

Whoops, looks like something went wrong.
1/1 ErrorException: Notice: Undefined index: contact in /var/www/vendor/bundles/IHQS/ContactBundle/DependencyInjection/IHQSContactExtension.php line 44

in /var/www/vendor/symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php line 65
at ErrorHandler->handle() in /var/www/vendor/bundles/IHQS/ContactBundle/DependencyInjection/IHQSContactExtension.php line 44
at IHQSContactExtension->load() in /var/www/vendor/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php line 42
at MergeExtensionConfigurationPass->process() in /var/www/vendor/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/MergeExtensionConfigurationPass.php line 39
at MergeExtensionConfigurationPass->process() in /var/www/vendor/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php line 119
at Compiler->compile() in /var/www/vendor/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php line 437
at ContainerBuilder->compile() in /var/www/app/bootstrap.php.cache line 868
at Kernel->buildContainer() in /var/www/app/bootstrap.php.cache line 779
at Kernel->initializeContainer() in /var/www/app/bootstrap.php.cache line 513
at Kernel->boot() in /var/www/app/bootstrap.php.cache line 544
at Kernel->handle() in /var/www/html/app_dev.php line 33

However if i use the extended version of the config this error does not happen.

@AlepH-FR
Copy link
Member

AlepH-FR commented May 2, 2012

this bundle is pretty outdated, i should rewrite some parts when i'll have more time :x

@Bieleke
Copy link
Contributor Author

Bieleke commented May 2, 2012

Can you make some time to watch the pull requests ? :-)

@AlepH-FR
Copy link
Member

AlepH-FR commented May 2, 2012

planning to do that tomorrow ; )

@mente
Copy link
Contributor

mente commented Jun 5, 2012

@Bieleke check issue #10 . I've updated code and email sending works for me. Of course if it's not too late :)

@Bieleke
Copy link
Contributor Author

Bieleke commented Jun 5, 2012

Well i used the more advanced config instead which worked, but however thanks to fix this one.

@Bieleke
Copy link
Contributor Author

Bieleke commented Jun 11, 2012

Still doesn't work though...

[ErrorException]
Notice: Undefined index: contact in /ho
me/animalsmc/domains/animals-mc.com/pub
lic_html/Symfony/vendor/bundles/IHQS/Co
ntactBundle/DependencyInjection/IHQSCon
tactExtension.php line 53

So i assume the fix is not yet pulled ?

@mente
Copy link
Contributor

mente commented Aug 7, 2012

No and I think it won't be pulled. Better find another contact bundle

@AlepH-FR
Copy link
Member

AlepH-FR commented Aug 7, 2012

just merged latest pull request.

@Bieleke
Copy link
Contributor Author

Bieleke commented Aug 7, 2012

Can't we then just fork this bundle and make it 2.1 compatible ?
I have no problems with taking care the pulls come on time.
Because face it, i also dropped this bundle because it simply doesn't work.

In the first place it looked like it worked, but the emails where never sended.
While i created my own contactpage with form the email where sended right away.
However, i pretty liked this bundle as it was so easy to install.

@AlepH-FR
Copy link
Member

AlepH-FR commented Aug 7, 2012

sure, no problem with that ; )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants