WordPress This page contains the following errors

If you use WordPress with Google XML Sitemaps (a.k.a XML Sitemap Generator for WordPress) plugin instead of your sitemap you see “error on line 1 at column 6: XML declaration allowed only at the start of the document”
Then it means sitemap.xml starts with a blank line or whitespace ( open your sitemap in your browser and chose “View Source”. Is there a blank line or whitespace in front of the XML tag?)

The reason for this problem is a new line or a whitespace in another plugin or the functions.php file of your theme. Check that the functions.php file ends with ?> and there is no blank line or whitespace after it. If that doesn’t work, try to disable other plugins one-by-one to find the bad one.

This page contains the following errors:
error on line 1 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.

XML Parsing Error: XML or text declaration not at start of entity
Location: http://parsisiusk.lt/sitemap.xml
Line Number 1, Column 2: <?xml version=”1.0″ encoding=”UTF-8″?><?xml-stylesheet type=”text/xsl”

Internet Explorer:
Blank page


Eye Crosser knot

Eye Crosser is my knot of choice. To be honest, I haven’t tried many knots, this one is so good that I don’t need others.

WAMP -how to create new Virtual Host

Lets say I have WAMP installed already and want to create local Virtual Host to have multiple domains on my machine. Lets set up Virtual Host with host name http://vhost-project and document root C:\HTTP\MyProjectName\

  • Map host name vhost-project to localhost C:\Windows\System32\drivers\etc\hosts
  • Create a new directory C:\HTTP\MyProjectName\
  • Create dummy index.html file in MyProjectName folder for testing.
  • Open C:\wamp\bin\apache\apache2.4.9\conf\httpd.conf  and make sure that httpd-vhosts.conf  file is included and mod_vhost_alias module loaded:
     Include conf/extra/httpd-vhosts.conf
     LoadModule vhost_alias_module modules/mod_vhost_alias.so
  • Add VirtualHost C:\wamp\bin\apache\apache2.4.9\conf\extra\httpd-vhosts.conf
    <VirtualHost *:80>
     ServerName vhost-project
     DocumentRoot "C:/HTTP/vhost-project"
     ErrorLog "C:/wamp/logs/vhost-project.log"
     CustomLog "C:/wamp/logs/vhost-project.log" common
     <Directory "C:/HTTP/vhost-project">
        Options Indexes FollowSymLinks
        AllowOverride all
        Require local

    Don’t forget to set Directory tag if DocumentRoot of your virtual host is outside of default DocumentRoot.

  • Restart WAMP
  • Test with browser if http://vhost-project opens dummy index file
  • if all OK, move your existing project files to C:\HTTP\MyProjectName\


USB ports stopped working on Dell Inspiron 11 | Windows 8.1 64

Not sure what have happened, but all 3 USB ports on my Dell Inspiron 11 3000 series 3137 just stopped working after restart.  Control Panel -> All Control Panel Items -> Device Manager – shows only one item under Universal Serial Bus controllers. Arrow next to the icon of Intel(R) USB 3.0 eXtensible Host Controller – 01000 (Microsoft) indicates that controller is disabled.

Control Panel -> All Control Panel Items -> Device ManagerEnable Intel(R) USB 3.0 eXtensible Host Controller – 01000 (Microsoft) and you will get you USB ports back on your dell laptop.

Enable Intel(R) USB 3.0 eXtensible Host Controler - 01000 (Microsoft)


WAMP can’t start because MSVCR110.dll is missing from your computer

Resolved:  httpd.exe System Error: The program can’t start because MSVCR110.dll is missing from your computer. Try reinstalling the program to fix this problem.


Install of WAMP (WampServer2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-32b.exe) on Windows 8.1 64 bit failed with the above system error. Application installed, but can’t be launched.

MSVCR110.dll is the Microsoft Visual C++ Redistributable dll that is needed for projects built with Visual Studio 2011. The dll letters spell this out.
MS = Microsoft, V = Visual, C = C++, R = Redistributable

Steps to resolve the issue:

  • Remove WampServer2.5
  • Download and install Visual C++ Redistributable for Visual Studio 2012 (vcredist_x86.exe) first. If you are installing 32bit version WAMP then you will need  32bit version of Visual C++ Redistributable for Visual Studio.
  • Install WampServer2.5

Source http://answers.microsoft.com/en-us/windows/forum/windows_8-winapps/the-program-cant-start-because-msvcr110dll-is/f052d325-3af9-4ae5-990b-b080799724db

Blank screen in WP admin pages

Best way to to find the root cause is to view the source code of affected wp-admin page. Celect Ctrl + U if you use Google Chrome browser.

How to fix empty dashboard issue in WordPress


in my case at the end of the source code I found Fatal error on screen.php:

<b>Fatal error</b>: Access to undeclared static property: WP_Screen::$this in <b>/home/pilkas.lt/public_html/wp-admin/includes/screen.php</b> on line <b>706</b><br />

This was easily fixed by following below steps from stackexchange.com

  • Open file blog/wp-admin/includes/screen.php in your favorite text editor.
  • On line 706 find the following PHP statement: <?php echo self::$this->_help_sidebar; ?>
  • Replace it with the statement: <?php echo $this->_help_sidebar; ?>
  • Save your changes.

Google tools/services I use

Google has tons of useful services and tools.

Google tools for Home:

  • Google Fonts  – Directory of Open Source web fonts. You can use them in every way you want, privately or commercially — in print, on your computer, or in your websites.

Google tools for WebMasters

  • Mobile friendly Tool  – Analyzes a URL and reports if the page has a mobile-friendly design.
  • PageSpeed Insights – Analyzes the content of a web page, then generates suggestions to make that page faster.
  • Google Trends – Explore Google trending search topics
  • Keyword Planner – Search for new keyword or ad group ideas
  • Webmaster Tools – Check your site’s health for potential issues that Google has detected. Understand your search traffic and learn how users are finding your site.
  • Adsense – simple way to earn money by displaying targeted ads next to your online content.

Other Google links

  • Coming soon

Note: I will be updating this page constantly. If you know more services that are no on the list, let me know by dropping an email to info@pilkas.lt.

Notepad++ Save failed – Please check if this file is opened in another program

Unable to edit/save C:\Windows\System32\drivers\etc\hosts file?
Unable to edit/save C:\Windows\System32\drivers\etc\hosts file?

Looks like you didn run Notepad++ as administrator. To launch Notepad++ as administrator, left click on icon and select “Run as administrator”

notepad plus plus run as administrator

Or, make Notepad++ always run as administrator by left clicking on icon -> Properties -> Shortcut tab ->Advanced.. -> Select “Run as administrator”

notepad always run as administrator

Related pages: