Blank admin page after installing Magento 2

Step 1:

open file /vendor/magento/framework/View/Element/Template/File/Validator.php in magento install dir , find

$realPath = $this->fileDriver->getRealPath($path)

replace with :

$realPath = str_replace('\\', '/', $this->fileDriver->getRealPath($path));

Step 2:
open file app/etc/di.xml in magento install dir, find

agento\Framework\App\View\Asset\MaterializationStrategy\Symlink

and replace with

Magento\Framework\App\View\Asset\MaterializationStrategy\Copy

Step 3:
Then go to var/cache , delete all folder / file

Step 4:
refresh the page, done.

NGINX server SSL installation and SSL upgrade

Please follow the below steps to Install and Upgrade the SSL in nginx server:

Step1:  Open putty SSH

Step2: Redirect to Domain Config file to find / create the SSL key and SSL crt location.

Step3: Please follow the below step to find view/edit the domain config file.
 — Once logged into SSH.
 — From current folder, redirect to root folder using below comment.
     Comment:  cd ..
     Also, please check the below image.
    

—From root folder, redirect to /etc/nginx/conf.d folder to reach the domain.conf file.
    Comment: cd etc/nginx/conf.d

— From conf.d folder, list out the all files using below comment to find the domain config file name.
     Comment: ls -a (It will list all files)

— Edit the particular domain config file using below comment.
     Comment: vi domainname.com.conf

— It will open the Edit view, there we could add SSL key and SSL crt location and Edit. Files name should be domainname.com.crt and domainname.com.key
     Please find the below image for more information.

— Click i key to enable the insert mode to edit the file.
— Update the ssl_certificate and ssl_certificate_key path based on your need.
— Click “Esc” and “!wq” and “Enter” to save the changes.

— Create / Go to the SSL folder “etc/nginx/ssl” folder

— Create or edit certificate key file “domainname.com.key” and add the Privare key value as like below image and use below comment.
   Comment: vi domainname.com.key
                       Enable Insert using i key
                       Add private key
                       Click Esc key
                       Enter :wq and click Enter to save the file.
   As like below image.

— Same process to add three CERTIFICATE key in same file called “domainname.com.crt”.

— Finally restart the nginx server 
      Comments for Debian/Ubuntu/RHEL/CentOS Linux
      # /etc/init.d/nginx restart 
     OR
     # /etc/init.d/nginx reload
     OR
      # service nginx restart
      OR
      # service nginx reload

DONE!!!
 

Magento Migration One Domain to Another Domain

Step1: Change the ‘secure’ and ‘unsecure’ url in your database ‘core_config_data’ table’

Using Below query or Change manually:

UPDATE core_config_data SET value="http://newhost.com/" WHERE path="web/unsecure/base_url";
UPDATE core_config_data SET value="https://newhost.com/" WHERE path="web/secure/base_url";

 

Step2: Change the ‘local.xml’ file database configuration file path: yourdomain\app\etc

Note: Don’t Backup the local.xml file same folder,remove the older files in that folder.

Step3: Clear the cache and session folder

File path: yourdomain\var\cache, yourdomain\var\session

Step4: Change the .htaccess file configure

Notes:

1.Check the ‘Old Domain’ urls in your Full Database and Files and replace with ‘Live Url’.

2.Take your Old Database Backup with out old caches

3.Magento 1.9 version need the php5 and above version not php7

 

 

 

Windows server HTTP Error 500.50 – URL Rewrite Module Error while accessing the image

Hi All

We faced the problem while upload the image in windows server!

Image uploaded fine into server , but its not accessible from user-end through browser. Error displayed “500.50 – URL Rewrite Module Error

Reason:
The problem happens, when you use PHP to upload a file.  When you upload a file or image, PHP sends the file to a temporary directory on the hard drive (C:\Windows\Temp) and then copies it over to it’s intended directory(into site location).  Once the file has landed in the temporary directory, it is assigned the permissions of that directory. The problem is when Windows copies that file, it keeps the temporary directory’s permissions and doesn’t inherit your web directory’s permissions.

