500 Internal Server Error

Was trying to submit form to test and got a 500 Internal Server Error .






Was trying to submit form to test and got a 500 Internal Server Error .

Tried this but it was already correct

Open app/bundles/LeadBundle/Entity/LeadRepository.php and search for updateLeadLastActive and change it to updateLastActive.

From log

[quote][2015-02-20 16:14:19] mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionNotFoundHttpException: “No route found for “GET /index_dev.php/installer”” at /home4/medsupin/public_html/mail/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 145 {“exception”:"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): No route found for “GET /index_dev.php/installer” at /home4/medsupin/public_html/mail/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/EventListener/RouterListener.php:145, Symfony\Component\Routing\Exception\ResourceNotFoundException(code: 0): at /home4/medsupin/public_html/mail/app/cache/prod/appProdUrlMatcher.php:667)"} []
[2015-02-20 17:40:00] mautic.CRITICAL: Uncaught PHP Exception DoctrineORMQueryQueryException: “[Semantical Error] line 0, col 76 near ‘a WHERE n.lead’: Error: Class MauticLeadBundleEntityLeadNote has no association named createdBy” at /home4/medsupin/public_html/mail/vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php line 63 {“exception”:"[object] (Doctrine\ORM\Query\QueryException(code: 0): [Semantical Error] line 0, col 76 near ‘a WHERE n.lead’: Error: Class Mautic\LeadBundle\Entity\LeadNote has no association named createdBy at /home4/medsupin/public_html/mail/vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php:63, Doctrine\ORM\Query\QueryException(code: 0): SELECT n, a FROM Mautic\LeadBundle\Entity\LeadNote n INNER JOIN n.createdBy a WHERE n.lead = :ETWlVgAF ORDER BY n.dateTime DESC at /home4/medsupin/public_html/mail/vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php:41)"} []
[2015-03-05 21:21:43] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “Cannot redirect to an empty URL.” at /home4/medsupin/public_html/mail/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/RedirectResponse.php line 41 {“exception”:"[object] (InvalidArgumentException(code: 0): Cannot redirect to an empty URL. at /home4/medsupin/public_html/mail/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/RedirectResponse.php:41)"} []
[2015-03-05 21:23:16] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “Cannot redirect to an empty URL.” at /home4/medsupin/public_html/mail/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/RedirectResponse.php line 41 {“exception”:"[object] (InvalidArgumentException(code: 0): Cannot redirect to an empty URL. at /home4/medsupin/public_html/mail/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/RedirectResponse.php:41)"} []
[2015-03-05 21:36:52] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “Cannot redirect to an empty URL.” at /home4/medsupin/public_html/mail/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/RedirectResponse.php line 41 {“exception”:"[object] (InvalidArgumentException(code: 0): Cannot redirect to an empty URL. at /home4/medsupin/public_html/mail/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/RedirectResponse.php:41)"} []
[2015-03-05 21:54:17] mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionNotFoundHttpException: “No route found for “GET /mautic_prod.php”” at /home4/medsupin/public_html/mail/app/cache/prod/classes.php line 2367 {“exception”:"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): No route found for “GET /mautic_prod.php” at /home4/medsupin/public_html/mail/app/cache/prod/classes.php:2367, Symfony\Component\Routing\Exception\ResourceNotFoundException(code: 0): at /home4/medsupin/public_html/mail/app/cache/prod/appProdUrlMatcher.php:1075)"} []
[2015-03-05 21:59:43] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “Cannot redirect to an empty URL.” at /home4/medsupin/public_html/mail/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/RedirectResponse.php line 41 {“exception”:"[object] (InvalidArgumentException(code: 0): Cannot redirect to an empty URL. at /home4/medsupin/public_html/mail/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/RedirectResponse.php:41)"} [][/quote]

Hi!

The latest RC should solve these issues. Can you try upgrading to see if you get the same results.

Although I think the last one is due to the redirect URL not being set in the form’s success post submit action?

Thanks,
Alan