Jump to content
  • 0

Problem z czyszczeniem pamięci podręcznej


Marcin Wagh

Question

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

  • 0

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

  • 0

Ż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

  • 0

Komunikat z tym MailHandler.php :

ContextErrorException in MailTransport.php line 259: Warning: escapeshellcmd() has been disabled for security reasons

  1. in MailTransport.php line 259
  2. 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]'))
  3. at escapeshellcmd('[email protected]') in MailTransport.php line 259
  4. at Swift_Transport_MailTransport->_isShellSafe('[email protected]') in MailTransport.php line 288
  5. at Swift_Transport_MailTransport->_formatExtraParams('-f%s', '[email protected]') in MailTransport.php line 176
  6. at Swift_Transport_MailTransport->send(object(Swift_Message), array()) in Mailer.php line 85
  7. at Swift_Mailer->send(object(Swift_Message)) in Mail.php line 444
  8. at MailCore::Send('1', 'account', 'Witaj !', array('{firstname}' => 'mamam', '{lastname}' => 'msmaskamsak', '{email}' => '[email protected]'), '[email protected]', 'mamam msmaskamsak') in CustomerPersister.php line 224
  9. at CustomerPersisterCore->sendConfirmationMail(object(Customer)) in CustomerPersister.php line 194
  10. at CustomerPersisterCore->create(object(Customer), '1234567') in CustomerPersister.php line 61
  11. at CustomerPersisterCore->save(object(Customer), '1234567', null) in CustomerForm.php line 191
  12. at CustomerFormCore->submit() in CheckoutPersonalInformationStep.php line 65
  13. 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
  14. 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
  15. at OrderControllerCore->initContent() in Controller.php line 205
  16. at ControllerCore->run() in Dispatcher.php line 379
  17. at DispatcherCore->dispatch() in index.php line 28

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...