How to install magento 2.3.3 with sample data in localhost

cpujjwal

Member
XNullUser
Joined
Feb 3, 2022
Messages
32
Reaction score
3
Points
8
NullCash
1
----------------------------------------------------------------------
Requirement:
xampp-windows-x64-7.2.33-0-VC15-installer
elasticsearch-7.15.2-windows-x86_64
Composer-Setup
Magento-CE-2.3.3_sample_data-2019-09-26-04-40-18

----------------------------------------------------------------------
Step1 : Install Xammpp
----------------------------------------------------------------------
File: php.ini
Enable Extesion : intl , soap ,socket ,xls
-------------------------------------------------------------------
vendor/magento/framework/View/Element/Template/File/Validator.php
B. Search the following line

if (0 === strpos($realPath, $directory)) {
return true;
}
C. Replace the content with the following lines.

$realDirectory = $this->fileDriver->getRealPath($directory);
if (0 === strpos($realPath, $realDirectory)) {
return true;
}
-------------------------------------------------------------------
E:\xampp\htdocs\elasticsearch\bin\elasticsearch.bat

do not turn off elasticsearch

---------------------------------------------------------------------
Command lines
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
------------------------------------------------------------------------


Go to vendor\magento\framework\File\Uploader.php

In function _setUploadFileId($fileId), change:

$this->validateFileId($fileId);
to
//$this->validateFileId($fileId);
 

zyhivan

Member
XNullUser
Joined
Aug 6, 2021
Messages
790
Reaction score
0
Points
16
NullCash
3,710
great module for import! Thank you so much! Thank you so much!
 
Top