Warning Headers Already Sent: Solving the Issue.

Standard

     From last few days, I was pretty upset about a problem I was having with my website Kadam Group. At first I thought it might be some harmless error but everything turn upside down when I started getting a Warning message whenever I visited my dashboard “Warning: Cannot modify header information – headers already sent by (output started at home/basics/public_html/kadamgroup.org/wp-includes/funtions.php: line 46) in home/basics/public_html/kadamgroup.org/wp-login.php on line 586.”

   I kept on neglecting it until I found out that whenever tried to login, it failed. So, I searched the internet and found the solution to this problem. Here I am going to discuss this problem and its solution with you.

Symptoms: – “Warning: Cannot modify header information- Headers already sent” error shows up.

Effects: – Unable to login or access the dashboard.

Solution: – The solution to this problem is very simple you do not have to write any codes or change files. Then problem can be solved with the help of one single key on your keypad! Let us go systematically.

1.     Write down the error message that you see, for example it may look like, Warning: Cannot modify header information – headers already sent by (output started at home/basics/public_html/kadamgroup.org/wp-includes/funtions.php: line 46) in home/basics/public_html/kadamgroup.org/wp-login.php on line 586.”

2.     Login in to your FTP account in my case Hostgator provides me with an FTP account. Go to the specified path in the error message. Now there are two paths in the message the first one is the path of the file, which causes the problem, and the second path is the path of the file that is affected by the problem. Here in the example we have to look up at  home/basics/public_html/kadamgroup.org/wp-includes/funtions.php: line 46 where the problem lies and not home/basics/public_html/kadamgroup.org/wp-login.php on line 586,which is affected.Capture

3.     After you reach up to the file mentioned in the first path, make a backup of it and then open it. Go to the specified line where it will start with a code “<?php” Now check before it if there are any white or blank spaces. If there are then ‘Delete’ them.

4.     Then go to the end tag of it which is “?>” (If you use Notepad++ it will be easier to find the end tag). Find the white or blank spaces after it and ‘Delete’ them.Cap;ture

5.     Now Save the file or upload it if you have downloaded it. Do not add any other codes or letters between the tags before you save the file or you will make it worse. Refer to the images if you find it hard to understand. The red underlined spaces are to be deleted and the third image shows the correct way of the codes.Captmmure

   Hope you have solved the problem with ease. If the problem priests try clearing the cache or contact, WordPress Support. If you have, any doubts about this issue please comment below and let me know. I will try my best to solve it.

Cause of the issue: – The Blank spaces before and after the tags <?php and ?> make it hard for the browser to read the codes so remove them. As I have said earlier, we just had use one key to solve this problem, which seemed to be very big issue but was too easy. Thank You ‘Delete’ key!

Advertisements

Hostgator Review

Standard

       Hostgator is a Web hosting company founded in 2002 by Brent Oxley. In 2006, they were hosting more than 200,000 registered domains. Hostgator also stared operating in India in 2011; its head office is located in Nashik, Maharashtra. Today they host more than 9,000,000 domains operating in 200 countries and its true they eat up the competition! I have also hosted my domains with Hostgator and they have provided an outstanding service so, today I am writing a review on Web hosting service of Hostgator. Actually, they have lots of services like Reseller hosting, VPS hosting, Dedicated servers, Domains but I will be writing review on Web hosting because I have not tried the other services until now.

      When I wanted my domain to be hosted on the best servers I asked Google “Top Ten Web hosting services” and clearly Hostgator was among the toppers. I decided to host it with Hostgator India, as I live in India I needed Indian support team for better communication; but if you live in other countries, you can go for hostgator.com. So, I had domain names (GoDaddy) and I needed hosting, I selected suitable plan for my needs and checked out; the shopping process was pretty easy. Soon, I received a conformation e-mail and they set me up with a support member to get me started with my website. Back then, I was a beginner like you and knew nothing about websites, but working with these guys was so easy that, I was ready with my site in 24 hrs. Let us talk about the feature they provide,

