Skip to main content


Showing posts from April, 2017

Magento 1.x and PHP 7 Compatibility Issue and Solved

As we know PHP7 is much faster than previous versions of PHP.

But there are couple of compatibility issues with magento 1.x as listed below

1. Admin login not working

Recoverable Error: session_regenerate_id(): Failed to create(read) session ID: user (path: /var/lib/php/sessions) in app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 492

Solution: There is a issue with sessions.
This only happens when you set "session_save" in "local.xml" to "db".
If you try with the option "files" there are no problems.

2. Product Image not uploading

Fatal error</b>: Uncaught Error: Function name must be a string in /home/admin/domains/ trace:#0 /home/admin/domains/ Varien_File_Uploader->_validateFile()#1 /home/admin/domains/…

How To Remove Malware From Any Website - Tips and Tricks

There are couple of easy steps we need to follow to clear malware from your website. And here I’m going to describe those steps.
Here I'll explain how to install and configure Linux Malware Detect (aka MalDet or LMD for short)

You just need to follow these steps. If you found any difficulties , you can post in the below comment box. I’ll surely help you regarding your post.

So let’s begin.

Step 1:
First of please go to this directory using below command root@server[~]#cd /usr/local/src/
Now please download the jar using below command root@server[~]#wget
Once you download the jar, please extract it using below command
root@server[~]#tar -xzf maldetect-current.tar.gz
After extract you need to go the maldet folder using below command
root@server[~]#cd maldetect-*
Now, run the below command to install maldet. sh ./ or sudo sh ./
It will give below output Linux Malware Detect v1.3.4 (C) 1999-2010, R-fx Networks (C) 2010…