Magento - Installation Troubleshooting

picture from www.endlayer.com

Magento Installation Troubleshooting


After the successful installation of Magento, sometimes we met problems.
Here's a list of problem with their solution:

* Blank screen on Magento Admin page
do the following (for Magento 2.3):
- go to C:\xampp\htdocs\magento\vendor\magento\framework\View\Element\Template\File\
- edit Validator.php (use "proper" editor like SublimeText Notepad++ or other. Windows Notepad will be a bit hard for this editing.
- find this string: $realPath = $this->fileDriver->getRealPath($path);
- replace with: $realPath = str_replace('\\', '/', $this->fileDriver->getRealPath($path));
- done
source: https://magento.stackexchange.com/questions/252188/magento-2-2-7-admin-panel-blank-page

* Blank Icon on Magento Admin page / Magento frontpage
This happened because of problems on Magento installation.
do the following (for XAMPP windows).
- delete c:\xampp\htdocs\magento\var\*
- delete c:\xampp\htdocs\magento\pub\static\*
- go to c:\xampp\htdocs\magento
- run c:\xampp\php\php  bin\magento  setup:static-content:deploy -f
- done
source: https://stackoverflow.com/questions/45073393/magento-2-1-7-not-showing-icon-in-admin-panel

I'll update the list once found any new problem.
For Magento 2.3 installation with XAMPP on Windows 10 PC, please follow this page: https://benangijo.blogspot.com/2019/06/magento-with-xampp-installation-PC.html

Please leave comment if you like this page.

Share this:

ABOUT THE AUTHOR

Hello I'm GreenThread, Photography enthusiast and technology follower. Follow me for more updated information.

0 comments:

Post a Comment

Photography: Aperture, ISO dan Shutter speed

Di artikel ini, kita bahas beberapa basic profesional photography yang perlu diketahui ya. Exposure triangle source: https://petapixel.com B...