Solution:
1. Change the permissions on the temp folder(C:\Windows\Temp) giving IIS_IUSRS – write/modify. Find below image.

2. Change the path of the temp folder in the PHP.ini file to a folder that does have IIS_IUSRS write/modify permission.

windows temp folder permission change - 500.50 - URL Rewrite Module Error

Increase Upload File Size in PhpMyAdmin and WordPress

Increase the PhpMyAdmin Upload File Size  through php.ini file:

Step1:  xampp -> open php folder and select ‘php.ini’  file

Step2:  Increase memory limit find the word ‘memory_limit‘  in that  file and update the value ‘500M’

Step3: Increase post max size  find the word ‘post_max_size‘  in that  file and update the value ‘500M’

Step4: Increase upload max size  find the word ‘upload_max_filesize‘  in that  file and update the value ‘450M’

Step5:  Increase execution time find the word ‘max_execution_time‘  in that  file and update the value ‘3000’

Step6:   Increase input time find the word ‘max_input_time‘  in that  file and update the value ‘4000’

Step7: Save the file  and restart your xampp server

Increase the WordPress Upload File Size  through php.ini file:

memory_limit = 500M
post_max_size = 500M
upload_max_size = 500M
upload_max_filesize = 450M
max_input_time = 3000
max_execution_time = 3000
max_input_vars = 4000

Increase the WordPress Upload File Size  through .user.ini file:

memory_limit = 500M
post_max_size = 500M should be larger than upload_max_filesize and smaller than memory_limit.
upload_max_size = 500M
upload_max_filesize = 450M
max_input_time = 3000
max_execution_time = 3000
max_input_vars = 4000

Increase the WordPress Upload File Size  through wp-config.php file:

