dplp5928 2019-08-03 05:21
浏览 227
已采纳

xgent中的magento 2.3中的默认模块安装问题

I am a novice in magento and of course in magento 2. I have installed magento 2.3 in php 2.2 in xampp. I have created a custom module which is a CRUD operation. That is working fine. When I am trying to install a module (magento/module-shared-catalog) through the admin panel (System > Web Setup Wizard > Extension Manager(Extension Ready to install)), showing error like.

1. Check Cron Scripts

Cron script readiness check failed. Hide detail

Error from Setup Application Cron Script: Cron job has not been configured yet Other checks will fail as a result (PHP version, PHP settings, and PHP extensions)

Error from Updater Application Cron Script: Cron job has not been configured yet

For additional assistance, see cron scripts help.

2. PHP Settings Check *

For additional assistance, see PHP settings check help .

3. PHP Extensions Check

missing PHP extensions. Hide detail

The best way to resolve this is to install the correct missing extensions. The exact fix depends on our server, your host, and other system variables. Our PHP extension help can get you started.

For additional assistance, contact your hosting provider.

I am trying in my local server(127.0.0.1).

To overcome the above cron issue, I have edited the following function in the following file

C:\xampp\htdocs\lapis\setup\src\Magento\Setup\Controller\Environment.php

in cronScriptAction()

replace

$setupCheck = $this->cronScriptReadinessCheck->checkSetup(); $updaterCheck = $this->cronScriptReadinessCheck->checkUpdater();

to

$setupCheck = ['success' => 1]; $updaterCheck = ['success' => 1];

then cron issue have been fixed but the remaining two issues are still there as mentioned above.

Please assist me how to solve the issue and install any compatible module in my Magento 2.3 application.

  • 写回答

1条回答 默认 最新

  • dqluw20882 2019-08-06 06:44
    关注

    Yes! after googling I got the success both in windows and linux (Ubuntu). I need to run the cron, before try to install module in magento.

    Open terminal and enter the following line in the terminal.

    cd <magento_root_directory>
    

    then execute the following 3 commands in terminal.

    php bin/magento cron:run
    
    php update/cron.php
    
    php bin/magento setup:cron:run
    

    Then try to install the module from magento 2.3 admin panel.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 基于FOC驱动器,如何实现卡丁车下坡无阻力的遛坡的效果
  • ¥15 IAR程序莫名变量多重定义
  • ¥15 (标签-UDP|关键词-client)
  • ¥15 关于库卡officelite无法与虚拟机通讯的问题
  • ¥100 已有python代码,要求做成可执行程序,程序设计内容不多
  • ¥15 目标检测项目无法读取视频
  • ¥15 GEO datasets中基因芯片数据仅仅提供了normalized signal如何进行差异分析
  • ¥100 求采集电商背景音乐的方法
  • ¥15 数学建模竞赛求指导帮助
  • ¥15 STM32控制MAX7219问题求解答