Magento 2中的Ultimo控制台错误
我正在尝试在我的Magento 2副本上安装ultimo。主题出现在“内容配置”面板中,但它似乎没有应用该主题,我收到大量控制台错误,如以下屏幕截图中的错误: 这可能是因为我无法正确启用主题,因为SSH有一些问题 当我尝试输入以下命令时Magento 2中的Ultimo控制台错误,magento,ssh,themes,magento2,console.log,Magento,Ssh,Themes,Magento2,Console.log,我正在尝试在我的Magento 2副本上安装ultimo。主题出现在“内容配置”面板中,但它似乎没有应用该主题,我收到大量控制台错误,如以下屏幕截图中的错误: 这可能是因为我无法正确启用主题,因为SSH有一些问题 当我尝试输入以下命令时 bin/magento module:enable Infortis_Base Infortis_Brands Infortis_Cgen Infortis_Dataporter Infortis_Infortis Infortis_Ultimo Infort
bin/magento module:enable Infortis_Base Infortis_Brands Infortis_Cgen Infortis_Dataporter Infortis_Infortis Infortis_Ultimo Infortis_UltraMegamenu Infortis_UltraSlideshow
它不断地发出如下信息:
-bash: bin/magento: No such file or directory
我可能还应该提到,在这种情况下,存储文件的服务器由第三方运行,并通过Plesk面板进行控制
如果有人能澄清我在这里做错了什么,我将不胜感激
谢谢请确认您正在正确的位置执行命令,可能您没有将安装magento的目录更改为DocRoot:
# cd /var/www/vhosts/domain_name/httpdocs/
然后再次执行命令查询通过
cd
命令转到magento根目录
然后按命令开火
php bin/magento module:enable Infortis_Base Infortis_Brands Infortis_Cgen Infortis_Dataporter Infortis_Infortis Infortis_Ultimo Infortis_UltraMegamenu Infortis_UltraSlideshow
/opt/plesk/php/7.0/bin/php bin/magento module:enable Infortis_Base Infortis_Brands Infortis_Cgen Infortis_Dataporter Infortis_Infortis Infortis_Ultimo Infortis_UltraMegamenu Infortis_UltraSlideshow
如果您仍然面临权限问题,则您可以通过以下方式重置文件/文件夹权限
感谢所有发帖的人。它实际上是由其他贡献者提供的答案加上我的服务器提供商提供的答案的组合 我必须将CD放入httpdocs(magento安装文件夹)并输入以下命令
php bin/magento module:enable Infortis_Base Infortis_Brands Infortis_Cgen Infortis_Dataporter Infortis_Infortis Infortis_Ultimo Infortis_UltraMegamenu Infortis_UltraSlideshow
/opt/plesk/php/7.0/bin/php bin/magento module:enable Infortis_Base Infortis_Brands Infortis_Cgen Infortis_Dataporter Infortis_Infortis Infortis_Ultimo Infortis_UltraMegamenu Infortis_UltraSlideshow
然后运行“安装:升级”,这似乎解决了问题,我现在可以使用Ultimo。谢谢,这确实是问题的一部分,让我更接近解决方案。谢谢。我确实放错文件夹了。这并不是问题的全部,但它确实让我更接近一个解决方案