define( 'WP_MEMORY_LIMIT', '64M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Increase the WordPress Upload File Size  through CPanel:

Step1:  cpanel-> ‘Software and Services’ ->  Select PHP Version

Step2:  Find php Version

Step3:  Find  upload_max_filesize’ option select box and change the value

Get latitude | longitude using address in Goolge Map

Step  1

Include  Google map api with  key and libraries
<script                                                                                                                                                                                                     src=”https://maps.googleapis.com/maps/api/js?key=AIzaSyAzXoaC9OV09c- sTdIWWR1hWzUcJppx_g8&libraries=places”></script>

Step 2

Create div tag for map with id

<div id=”location_map” style=”width:500px; height:500px;”></div>

Step 3

Create Address input field with latitude and longitude

<div>Address</div>
<div><input type=”text” name=”loc_address” id=”loc_address” value=”” style=”width:400px; height:40px;” /> </div>

<div>Latitude</div>
<div> <input type=”text” name=”loc_latitude” id=”loc_latitude” value=”” style=”width:300px; height:40px;” /> </div>

<div>Longitude</div>
<div> <input type=”text” name=”loc_longitude” id=”loc_longitude” value=”” style=”width:300px; height:40px;” /> </div>

Step  4

Include this script

<script>
Location_map();
function Location_map() {

var Loc_map = new google.maps.Map(document.getElementById(‘location_map’), {
center: {lat: 34.8375, lng: -106.2370},
zoom: 10
});
var location_input = (document.getElementById(‘loc_address’));

var autocomplete = new google.maps.places.Autocomplete(location_input);
autocomplete.bindTo(‘bounds’, Loc_map);

var loc_marker = new google.maps.Marker({
map: Loc_map,
anchorPoint: new google.maps.Point(0, -29)
});

autocomplete.addListener(‘place_changed’, function() {

loc_marker.setVisible(false);
var place = autocomplete.getPlace();

if (place.geometry.viewport) {

Loc_map.fitBounds(place.geometry.viewport);
}
else {
Loc_map.setCenter(place.geometry.location);
Loc_map.setZoom(17);
}
loc_marker.setPosition(place.geometry.location);
loc_marker.setVisible(true);

$(‘#loc_latitude’).val(place.geometry.location.lat());
$(‘#loc_longitude’).val(place.geometry.location.lng());

});

}

</script>

Step  5

when  type in address field,  address will be loaded automatically and latitude and longitude will be placed in input fields for searching address.

 

Completed

WordPress Login Logout Link Changes

Step 1 :  Login and Logout Condition :

<?php
if ( is_user_logged_in() ) {
echo '<a href="'.wp_logout_url( get_permalink() ).'" title="Logout" class="profile"><input type="button" value="Log out"></a>';
 
} else {
echo '<a href="'.wp_login_url( get_permalink() ).'" title="Login" class="profile"><input type="button" value="Log in"></a>';
}
?>

 

Uncategorized

Die Rolle von Steroiden in der modernen Sportpharmakologie: Chancen und Herausforderungen Steroidi Anabolizzanti vs. Integratori Naturali: Qual è il migliore? La Mejor Tienda de Esteroides: Encuentra lo que Necesitas Stake Casino: Mobiel Gaming, Snelle Winsten en Cryptocurrency Bonussen Драгон мани: Легендарный слот, покоривший сердца игроков Драконьи деньги: Миф или реальность в онлайн-казино? Esteroides en España: Información Esencial Testosteron Phenylpropionat dosering: Wat u moet weten Cosa sono gli Genotropin Miniquick 0.2mg kohlpharma GmbH A mobilalkalmazás egyszerűsége, ami magával ragad a szelési élményben Test Post Created كيفية تناول أقراص Semaglutide 2 Mg Betify Online Casino Review : Gains Rapides, Action Instantanée Découverte de l’usage du propionate de testostérone dans le monde du sport Analysis covering Balloon casino indir: An In-Depth Look at the Content and Service Quality Analysis covering chicken road: A Thorough Guide to the Titles and User Experience 1хБет рейтинги: Анализ наград и влияние на букмекерскую индустрию Лучшие причины, почему тысячи игроков выбирают онлайн-казино Пин Ап Wassrige Suspension von Testosteron: Dosierung und Anwendung Innovativa Kampanjer på Online Casino EU för Nya Spelare Come funzionano gli steroidi nel corpo Official 2026 Website Universal Online Casino – Slot Veloci & Divertimento Mobile Топ Казино 2024: Выбор Лучших Платформ Evaluation covering Fortunica no deposit bonus code: A Thorough Guide to the Features along with the Service Quality Test P 100 pour une Performance Optimale en Musculation Review of Lets Jackpot casino: A Thorough Guide to the Games and User Experience Anabolisants pour Élever votre Performance sur le Terrain de Football Américain Review covering Jackpot jill casino vip: An In-Depth Look at the Games along with the Member Journey Overview covering is Betzillo legit: An In-Depth Look at the Games plus the Service Quality Über 22.000 Demo-Spiele warten im kostenlosen Online-Casino auf Sie. The Role of Testosterone Tablets 50 in Bodybuilding В какой мере интернет сказывается в отношении умение по отношению к глубокому общению Обзор онлайн-казино 1хбет: Безопасность данных при скачивании 1хбет на андроид Преимущества 1xBet: обзор официального сайта букмекера и его функционал Ktoré lieky zlepšujú hustotu svalov? Steroids for More Strength Without Excessive Mass Stake Casino: De Ultieme Mobile‑First Crypto Gaming Hub Jak organizovat své sázky po stažení aplikace Mostbet Steroidi in Italia: Situazione Legale Steroids and Their Importance for Recovery: Strategies for Rapid Recovery and Increasing Training Frequency Navigating the Games Offered at Pinco Casino Azerbaijan favorite article 404844 Slot Choice Strategy at ozwin Casino Пошаговое руководство по 1xBet вход по номеру телефона Overview of vip Jackpot jill: A Thorough Guide to the Features along with the Service Quality Analysis of Jet city pokies: A Close Examination of the Titles along with the Member Journey В какой мере онлайн-среда воздействует в отношении умение к вдумчивому контакту Analysis covering Roospin casino login Australia: An In-Depth Look at the Features and Service Quality Analysis of Hellspins login Australia: An In-Depth Look at the Titles and Member Journey L-Arginin Kur: Wirkung, Anwendung und Vorteile 10 melhores slots uma vez que arame contemporâneo apontar Brasil sobre 2025 Dihydroboldos 100 mg Driada Medical – Klucz do Sukcesu w Budowie Masy Mięśniowej Казино Флагман: Особенности игрового пространства En México, el sitio web oficial de apuestas deportivas y casino en línea Казино Онлайн: Ваш Путь к Развлечениям Stake Casino: Quick Wins and Rapid Thrills for Short‑Session Players Как найти рабочее зеркало Dragon Money? Hormones de Croissance : Où et Comment Acheter en Toute Sécurité ? Преимущества загрузки клиента Eva Casino Игровой клуб Poperlo Casino: Надежный доступ к азартным развлечениям Turinabol 10 Mg: Hoe in te nemen voor optimale resultaten Oxandrolone 10 Mg in Bodybuilding: Een Diepgaande Analyse Resmi Spor ve Casino Platformu Bonos de Stake 2026 ¿Tiene bono? Promociones y condiciones Optimale Suppletie voor Maximale Hypertrofie Драгон Мани: Символ Удачи в Мире Онлайн-Слотов Beste Dosierung für Clenbuterol in der Definitionsphase Injectable Steroids: A Guide to Safe Administration Сегодня актуальное зеркало 1хбет — это официальный ресурс 1хбет. Understanding Dianoged 10 Mg: Usage and Post-Use Considerations Wie Steroide die Ausdauerleistung bei Sportlern steigern können Android-apps roll dorado op Google Play Poperlo Casino Сайт: Современный взгляд на азартные развлечения Cómo Comprar Esteroides de Forma Segura y Efectiva Online casino in Nederland: mijn beste opties en criteria Ideale casino’s met casino ideal en iDEAL: checklist en reviews Casino met Paysafecard: snel storten, reviews checken en vergelijken Test Optimierung der Schilddrüsenwerte: Wie Cytomel helfen kann The newest real money games are online slots. Топ‑10 проверенных сайтов — лучшие онлайн Prive Casino Anmeldelse: Sikkerhed esport danmark og Licens i Danmark 2026 Peptide T 500 nello Sport: Benefici e Rischi Gli Steroidi Anabolizzanti: Soluzione ai Progressi Lenti o Rischio per la Salute? Gizbo Casino: Fast-Paced Gameplay for Quick Wins Testosteron Mix 300 w Bodybuilding – Klucz do Twojego Sukcesu Turinabol 10 mg w Bodybuildingu: Kluczowe Informacje i Dawkowanie Test Post Created Casino Lab: Quick Wins and Intense Gameplay for the Modern Player Logging into Mecca Bingo feels surprisingly effortless even for total beginners Test Post Created Обзор нелегальной букмекерской компании 1хБет в России на 2024 год. Vegas Hero – Smart Play for Controlled Risk Gamers Billy Bets Casino: Vincite Rapide per il Giocatore Veloce The Influence of HGH on Fat Loss and Muscle Growth Approfondimento di Tikitaka casino: Uno Sguardo Dettagliato ai Titoli oltre alla all’Esperienza del Giocatore Panoramica su TikItaka casino bonus: Uno Sguardo Dettagliato ai Servizi e alla Qualita del Servizio Valutazione di Instant casino 45: Una Guida Completa ai Giochi insieme alla al Percorso del Membro Panoramica di My Empire spettacoli dal vivo: Una Guida Completa ai Servizi e al Percorso del Membro