----------------------------------------------------------------------
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);
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);