·       Unlimited Bandwidth: – With the selection of particular plan you get unlimited Bandwidth thus increasing your rate of successful data transfer and with 99.9% uptime guarantee.

·       Unlimited Domain hosting: – Yes that is right you can host as many domains as you want, currently I am hosting three domain names and until now I do not have a single issue with managing them.

·       Unlimited Disk Space:-You can add as much as you want to your website. You can add thousands of videos, images or flash content it works with same speed without any load. There is no limit to your creativity!

·       Dedicated IP: – You do not have to share your IP address with anyone you get your own IP address.

·       Private SSL: – Normal SSL certificate does not cover subdomain names. It will only cover subfolder paths. But, a Private SSL covers all the subdomains.

·       Site Builder: – Know nothing about HTML? Don’t worry Site Builder will take care of it. You just have to follow the on screen instructions, customize your website, and download it when you are done. You have almost 4,500 free templates to choose from. You can setup a personal blog, a corporate site, or a flash website.

·       Control Panel: – The control panel feature is the most amazing and useful feature according to me. They have SEO and marketing tools (very important) which takes care of your Search engine optimization and submits your sitemap to all search engines making you more visible. There are lots of security options that help you to protect your website from spammers and hackers. Also, you get Quick Install where you can install all kinds of content management systems like Joomla, WordPress, Duropal, and other softwares. The control panel is like a dashboard where you can manage and add domains or email accounts to your website.

·       Unlimited Email accounts: – You can have as many email accounts as you want for your website. They work with all sorts of Email applications like Windows live Mail, Outlook, Lotus, etc..

·       Instant Support: – Hostgator provides 24×7 and 365 days customer and technical support, they are easy to reach and helpful. You have access to the forums and videos and tutorials; plus, there are weekly off-site Data backups.

Note: – Some of the services may change with the plan you select.

      Hostgator offers three kinds of plans to its customers, they are, Hatchling plan, Baby plan and the Business plan. You may choose any of these plans according to your needs. These plans start with $3.96 per month.

1.     Hatchling Plan: – This plan is recommended to hobbyist and beginners who are just figuring out how to do this! You get single domain name hosting along with unlimited bandwidth and disk space. So if you just want to host one website go for this plan. This plan starts from $3.96 per month.

2.     Baby Plan: – This is an ideal plan for small business owners who get less traffic. In this plan, you get unlimited domain names, disk space, and bandwidth. It starts from $6.36 per month.

3.     Business Plan: – If you decide to start some serious business and expect to have loads of traffic than you need a dedicated IP address and SSL Certificate. In this plan, you get all the benefits mentioned above with a dedicated toll free support number. This plan starts from $10.36 per month.

So, all the plans are reasonable and have lots of features. Until now, personally, I have not found any cons for their service but lots of people on the internet say that their customer service takes a lot time to respond. Uh…I have called them and chatted with the support team lots of time and definitely they respond pretty quickly also they are very helpful. So, if you want to get your website hosted with Hostgator I will give you thumbs up  Thumbs up .

Discount Coupons: – If you want to have some discount on your purchase with Hostgator here are some of the Discount Coupons that will help you.

1.     SHIRISHKADAM: – Get $9.94 Off…!

2.     KADAMGROUP: – Get 25% Off…!

HG.fw

Enjoy these coupons, copy them, and use them with your purchase, to get those discounts and if you have experienced any pros or cons with Hostgator share them with everybody below at the comments section.

28/3/13

Standard
English: The logo of the blogging software Wor...

English: The logo of the blogging software WordPress. Deutsch: WordPress Logo 中文: WordPress Logo (Photo credit: Wikipedia)

As I had posted yesterday I registered two domain names with Godaddy.com. Guys really there interface is really great and easy to operate and also they provide a great customer service. I also got hosting with Hostgator as they help their customer to setup a great website and their security is outstanding. At first I had an issue with the name server but then I contacted  support team and they solved it instantly. so, now they have given me an 24hr waiting time for the propagation and the my both websites will be live. Well, I have already installed WordPress tool so it makes my administration simple. I will update here as soon as my websites go live.