Warning Headers Already Sent: Solving the Issue.


     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!


Blogging tips for Beginners.


     I am not a Blogging Guru although I would like to share some of the tips I learnt over past days while blogging and today I am going to share them with you. Actually, a blog owner recently commented on one of my posts asking to write about Blogging tips for beginners and here I am sharing my experience with you.

    Many people start blogging because they think that it will be kind of Facebook and we can make easy money. Sorry guys but if you want to start a blog that is long lasting and helpful to the readers, you should really be passionate about it, or you will in months you will get lazy and bored. As Bill Gates says ‘There is no shortcut to success, hard work is the only way’, quite true although when you work on something that you enjoy doing then it will not fill like hard work.

    Now when we start a blog, there are lot of things that we should keep in mind and should take care of. So, here this time I have done something different, it is like a checklist or to do list. You just have to check those things you have done and you haven’t and thus you can keep track of things. Let us begin!

·       Have some good plugins installed (only for wordpress.org users): There are number of utility plugins that wordpress provides the users, which are really helpful to build your blog. Check out my post Top Recommended wordpress Plugins.

·       Submit your website to Google Webmasters: Google Webmasters sort of take care of your site. They check and inform you about the health of your site and they also check the broken links or errors at your website. Whenever there is a spam on your website or your website gets hacked, they send you an alert email with solutions. Also, make sure you submit your Sitemap to them that helps you for Google search engine optimization. You can also get Optimization tips and traffic status.

·       Add you website to Google Analytics Programme: Today almost every website uses Google Analytics Programme. They give an in depth report of every aspect of your website, the Page views, Time spent, Search queries, Traffic sources, Audience behavior, Conversions, Content, etc. which helps you to understand your audience better. There are graphs, pie diagrams, mobile support, and also AdSense support.

·       Search Engine Optimization (SEO): Search Engine Optimization is the optimization of your website and its appearance in a way that the search engines find it easy to crawl on your website, index your content accordingly and then showing up your content in search results as per the key words. Submit your sitemap occasionally (even though they do it on their own) to Google and Bing Webmasters so that it becomes easy for them to crawl on your content and index it quickly and efficiently. Make sure your post contains those keywords that people search for, this helps Google to rank your blog higher. Write posts in a friendly way and write on those topics that are really helpful to people. Optimize your website according to Google Webmasters Guidelines. Do not use copy right content, or spam on your website. That really upsets Google very much! Check out my post on How to write interesting Posts.

·       Selection of Theme: Selection of themes is quite important but many bloggers tend to neglect it. They put up some fancy themes with useless widgets at every empty corner. Several users are lazy to update there browsers so their older browsers do not support such fancy themes plus these theme have large file size so they take a huge time to load. Now even though it is ten or twenty seconds but these, few bunch of seconds make a huge difference and put a bad impression on the user. On the other hand, simple themes are fast to load, support older browsers also, they have simple and pleasant colour combination instead of contrasting or those annoying dark colours.

·       English or get one Translator! : Write your posts in English as it is kind of an international language and majority of people understand it. Remember write it in simple English using hard dictionary words will not make you look like a hard core blogger, it’s the content that rules here and not other fancy things. If you are so desperate to write in other languages then add Google Translator as widget so it gets translated in seconds to any language you want to read in.

·       Keep eye on Social networking: After you launch your blog create a fan page at Facebook and twitter. Recently, Google+ launched a brilliant feature called community it is the best place to meet people with similar interests so make it a point to open a fan page on Google+ too. Social networks promote your website among the audience and they get to know more about you. Keep tweeting and posting on these fan pages to be noticed amongst the users.

·       Join Forums: Forums is the best way to meet up with the people from your niche. You can share your experience and problems and even find solution for them. I mostly get many topics ideas for writing posts from these forums only! Start a thread and discuss things. Thus, you get different opinions and perspectives making your thinking wider.

