LWCrepaldi 0 Publicado November 12, 2018 Share Publicado November 12, 2018 Bom dia pessoal Sou novo no magento 2 e estou tentando montar uma loja com o pagseguro e o modulo do correio (Igor Ludgero)conforme o video de vocês, apos apanhar um pouco eu instalei o magento 2 e segui o vídeo de vocês para instalar o modulo pagseguro, funcionou tudo ok, subi um tema, traduzi ficou show. O problema ocorreu ontem quando fui instalar o modulo dos correios, segui o video passo a passo, mas quando executei o comando: php bin/magento setup:static-content:deploy pt_BR Ai entrei em desespero, a loja não abre mais, a principio ficava reclamando de falta de permissão para criar diretórios em tempo de execução, então fui lendo log por log e criando os diretórios, agora quando tento acessar exibe essa mensagem There has been an error processing your request Exception printing is disabled by default for security reasons. Error log record number: 1037778146750 Olhando o arquivo, ele esta assim: a:4:{i:0;s:71:"Class Magento\Framework\Controller\Result\ForwardFactory does not exist";i:1;s:5973:"#0 /home/visualbr/public_html/loja/vendor/magento/framework/Code/Generator/Autoloader.php(35): Magento\Framework\Code\Generator->generateClass('Sm\\Market\\Contr...') #1 [internal function]: Magento\Framework\Code\Generator\Autoloader->load('Sm\\Market\\Contr...') #2 [internal function]: spl_autoload_call('Sm\\Market\\Contr...') #3 /home/visualbr/public_html/loja/vendor/magento/framework/Code/Reader/ClassReader.php(19): ReflectionClass->__construct('Sm\\Market\\Contr...') #4 /home/visualbr/public_html/loja/vendor/magento/framework/ObjectManager/Definition/Runtime.php(44): Magento\Framework\Code\Reader\ClassReader->getConstructor('Sm\\Market\\Contr...') #5 /home/visualbr/public_html/loja/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(71): Magento\Framework\ObjectManager\Definition\Runtime->getParameters('Sm\\Market\\Contr...') #6 /home/visualbr/public_html/loja/vendor/magento/framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Sm\\Market\\Contr...', Array) #7 /home/visualbr/public_html/loja/vendor/magento/framework/App/ActionFactory.php(40): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Cms\\Con...') #8 /home/visualbr/public_html/loja/vendor/magento/framework/App/Router/Base.php(300): Magento\Framework\App\ActionFactory->create('Magento\\Cms\\Con...') #9 /home/visualbr/public_html/loja/vendor/magento/framework/App/Router/Base.php(161): Magento\Framework\App\Router\Base->matchAction(Object(Magento\Framework\App\Request\Http), Array) #10 /home/visualbr/public_html/loja/vendor/magento/framework/App/FrontController.php(50): Magento\Framework\App\Router\Base->match(Object(Magento\Framework\App\Request\Http)) #11 /home/visualbr/public_html/loja/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #12 /home/visualbr/public_html/loja/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #13 /home/visualbr/public_html/loja/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'requestPreproce...') #14 /home/visualbr/public_html/loja/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #15 /home/visualbr/public_html/loja/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #16 /home/visualbr/public_html/loja/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install') #17 /home/visualbr/public_html/loja/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #18 /home/visualbr/public_html/loja/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #19 /home/visualbr/public_html/loja/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...') #20 /home/visualbr/public_html/loja/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #21 /home/visualbr/public_html/loja/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #22 /home/visualbr/public_html/loja/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...') #23 /home/visualbr/public_html/loja/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(68): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #24 /home/visualbr/public_html/loja/vendor/magento/framework/Interception/Interceptor.php(142): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #25 /home/visualbr/public_html/loja/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array) #26 /home/visualbr/public_html/loja/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #27 /home/visualbr/public_html/loja/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch() #28 /home/visualbr/public_html/loja/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #29 {main}";s:3:"url";s:6:"/loja/";s:11:"script_name";s:15:"/loja/index.php";} O que posso fazer para recuperar essa loja? Alguma ideia ? Comentar essa mensagem Link to post Share on other sites
Ariel Cugenotta 19 Publicado November 22, 2018 Share Publicado November 22, 2018 Olá @LWCrepaldi Para recuperar basta colocar em modo dev php bin/magento deploy:mode:set developer Depois desabilite o modulo dos correios php bin/magento module:disable ImaginationMedia_Correios -c E por fim remova a pasta do módulo app/code/ImaginationMedia/Correios Ai é só colocar em produção novamente e republicar os arquivos estáticos. Aconselho que tente a instalação do módulo dos correios em um ambiente de teste e não em produção, ok? Além disso tente instalar em uma verão nativa do Magento, sem nenhum outro modulo ou tema, pois é possível que esse servidor que esta usando possui alguma configuração que não esta de acordo com o módulo. Comentar essa mensagem Link to post Share on other sites
Mensagens Recomendadas
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.