WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am getting the following error when I try to access my Wordpress website. It was working quite fine previously. Could anyone help me on this.

No configuration file found and no installation code available. Exiting...

share|improve this question
up vote 1 down vote accepted

In Wordpress there will be a default wp-config.php file and I think this has been missing from your package. Please Check if it is there, else create a new one with file name wp-config.php and Place the following code in it with appropriate Database Credentials.

// ** MySQL settings ** //
define('DB_NAME', 'DATABASE-NAME');    // The name of the database
define('DB_USER', 'DATABASE-USERNAME');     // Your MySQL username
define('DB_PASSWORD', 'DATABASE-PASSWORD'); // ...and password
define('DB_HOST', 'localhost');  
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');

// You can have multiple installations in one database if you give each a unique prefix
$table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!

// Change this to localize WordPress.  A corresponding MO file for the
// chosen language must be installed to wp-content/languages.
// For example, install de.mo to wp-content/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', '');

/* That's all, stop editing! Happy blogging. */

define('ABSPATH', dirname(__FILE__).'/');
share|improve this answer
ok i will check that and revert back – Thejdeep Apr 8 '13 at 9:58
thanks uzair that one solved my issue thanks alot....!You are awesome....! – Thejdeep Apr 8 '13 at 10:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.