Wednesday 14 December 2016

ERR_CONTENT_DECODING_FAILED

If you are getting the error as ERR_CONTENT_DECODING_FAILED while accessing the domain then add the below extension in php.ini 
+++++++++++++++++
zlib.output_compression = On
+++++++++++++++++
Then restart the httpd. This should resolve the issue. 

Increase file upload size in wordpress multisite

In order to increase the file upload size in wordpress multi site please follow the below steps:
  1. Login to wordpress dashboard
  2. Click on Network Admin 
  3. Go to settings 
  4. Scroll down to Upload Settings at the bottom of the page. 
  5. Enter the desired value and click on Save. 


SEO tool issue in cPanel

If you are getting the below error in cPanel > SEO Tools
++++++++++++++++++ 
The system experienced a problem when it attempted to serve the requested page.
Login to server 
++++++++++++++++++ 
Then follow the below steps to resolve the issue : 

Edit the File:/usr/local/cpanel/base/3rdparty/attracta/index.live.pl
vi /usr/local/cpanel/base/3rdparty/attracta/index.live.pl
Add the below code after "use CGI" line
use Cpanel                                    ();

This should resolve the issue. 

Sunday 11 December 2016

Post Date is showing as Undefined in custom templates of blogger



You are getting the error as "Undefined" for the "post date" in blogger template:



To resolve this error please follow the below steps:

Login to your blogger account
Go to Settings
Click on Language and formatting
Select the Timestamp Format as Sunday, December 11, 2016
Click on Save settings




This should resolve the error.

The domain already exists in the apache config file

Unable to add addon domain in cPanel getting the error as “The domain already exists in the apache config file”

Solution: Please remove the domain entries from below files manually from server.

/scripts/killdns domain.com

grep domain.com /etc/localdomains

grep domain.com /etc/userdomains

grep domain.com /etc/trueuserdomains

vi /var/cpanel/userdata/cpanelusername/main

grep domain.com /var/cpanel/userdata/cpanelusername/main.cache

grep domain.com /var/cpanel/users/cpanelusername

vi /var/cpanel/userdata/cPanelusername/main.cache

grep domain.com /etc/named.conf

vi /etc/localdomains //remove the domain entry

vi /etc/userdomains

grep domain.com /etc/trueuserowners

grep domain.com /var/cpanel/userdata/cPanelusername/main


Unable to login to joomla admin panel

After doing lot of research one of the solution which I found has worked for me and I would like to share the same with people in need. 

Check if upload_tmp_dir path is configured in php.ini. You can check by creating phpinfo.php file and add the below code in the phpinfo.php<?phpphpinfo();?>Then access the file as domain.com/phpinfo.phpIf it is not mentioned then open the configuration.php file of joomla, check which path is mentioned in "public $tmp_path" and add the same path in php.ini file. If php.ini file is not present then create one in /home/user/public_html/


Bot consuming high bandwidth and memory

Bad bots may be from google bot or any other bad bots. To reduce the same first you need to find which bot is affecting the bandwidth and memory. 


Find the log from below command: 
sudo grep "05/Nov/2015:0[1-2]" /usr/local/apache/domlogs/ulifeqxj/ulifephoto.com | grep -i "googlebot" | wc -l
sudo grep "05/Nov/2015:0[1-2]" /usr/local/apache/domlogs/ulifeqxj/ulifephoto.com | grep -i "bot" | wc -l


Once you found which bot is causing the issue, you can block it by adding rule in .htaccess. 

Htaccess rule for bad bots: 
http://pastebin.com/n0pShLsX

Follow the steps of below link to reduce google bots: 
https://support.google.com/webmasters/answer/48620?hl=en

ERR_CONTENT_DECODING_FAILED

If you are getting the error as ERR_CONTENT_DECODING_FAILED while accessing the domain then add the below extension in php.ini  ++++++++...