NY152
September 14, 2021, 4:23pm
1
I created a web space and as soon as I install a Symfony application there, a 500 error occurs.
In the Apache error log, this appears:
[Tue Sep 14 18:14:06.952077 2021] [core:error] [pid 725:tid 139956332783360] [client xx.xx.xxx.xxx:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.
If anyone can help me that would be nice
thanks in advance
Regards,
Greg
Too many internal redirects…
Have you followed the suggestion? Debug mode and so on…
When I have had problems with redirects it has sometimes been related to a SSL / not-SSL loop.
What does the chrome dev tool say about the recursion?
How is the error output? Who is saying the 500 error, apache, nginx symphony…
NY152
September 14, 2021, 4:37pm
3
jlguerrero:
Too many internal redirects…
Have you followed the suggestion? Debug mode and so on…
When I have had problems with redirects it has sometimes been related to a SSL / not-SSL loop.
What does the chrome dev tool say about the recursion?
How is the error output? Is it a white screen of death?
Chrome’s developer tools show no activity and I got this page instantly.
As for the debug mode, I don’t know where to go to change this parameter in Hestia
NY152
September 14, 2021, 6:28pm
5
The error comes from the .htaccess file added by Hestia during the installation of Symfony (Symfony does not offer this file natively)
[Tue Sep 14 19:57:09.801483 2021] [core:error] [pid 27182:tid 139956324390656] [client xx.xx.xxx.xxx:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.
[Tue Sep 14 19:57:09.801515 2021] [core:debug] [pid 27182:tid 139956324390656] core.c(3940): [client xx.xx.xxx.xxx:0] AH00121: r->uri = /public/public/public/public/public/public/public/public/public/public/
[Tue Sep 14 19:57:09.801546 2021] [core:debug] [pid 27182:tid 139956324390656] core.c(3947): [client xx.xx.xxx.xxx:0] AH00122: redirected from r->uri = /public/public/public/public/public/public/public/public/public/
[Tue Sep 14 19:57:09.801565 2021] [core:debug] [pid 27182:tid 139956324390656] core.c(3947): [client xx.xx.xxx.xxx:0] AH00122: redirected from r->uri = /public/public/public/public/public/public/public/public/
[Tue Sep 14 19:57:09.801583 2021] [core:debug] [pid 27182:tid 139956324390656] core.c(3947): [client xx.xx.xxx.xxx:0] AH00122: redirected from r->uri = /public/public/public/public/public/public/public/
[Tue Sep 14 19:57:09.801601 2021] [core:debug] [pid 27182:tid 139956324390656] core.c(3947): [client xx.xx.xxx.xxx:0] AH00122: redirected from r->uri = /public/public/public/public/public/public/
[Tue Sep 14 19:57:09.801619 2021] [core:debug] [pid 27182:tid 139956324390656] core.c(3947): [client xx.xx.xxx.xxx:0] AH00122: redirected from r->uri = /public/public/public/public/public/
[Tue Sep 14 19:57:09.801637 2021] [core:debug] [pid 27182:tid 139956324390656] core.c(3947): [client xx.xx.xxx.xxx:0] AH00122: redirected from r->uri = /public/public/public/public/
[Tue Sep 14 19:57:09.801655 2021] [core:debug] [pid 27182:tid 139956324390656] core.c(3947): [client xx.xx.xxx.xxx:0] AH00122: redirected from r->uri = /public/public/public/
[Tue Sep 14 19:57:09.801671 2021] [core:debug] [pid 27182:tid 139956324390656] core.c(3947): [client xx.xx.xxx.xxx:0] AH00122: redirected from r->uri = /public/public/
[Tue Sep 14 19:57:09.801688 2021] [core:debug] [pid 27182:tid 139956324390656] core.c(3947): [client xx.xx.xxx.xxx:0] AH00122: redirected from r->uri = /public/
[Tue Sep 14 19:57:09.801704 2021] [core:debug] [pid 27182:tid 139956324390656] core.c(3947): [client xx.xx.xxx.xxx:0] AH00122: redirected from r->uri = /
I have tried other .htaccess rules that work elsewhere on another of my projects but they fail just as much …
What could Hestia have changed that didn’t work right away? : /
Fatal error: Uncaught Error: Call to undefined function Symfony\Component\Mailer\Transport\Smtp\Stream\proc_open() in /home/delaem/web/home.delaemkolbaski.com/public_html/vendor/symfony/mailer/Transport/Smtp/Stream/ProcessStream.php:47 Stack trace: #0 /home/delaem/web/home.delaemkolbaski.com/public_html/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(275): Symfony\Component\Mailer\Transport\Smtp\Stream\ProcessStream->initialize() #1 /home/delaem/web/home.delaemkolbaski.com/public_html/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(210): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->start() #2 /home/delaem/web/home.delaemkolbaski.com/public_html/vendor/symfony/mailer/Transport/AbstractTransport.php(69): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->doSend() #3 /home/delaem/web/home.delaemkolbaski.com/public_html/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(137): Symfony\Component\Mailer\Transport\AbstractTransport->send() #4 /home/delaem/web/home.delaemkolbaski.com/public_html/vendor/symfony/mailer/Transport/SendmailTransport.php(75): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->send() #5 /home/delaem/web/home.delaemkolbaski.com/public_html/vendor/symfony/mailer/Mailer.php(42): Symfony\Component\Mailer\Transport\SendmailTransport->send() #6 /home/delaem/web/home.delaemkolbaski.com/public_html/classes/Mail.php(673): Symfony\Component\Mailer\Mailer->send() #7 /home/delaem/web/home.delaemkolbaski.com/public_html/classes/order/OrderHistory.php(457): MailCore::send() #8 /home/delaem/web/home.delaemkolbaski.com/public_html/classes/order/OrderHistory.php(373): OrderHistoryCore->sendEmail() #9 /home/delaem/web/home.delaemkolbaski.com/public_html/classes/PaymentModule.php(596): OrderHistoryCore->addWithemail() #10 /home/delaem/web/home.delaemkolbaski.com/public_html/modules/ps_checkpayment/controllers/front/validation.php(77): PaymentModuleCore->validateOrder() #11 /home/delaem/web/home.delaemkolbaski.com/public_html/classes/controller/Controller.php(317): Ps_CheckpaymentValidationModuleFrontController->postProcess() #12 /home/delaem/web/home.delaemkolbaski.com/public_html/classes/Dispatcher.php(484): ControllerCore->run() #13 /home/delaem/web/home.delaemkolbaski.com/public_html/index.php(78): DispatcherCore->dispatch() #14 {main} thrown in /home/delaem/web/home.delaemkolbaski.com/public_html/vendor/symfony/mailer/Transport/Smtp/Stream/ProcessStream.php on line 47