In this tutorial we will show you how to fix the XCache Authentication error that occurs when you save articles in Joomla 1.7. The error usually gives a message similar to:

Authentication Required A username and password are being requested by

You may also get an error like this:

XCache Authentication Failed
You're not authorized to access this page due to wrong username and/or password you typed.?The following check points is suggested:
• Be aware that `Username' and `Password' is case sense. Check capslock status led on your keyboard, and punch left/right Shift keys once for each
• Make sure the md5 password is generated correctly. You may use mkpassword.php
• Reload browser cache by pressing F5 and/or Ctrl+F5, or simply clear browser cache after you've updated username/password in php ini.
Check XCache wiki page for more information.

Fix the XCache Error:

  1. In the root of your Joomla installation, edit the configuration.php file.
  2. Locate the $cache_handler line, in my tests it was on line 43.
  3. Set the line to:
    public $cache_handler = 'file';
    view of the cache handler option in the configuration file
  4. Save your changes. You will now be able to save articles successfully without getting the error.


Congratulations, now you know how to fix the XCache related error that occurs in Joomla 1.7 when you save an article! We would like to thank the Official Joomla! Support Forum for providing this solution.


Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.