• Curran@CurranOmniMedia.com

WordPress Error: The server XYZ at Magic Requires a Username and Password.

WordPress Error: The server XYZ at Magic Requires a Username and Password.

WordpressHere is a little surprise I received upon returning from vacation. I was editing a blog and when I went to save the post an error popped up reading:

  • The server (our server domain, e.g. DOMAIN.COM) at Magic requires a username and password.

Well isn’t that special?

The problem is caused by the vars.php file located in the WP-INCLUDES folder. Someone did a SQL Injection (Read More Here) and added code to the file.

The fix is an easy one – 2 steps:

  1. Download a new version of the vars.php file from WordPress and replace the corrupted one. Look here – Simply choose your WordPress version
  2. Update WordPress to the latest version!

Normally, the files starts:

<?php
/**
 * Creates common globals for the rest of WordPress
 *
 * Sets $pagenow global which is the current page. Checks
 * for the browser to set which one is currently being used.
 *
 * Detects which user environment WordPress is being used on.
 * Only attempts to check for Apache and IIS. Two web servers
 * with known permalink capability.
 *
 * @package WordPress
 */

But after it has been “hacked” there is encrypted text reading something like:

eval(base64_decode("JGxsbD0wO2V2YWwoYmFzZT....

So once again, Look here – Simply choose your WordPress version, go to WP-INLUDES, download Vars.php and replace the one on your server. Then update WordPress for better security.

17 Comments

  • xgv

    October 5, 2009 at 3:59 pm

    Thanks so much, at last a place where things are explained clearly. I fixed the problem in 10 secs.

  • Ilan Kriger

    October 11, 2009 at 4:20 pm

    thanks so much!!! great tutorial, saved my life

    David Yeagley

    October 11, 2009 at 8:22 pm

    You should have the Nobel Peace Price

    esther

    October 17, 2009 at 2:53 pm

    thank you SOOO much! you really helped me a TON!!

    Leonard Schoelkopf

    October 17, 2009 at 11:31 pm

    This was GREAT! Newbie to WordPress and this was just what the doctor ordered. many thanks.

    tony

    October 18, 2009 at 6:04 pm

    This is what being a great citizen in the internet is.. Having an issue solving it and letting other people know in case they get into the same circumstance.
    Many Thanks

    Fikret

    November 4, 2009 at 4:30 pm

    Thank you for this bug fixing.
    in Turkish: Ellerin dert görmesin : )

    Linux Öğren

    December 26, 2009 at 1:15 pm

    thanks you good education

    Edgar

    July 6, 2010 at 2:51 pm

    Thanks so much. I kill the problem!

    canada goose jacket

    July 31, 2011 at 4:38 pm

    Clothing and product professional canada goose sale , canada goose jacket committee JiangHengJie, director of the clothing industry Canada Goose Chilliwack Parka faces condition of the project to speak. At present, the industry winter jackets sale has been down into the recovery phase, is in the key industry adjust upgrade node. Therefore, concerned about Canada Goose Womens Expedition sale the market consumption demand, market recognition of. Keep sustainable consumption and canada goose on sale , Canada Goose Solaris Parka market are the future of the industry is the industry.

    Belstaff Jacket UK

    August 1, 2011 at 4:56 pm

    The Belstaff jacket Classic Tourist Trophy is the official name of this Belstaff leather Outlet, however it will commonly be referred to as the ‘Trialmaster’ because of its resemblance to the 50’s and 60′s model. The Belstaff coat is also re-enforced with doubled material at the shoulder and elbow points. Fot those who prefer to wear this Belstaff Mens Jackets for casual rather than on the bike, removing the protectors couldn’t be simpler–a quick unzip of the pockets and the Belstaff Womens Blouson is as good as one built soley for fashion.Welcome to Buy Belstaff jackets online store.

    dissertation help

    December 9, 2011 at 10:37 pm

    I went to save the post an error popped up reading:

    Vernita Masterson

    April 17, 2012 at 1:43 am

    Here is a little surprise I received upon returning from vacation.

    Janey Nagel

    April 18, 2012 at 12:35 am

    Update WordPress to the latest version!

    Marylyn

    April 19, 2012 at 1:58 am

    Here is a little surprise I received upon returning from vacation. I was editing a blog and when I went to save the post an error popped up reading:

    Corazon

    April 26, 2012 at 2:39 am

    Here is a little surprise I received upon returning from vacation.

    Machelle

    April 28, 2012 at 2:38 am

    I was editing a blog and when I went to save the post an error popped up reading:

Leave a Reply

%d bloggers like this: