Categories
Computer Education General Home How-To Guides Laptops Mac Mobile Phones Security Tablet PC Tips and Tricks Windows

How to Fix “Cannot modify header information – headers already sent” error in WordPress

A most frequent question comes while wordpress troubleshooting is, after adding some code to functions.php or after replacing / modifying any file by using the FTP, we get an error like below,

Warning: Cannot modify header information – headers already sent by (output started at /your/site/path/public_html/index.php:724) in /your/site/path/public_html/blog/somefile.php on line 98

It means that there is anything came before the headers part of the PHP. For example text or the spaces have same before or after (Start Tag) <?php or ?> (ending tag).

Tip : You can get the error information, by visiting to Home of your FTP Server and look for the file named error_log, just download and view it.

Now open that errorfile.php either by downloading it from FTP or open it directly from your File Manager, and look at the starting portion, and remove all extra content like spaces, but if you get something HTML tags like  <div id=”TipsRing”> then don’t delete them.

How to Fix Cannot modify header information - headers already sent error in WordPress

How to Fix Cannot modify header information   headers already sent error in WordPress

Now go to the end of that error generating file and delete all blank spaces after the ?> sign.

How to Fix Cannot modify header information   headers already sent error in WordPress

You can replace that file with your new one (edited) either by using the FTP or in the File Manager itself. But remember to backup your old files first.

Enjoy!

Categories
Computer Education General Home How-To Guides Laptops Mac Mobile Phones Security Tablet PC Tips and Tricks Windows

A Beginners Guide to Firefox Profiles

Firefox profile are almost like using different browsers (each profile acts as a different browser). The profiles can have their own bookmarks , addons, extensions, themes and so on, means one profile could be totally different from the rest profiles.

What’s their use?

  • You can create different profiles for different folks like 1 for you, 1 for your brother and so on, on the same PC.
  • You can create a separate video profiles including all of the add-ons
  • Your home, and office profiles could differ from each other. Let’s say, If you are using your firefox for the development then obviously there wouldn’t be anything to deal with Gmail, and if using Gmail, your browser will be dead slow.
  • You can also create a separate profile to perform a research on the new addons or themes.

Here is the way to create a separate profile in the Mozilla FIrefox,

1. Just launch the command prompt (go to Run, write cmd and hit the Enter button), and launch the mozilla firefox with its end as –profilemanager, as shown below.

A Beginners Guide to Firefox Profiles

2. This will launch the the Profile Manager of Mozilla Firefox,

Now first of all you need to uncheck the Don’t ask at startup option, so that whenever Mozilla Firefox gets started, it will ask which profile is to use.

A Beginners Guide to Firefox Profiles

So, now you can create multiple profiles by using the Create Profile Button. and similar to this, you can also delete or rename any of the available Mozilla Firefox Profiles.

How to use Different Mozilla Firefox Profiles at the same time ?

Well, you will not be able to run more than 1 Mozilla Firefox profile simultaneously, by default.
But if you want to use different profiles at the same time, then first of all you need to make a shortcut for Mozilla Firefox. The simplest mehtod to this is, visit the Firefox installation directory (usually C:\Program Files\Mozilla Firefox), right click on the file firefox.exe and click on create a shortcut and copy-paste it to the desktop, or click on the send to desktop link.

A Beginners Guide to Firefox Profiles

Then visit to the desktop and perform a right click on that newly created shortcut, then go to properties, and append -no-remote in the end of that text, as shown below.

A Beginners Guide to Firefox Profiles

Here you go, now you can use it to launch several Mozilla Firefox at the same time. Just launch the Mozilla Firefox by using this shortcut.

Enjoy. 🙂

Categories
Computer Education General Home How-To Guides Laptops Mac Mobile Phones Security Tablet PC Tips and Tricks Windows

How To Change Screensaver Timeout Value in Windows Operating System

You might be knowing that, screensavers are the moving pattern which helps in protecting the computer monitor screen from burn-in due to the static text or image residing on it’s screen for longtime.

On the Microsoft Windows Vista and Windows 7, one can configure the timings for the screensaver to come in, which is set to 5 minutes by default.

So, to change that default timeout, perform a right click anywhere on your desktop and hit the Personalize option. Then click onto the Screen Saver, and change that default value present in the wait text field and hit OK at last.

Here you go, you just set the screensaver timeout value.