Jump to content

Błąd po przeniesieniu sklepu na inny serwer


kamilgorski6

Recommended Posts

Witam. Przeniosłem sklep na nowy serwer. Wszystko działa poprawnie oprócz zakładki na zapleczu Moduły i Moduły->wybrane. Po wybraniu tych opcji pojawia się błąd (po włączeniu obsługi błędów):

Compile Error: PrestaShop\PrestaShop\Adapter\Module\Module::instanciateLegacyModule(): Failed opening required '/var/www/vhosts/dev2.livedev.pl/httpdocs/modus/modules/statsstock/statsstock.php' (include_path='/home/modusd/public_html/sklep-demo/tools/htmlpurifier/standalone:/home/modusd/public_html/sklep-demo/vendor/pear/pear_exception:/home/modusd/public_html/sklep-demo/vendor/pear/console_getopt:/home/modusd/public_html/sklep-demo/vendor/pear/pear-core-minimal/src:/home/modusd/public_html/sklep-demo/vendor/pear/archive_tar:.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php')
500 Internal Server Error - FatalErrorException

Stack Trace
in src/Adapter/Module/Module.php at line 320   -
            $this->disk->set('path', _PS_MODULE_DIR_.DIRECTORY_SEPARATOR.$this->attributes->get('name'));
        }
        // End of temporary content
        require_once $this->disk->get('path').DIRECTORY_SEPARATOR.$this->attributes->get('name').'.php';
        $this->instance = LegacyModule::getInstanceByName($this->attributes->get('name'));
    }
Logs   -
1 error
INFO - Matched route "admin_module_catalog".
DEBUG - Read existing security token from the session.
DEBUG - User was reloaded from a user provider.
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "PrestaShopBundle\EventListener\UserLocaleListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "PrestaShop\PrestaShop\Adapter\Security\Admin::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "PrestaShop\PrestaShop\Adapter\Security\SslMiddleware::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "PrestaShopBundle\EventListener\TokenizedUrlsListener::onKernelRequest".
DEBUG - Notified event "kernel.controller" to listener "PrestaShopBundle\EventListener\ActionDispatcherLegacyHooksSubscriber::callActionDispatcherBeforeHook".
DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
DEBUG - SELECT name FROM md_module WHERE active = 1
WARNING - Translation not found.
WARNING - Translation not found.
DEBUG - SELECT m0_.id AS id_0, m0_.id_employee AS id_employee_1, m0_.id_module AS id_module_2, m0_.date_add AS date_add_3, m0_.date_upd AS date_upd_4 FROM md_module_history m0_ WHERE m0_.id_employee = ?
CRITICAL - Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: PrestaShop\PrestaShop\Adapter\Module\Module::instanciateLegacyModule(): Failed opening required '/var/www/vhosts/dev2.livedev.pl/httpdocs/modus/modules/statsstock/statsstock.php' (include_path='/home/modusd/public_html/sklep-demo/tools/htmlpurifier/standalone:/home/modusd/public_html/sklep-demo/vendor/pear/pear_exception:/home/modusd/public_html/sklep-demo/vendor/pear/console_getopt:/home/modusd/public_html/sklep-demo/vendor/pear/pear-core-minimal/src:/home/modusd/public_html/sklep-demo/vendor/pear/archive_tar:.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php')" at /home/modusd/public_html/sklep-demo/src/Adapter/Module/Module.php line 320
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "PrestaShopBundle\EventListener\UserLocaleListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "PrestaShop\PrestaShop\Adapter\Security\Admin::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "PrestaShop\PrestaShop\Adapter\Security\SslMiddleware::onKernelRequest".
DEBUG - Notified event "kernel.request" to listener "PrestaShopBundle\EventListener\TokenizedUrlsListener::onKernelRequest".
DEBUG - Notified event "kernel.controller" to listener "PrestaShopBundle\EventListener\ActionDispatcherLegacyHooksSubscriber::callActionDispatcherBeforeHook".
DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
Stack Trace (Plain Text)   -
[1] Symfony\Component\Debug\Exception\FatalErrorException: Compile Error: PrestaShop\PrestaShop\Adapter\Module\Module::instanciateLegacyModule(): Failed opening required '/var/www/vhosts/dev2.livedev.pl/httpdocs/modus/modules/statsstock/statsstock.php' (include_path='/home/modusd/public_html/sklep-demo/tools/htmlpurifier/standalone:/home/modusd/public_html/sklep-demo/vendor/pear/pear_exception:/home/modusd/public_html/sklep-demo/vendor/pear/console_getopt:/home/modusd/public_html/sklep-demo/vendor/pear/pear-core-minimal/src:/home/modusd/public_html/sklep-demo/vendor/pear/archive_tar:.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php')
    at n/a
        in /home/modusd/public_html/sklep-demo/src/Adapter/Module/Module.php line 320

 

Proszę o pomoc w rozwiązaniu problemu. Pozdrawiam Kamil

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...