|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Sep 2005
7 posts
Gave thanks: 0
Thanked 0 times
|
Help Me With WP Problem?
Gahh WP is getting on my nerves with all of these problems..so I need to get them fixed. On the main wp page is says:
Fatal error: Call to undefined function: apply_filters() in /home/heidi/public_html/wp/wp-blog-header.php on line 90 On line 90 it says: $wpvarstoreset = apply_filters('query_vars', $wpvarstoreset); Please help me fix it; thank you. |
|
|
|
|
|
#2 (permalink) |
|
Senior Member
Super #1
Joined in Jan 2005
1,546 posts
Gave thanks: 70
Thanked 33 times
|
You're missing a bit in your wp-config.php. It should look like the following:
Code:
<?php
/** WordPress's config file **/
/** http://wordpress.org/ **/
// ** MySQL settings ** //
define('DB_NAME', 'wordpress'); // The name of the database
define('DB_USER', 'wordpress'); // Your MySQL username
define('DB_PASSWORD', 'wordpress'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
// Change the prefix if you want to have multiple blogs in a single database.
$table_prefix = 'wp_'; // example: 'wp_' or 'b2' or 'mylogin_'
// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', '');
/* Stop editing */
$server = DB_HOST;
$loginsql = DB_USER;
$passsql = DB_PASSWORD;
$base = DB_NAME;
define('ABSPATH', dirname(__FILE__).'/');
// Get everything else
require_once(ABSPATH.'wp-settings.php');
?>
Let me know if that doesn't help you out. |
|
|
|