Marcin Wagh Posted December 4, 2018 Share Posted December 4, 2018 Witam, Mam powazny problem z prestą 1.7.2.4. Otóż jak wyczyszczę pamięć podręczną przy próbie wejścia do panelu admina mam błąd: FatalErrorException in ErrorHandler.php line 47: Error: Cannot redeclare class Symfony\Component\Debug\ErrorHandler I zostaje przywracanie kopii zapasowej, również z wysyłaniem maili jest problem bo wywala: ContextErrorException in MailTransport.php line 259: Warning: escapeshellcmd() has been disabled for security reasons Ktoś wie co z tym zrobić?? Bo robienie zmian w szablonie teraz nie ma sensu bo zaraz się coś wysypie 😕 Link to comment Share on other sites More sharing options...
0 () Maciej () Posted December 4, 2018 Share Posted December 4, 2018 Jaki hosting ? Co pokazuje konsola w trybie debugowania ? Link to comment Share on other sites More sharing options...
0 Marcin Wagh Posted December 5, 2018 Author Share Posted December 5, 2018 Host: dhosting.pl przy wyczyszczeniu pamięci wywala: FatalErrorException in /home/klient.dhosting.pl/mwit/els.dkonto.pl/public_html/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php line 47: Error: Cannot redeclare class Symfony\Component\Debug\ErrorHandler Teraz przy wysyłaniu maila nie ma tego błędu z konsoli niby ale pokazuje tylko komunikat: An error occurred while sending the message, please try again. Link to comment Share on other sites More sharing options...
0 Marcin Wagh Posted December 5, 2018 Author Share Posted December 5, 2018 Żeby dostać się do admina z powrotem muszę zrobić coś takiego: w linii 17 pliki ErrorHandler.php use Symfony\Component\Debug\Exception\FatalErrorException; usuwam use zapisuje, odświeżam, potem wpisuje z powrotem i znów działa 😕 Takie "rozwiązanie" znalazłem gdzieś na forum angielskim Link to comment Share on other sites More sharing options...
0 Marcin Wagh Posted December 5, 2018 Author Share Posted December 5, 2018 Komunikat z tym MailHandler.php : ContextErrorException in MailTransport.php line 259: Warning: escapeshellcmd() has been disabled for security reasons in MailTransport.php line 259 at ErrorHandler->handleError('2', 'escapeshellcmd() has been disabled for security reasons', '/home/klient.dhosting.pl/mwit/els.dkonto.pl/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/MailTransport.php', '259', array('string' => '[email protected]')) at escapeshellcmd('[email protected]') in MailTransport.php line 259 at Swift_Transport_MailTransport->_isShellSafe('[email protected]') in MailTransport.php line 288 at Swift_Transport_MailTransport->_formatExtraParams('-f%s', '[email protected]') in MailTransport.php line 176 at Swift_Transport_MailTransport->send(object(Swift_Message), array()) in Mailer.php line 85 at Swift_Mailer->send(object(Swift_Message)) in Mail.php line 444 at MailCore::Send('1', 'account', 'Witaj !', array('{firstname}' => 'mamam', '{lastname}' => 'msmaskamsak', '{email}' => '[email protected]'), '[email protected]', 'mamam msmaskamsak') in CustomerPersister.php line 224 at CustomerPersisterCore->sendConfirmationMail(object(Customer)) in CustomerPersister.php line 194 at CustomerPersisterCore->create(object(Customer), '1234567') in CustomerPersister.php line 61 at CustomerPersisterCore->save(object(Customer), '1234567', null) in CustomerForm.php line 191 at CustomerFormCore->submit() in CheckoutPersonalInformationStep.php line 65 at CheckoutPersonalInformationStepCore->handleRequest(array('id_customer' => '', 'id_gender' => '1', 'firstname' => 'mamam', 'lastname' => 'msmaskamsak', 'email' => '[email protected]', 'password' => '1234567', 'submitCreate' => '1', 'continue' => '1', 'controller' => 'order')) in CheckoutProcess.php line 57 at CheckoutProcessCore->handleRequest(array('id_customer' => '', 'id_gender' => '1', 'firstname' => 'mamam', 'lastname' => 'msmaskamsak', 'email' => '[email protected]', 'password' => '1234567', 'submitCreate' => '1', 'continue' => '1', 'controller' => 'order')) in OrderController.php line 202 at OrderControllerCore->initContent() in Controller.php line 205 at ControllerCore->run() in Dispatcher.php line 379 at DispatcherCore->dispatch() in index.php line 28 Link to comment Share on other sites More sharing options...
Question
Marcin Wagh
Witam,
Mam powazny problem z prestą 1.7.2.4. Otóż jak wyczyszczę pamięć podręczną przy próbie wejścia do panelu admina mam błąd:
FatalErrorException in ErrorHandler.php line 47: Error: Cannot redeclare class Symfony\Component\Debug\ErrorHandler
I zostaje przywracanie kopii zapasowej, również z wysyłaniem maili jest problem bo wywala:
ContextErrorException in MailTransport.php line 259: Warning: escapeshellcmd() has been disabled for security reasons
Ktoś wie co z tym zrobić?? Bo robienie zmian w szablonie teraz nie ma sensu bo zaraz się coś wysypie 😕
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now