Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP ERROR 500 When click on import page #28115

Closed
imtiaz0405 opened this issue May 5, 2020 · 4 comments
Closed

HTTP ERROR 500 When click on import page #28115

imtiaz0405 opened this issue May 5, 2020 · 4 comments
Assignees
Labels
Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Reported on 2.3.5 Indicates original Magento version for the Issue report.

Comments

@imtiaz0405
Copy link

imtiaz0405 commented May 5, 2020

Hi ,
I have just setup new magneto 2.3.5 website .Evert hing working fine. In the admin panel when click on the import button i am getting 500 Internal Server Error. Please help to resolve this issue

Error Logs here.

[05-May-2020 20:03:21 UTC] PHP Fatal error:  Uncaught TypeError: Return value of Magento\ImportExport\Model\Import\ImageDirectoryBaseProvider::getDirectoryRelativePath() must be of the type string, null returned in /vendor/magento/module-import-export/Model/Import/ImageDirectoryBaseProvider.php:62

Stack trace:
#0 /vendor/magento/module-import-export/Block/Adminhtml/Import/Edit/Form.php(246): Magento\ImportExport\Model\Import\ImageDirectoryBaseProvider->getDirectoryRelativePath()

#1 /home3/wbminter/public_html/wbm/vendor/magento/module-backend/Block/Widget/Form.php(156): Magento\ImportExport\Block\Adminhtml\Import\Edit\Form->_prepareForm()

#2 /vendor/magento/framework/View/Element/AbstractBlock.php(1099): Magento\Backend\Block\Widget\Form->_beforeToHtml()

#3 vendor/magento/framework/View/Element/AbstractBlock.php(1104): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}()

#4 //vendor/magento/module-import-export/Model/Import/ImageDirectoryBaseProvider.php on line 
@m2-assistant
Copy link

m2-assistant bot commented May 5, 2020

Hi @imtiaz0405. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

@imtiaz0405 do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • yes
  • no

@ghost ghost added this to Ready for QA in Community Backlog May 5, 2020
@magento-engcom-team magento-engcom-team added the Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed label May 5, 2020
@Sutharsan27 Sutharsan27 self-assigned this May 7, 2020
@m2-assistant
Copy link

m2-assistant bot commented May 7, 2020

Hi @Sutharsan27. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Add label Issue: Confirmed once verification is complete.

  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@Sutharsan27
Copy link

@imtiaz0405 Can you please be more specific on the option which you choose within Magento Admin for Import? I need to recreate this issue in Magento 2.3.5 and update the exact steps to reproduce

@imtiaz0405
Copy link
Author

Hi Sir, I have resolved the issue by set time, country in the general settings .

the issue was that when i click on the import link to upload the CSV file for the products,the error appear. The link not open.

@ghost ghost moved this from Ready for QA to Done (last 30 days) in Community Backlog May 9, 2020
@magento-engcom-team magento-engcom-team added the Reported on 2.3.5 Indicates original Magento version for the Issue report. label Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Reported on 2.3.5 Indicates original Magento version for the Issue report.
Projects
No open projects
Community Backlog
  
Done (last 30 days)
Development

No branches or pull requests

3 participants