·       Appreciate others: If you are a beginner and wants to get appreciated and recognized for your work then start recognizing other’s work too. A simple feedback or an encouraging comment can make a difference. The famous writer Dail Carnegie says ‘It is lot easier to make friends by getting interested in them instead of making them interested in you.’

Follow these tips, make your blog a success, post things that people really need to know and post it with the intention to help them. Good Luck! Hope I haven’t miss anything, if I have please mention it in the comments or if you have your own secret tips for blogging then share them with the rest of the world.

How to add your Wordpress website to Dreamweaver CS6?


English: Application icon for Adobe Dreamweave...

      Adobe Dreamweaver CS6 is a HTML editor, web development, and designing software by Adobe system released in 21st April 2012. It is the best web editing software in the market and is easy to use. In this tutorial, I will help you to connect your WordPress (Content Management System) website to Dreamweaver CS6 so that you can edit your website’s wordpress themes as per your needs. The screenshots will make your work easier, below are the things you will need.


·       A domain name with hosting.

·       WordPress 3.0 or above installed on it.(WordPress 3.5.1)

·       Adobe Dreamweaver CS6 or CS5.

If you have all the above things on your system then you are good to go. Let us get started with our tutorial. This tutorial will be divided in two sections for the convenience of understanding.

·       Adding your website to Dreamweaver CS6:-


1.     Open Dreamweaver CS6 and go to Site tab and select New site and there you will see New site setup.

2.     Now enter the Site Name as you wish and Locate a folder where you want to store all the data.

3.     Select Servers tab and click the + button at the bottom and the Server setup window opens.

4.     Type a server name as you wish, it can be anything. Then Connect using > FTP and for FTP address you should enter the server address that your hosting provider has given you (Check your email inbox) and type it there without any errors.

5.     Now as you have Hosting service at your website, you must have a unique Username and Password that you have to enter it in those fields. Then click the Test button to verify your details.

6.     Leave the Root Directory option blank and proceed to Web URL. Here enter your Web URL (Your domain name).

7.     Go at the top again, switch from Basic mode to Advance, and select the Server Model as PHP MySQL. Rest options are not to be changed.

8.     Save your details. There is no need to change other options click Save and the Setup will close. Dreamweaver will import the necessary data and server details, and in minutes, you will see those files at the right side bottom of the window. Great, you have successfully added your website to Dreamweaver CS6.


Note: If you cannot verify your login details expand the More Options check Use Proxy, Use Passive FTP, Use IPV6 or try disabling you firewall as it may be interrupting the connections. If the problem persists let me know at the comments box I will be happy to help you.

·       How to connect the website to your wordpress account:-


1.     Select the Site tab again, scroll down, and select Site-Specific Code Hints. The setup will open, select Structure as WordPress and click Ok.(Make sure the File is selected as Sub-Root)


2.     At the Remote Server (Right hand side bottom of the window), select index.php file. Then the code will appear but you will see a notification at the top which reads as ‘This page may have dynamically-related files that can only be discovered by the serve.’ Select Discover and still you may see another notification but it is because we do not have our website in the directory, we have it on the hosting server, so select the Live button, which is above the notification. Thus you see your website live.

3.     Now a window pops up ‘Update on Testing Server’ click Yes again another window pops up ‘Dependent files’ click Yes.

4.     Select the split view so that you can see your website and its code at the same time. If you see error page then try inserting your homepage address in the address bar. Congratulations, you have added your wordpress website to your Dreamweaver CS6. You can edit your HTML or CSS codes to customize your wordpress theme.


      If you have any problems regarding the setup, comment below and I will try my best to help you to solve them. The website used in this tutorial is Basics Science.

    From the comments below I think some of our friends are having problem with setting up the website. You must be receiving this error message “Dynamically-related files could not be resolved because the site definition is not correct for this server.”

    There is some issue with websites that are set up with wordpress. The Dreamweaver shows the above error if your Premalink settings are customized to avoid it change it to Default. Please follow the screen shot.

Permalinks Settings