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

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 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?