Installing Magento Common Issues

Following are the steps to complete install Magento error-free:-

  • Uncomment the files which are required by Magento in php.ini and restart the server
  • If installation error occurs, set memory_limit = 786M
  • if still error occurs, uninstall the db and make it again
  • after successfull install, go to (root_directory)app/etc/di.xml and change “Symlink” to “Copy” in developerMaterialization section.
  • go to cmd , root directory and type :- “/bin/magento setup:static-content:deploy
  • refresh the page. done.

PHP Malware – Important regex to bust infected website

grep -rnwl './' -e 'eval'
grep -rnwl './' -e ']};}'
grep -rnwl './' -e '}["'
grep --include=*\.php -rnwl './' -e '${${'
grep -rnwl './' -e '57h'
grep -rnwl './' -e '3o'
grep -rnwl './' -e '__O'
grep -rnwl './' -e '__0'
grep -rnw './' -e '057home'
grep -rlnw './' -e '057home'
find -name "*.ico"
grep --exclude=\*.scss -rnwl './' -e '@include'
grep --exclude=\*.{scss,css,map,js} -rnwl './' -e '@include'
grep -rlnw './' -e '057ho'
grep --exclude=\*.{svg,jpg,png,jpeg} -rlnw './' -e '057'
grep -rlnw './' -e '057h'
grep --include=\*.php -rnwl './' -e '@include'
grep -rlnw './' -e '057hom'
grep -rlnw './' -e '7hom'
grep -rnwl './' -e 'bgeteam'
nano grep -rnwl './' -e 'abcd'
grep -rnwl './' -e 'abcd'
grep -rnwl './' -e '{eval'

Light flick effect on image hover – CSS

    -ms-transition:all 0.5s ease-in-out;
    -webkit-transition:all 0.5s ease-in-out;
    transition:all 0.5s ease-in-out;
    transform: rotate(44deg);
    background:linear-gradient(to right, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.1) 77%, rgba(255,255,255,0.5) 92%, rgba(255,255,255,0) 100%);

How to install wordpress on cPanel

WordPress is a free and open-source content management system (CMS) based on PHP and MySQL.Features include a plugin architecture and a template system.

Follow these steps to install WordPress:

Download WordPress

Download WordPress from this link:

Create Database

Create an empty database for WordPress and specify it’s username and password.

Set up Wizard

  • Step 1: Upload the downloaded compressed file on your website root directory and extract it.

  • Step 2: Open the url of your website and install WordPress.


  • Step 3: Specify the  Database Name, Username, Password and Database Host.

  • Step 4:  A confirmation message will appear after the database settings are validated. Click on ‘Run the Installation’ button.

  • Step 5:  Provide the administrative information needed for your WordPress website and Install WordPress.

  • Step 6: You have successfully installed WordPress and the final step is to log in, for which you will use the username and password entered at step 5.


Commands not to be used on terminal as a root user

First one on list is the infamous 8 characters in that particular order

rm -rf /

Sometimes we just want to remove the current directory for which the command is rm -rf ./ but you keyboard skips the dot and you end up in a deadzone.

Second one would be:

ifdown eth0

wow!!, you just disconnected your server from internet.

Basics about advertisements and Google Adsense

On 15th Year Anniversary of GOogle Adsense and their partnerships with Publishers, google published a youtube video briefly explaining all the basic keywords related to Adsense.

15 words to sum up 15 years?
That's easy! Okay, let's go.
Content is at the heart of the web.
And publishers?
You power that web. Without you that place would be quite empty.
Ads? Ads bring the revenue that helps to fund it all while helping you reach your…
Goals! Goals like growing your business, doing something you love and sharing it with the world creating…
Memories? So many good memories!
You've told us that Adsense has funded your weddings,
helped you buy your homes or hire new teams. We feel part of your…
Community. A community that grows with you recommending us. Thank you!
Beginnings. It's been 15 years since we ran our first ads, they were text only back then.
Today? Today Adsense is truly global!
Urdu, Japanese or French – We speak 45 languages. And counting.
Change…is constant, especially on the web.
We've been evolving with you and your audience needs for the past 15 years,
to help you provide the best possible…
…Experiences. As the look and feel of websites have improved over the years
we built native ads to complement them,
while always giving you the…
Control. To decide what type of ads will show on your site.
Platforms? All of them. Mobile, Video and whatever will come next – we have you covered.
Time. Saved. With smart automated ad placements,
keeping things simple for you so that you can focus on creating great content.
Simplicity. Always. Our team's goal: making it easier to grow your business.
Okay and last but not least.
Happy Birthday! Absolutely. 15 years is a milestone we should all celebrate.
But the web doesn't wait so time to get back to work.
Can I finish my cake first?

Watch the video here