【问题标题】:Error while installing Magento 2.3 using XAMPP. Cannot open localhost/demowebsite使用 XAMPP 安装 Magento 2.3 时出错。无法打开本地主机/演示网站
【发布时间】:2019-01-29 09:16:25
【问题描述】:

我是编码和尝试在本地主机上使用 XAMPP 安装 Magento 的新手。但是在尝试导航到 localhost/demowebsite 时出现错误。我怎样才能摆脱这个。如果我需要提供更多信息,请告诉我。

ReflectionException:类 Magento\Framework\App\Http\Interceptor 不存在于 C:\xampp1\htdocs\DemoWebsite\vendor\magento\framework\Code\Reader\ClassReader.php:19 堆栈跟踪:#0 C: \xampp1\htdocs\DemoWebsite\vendor\magento\framework\Code\Reader\ClassReader.php(19): ReflectionClass->__construct('Magento\Framewo...') #1 C:\xampp1\htdocs\DemoWebsite\vendor \magento\framework\ObjectManager\Definition\Runtime.php(49): Magento\Framework\Code\Reader\ClassReader->getConstructor('Magento\Framewo...') #2 C:\xampp1\htdocs\DemoWebsite\vendor \magento\framework\ObjectManager\Factory\Dynamic\Developer.php(48): Magento\Framework\ObjectManager\Definition\Runtime->getParameters('Magento\Framewo...') #3 C:\xampp1\htdocs\DemoWebsite \vendor\magento\framework\ObjectManager\ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Framewo...', Array) #4 C:\xampp1\htdocs \DemoWebsite\vendor\magento\framework\App\Bootstrap.php(234): Magento\Framework\ObjectManager \ObjectManager->create('Magento\Framewo...', Array) #5 C:\xampp1\htdocs\DemoWebsite\index.php(38): Magento\Framework\App\Bootstrap->createApplication('Magento\Framewo ...') #6 {main}

【问题讨论】:

    标签: magento xampp


    【解决方案1】:

    你不能在 Magento 2 中使用http://localhost/ 作为域名,你至少应该使用http://localhost.com/。

    我解释了如何解决它just here。

    希望对你有帮助。

    【讨论】:

      猜你喜欢
      • 2018-11-27
      • 1970-01-01
      • 2017-01-03
      • 1970-01-01
      • 2019-05-07
      • 1970-01-01
      • 2019-01-12
      • 2019-08-03
      • 2014-02-26
      相关资源
      最近更新 更多