wp-config.php
tiedostossa on luultavasti tyhjiä merkkejä joko ennen tai jälkeen php-tagien. Ne kuuluisi poistaa.
Fatal error: Call to undefined function load_textdomain() in E:\LocalUser\staffori\staffords.info\wp-admin\includes\admin.php on line 12
mikä nyt on vialla??
Tässä tidosto jossa on jotain vialla:
<?php
/**
* Includes all of the WordPress Administration API files.
*
* @package WordPress
* @subpackage Administration
*/
if ( ! defined(’WP_ADMIN’) ) {
// This file is being included from a file other than wp-admin/admin.php, so
// some setup was skipped. Make sure the admin message catalog is loaded since
// load_default_textdomain() will not have done so in this context.
load_textdomain( ’default’, WP_LANG_DIR . ’/admin-’ . get_locale() . ’.mo’ );
}
/** WordPress Bookmark Administration API */
require_once(ABSPATH . ’wp-admin/includes/bookmark.php’);
/** WordPress Comment Administration API */
require_once(ABSPATH . ’wp-admin/includes/comment.php’);
/** WordPress Administration File API */
require_once(ABSPATH . ’wp-admin/includes/file.php’);
/** WordPress Image Administration API */
require_once(ABSPATH . ’wp-admin/includes/image.php’);
/** WordPress Media Administration API */
require_once(ABSPATH . ’wp-admin/includes/media.php’);
/** WordPress Import Administration API */
require_once(ABSPATH . ’wp-admin/includes/import.php’);
/** WordPress Misc Administration API */
require_once(ABSPATH . ’wp-admin/includes/misc.php’);
/** WordPress Plugin Administration API */
require_once(ABSPATH . ’wp-admin/includes/plugin.php’);
/** WordPress Post Administration API */
require_once(ABSPATH . ’wp-admin/includes/post.php’);
/** WordPress Administration Screen API */
require_once(ABSPATH . ’wp-admin/includes/screen.php’);
/** WordPress Taxonomy Administration API */
require_once(ABSPATH . ’wp-admin/includes/taxonomy.php’);
/** WordPress Template Administration API */
require_once(ABSPATH . ’wp-admin/includes/template.php’);
/** WordPress List Table Administration API and base class */
require_once(ABSPATH . ’wp-admin/includes/class-wp-list-table.php’);
require_once(ABSPATH . ’wp-admin/includes/list-table.php’);
/** WordPress Theme Administration API */
require_once(ABSPATH . ’wp-admin/includes/theme.php’);
/** WordPress User Administration API */
require_once(ABSPATH . ’wp-admin/includes/user.php’);
/** WordPress Update Administration API */
require_once(ABSPATH . ’wp-admin/includes/update.php’);
/** WordPress Deprecated Administration API */
require_once(ABSPATH . ’wp-admin/includes/deprecated.php’);
/** WordPress Multisite support API */
if ( is_multisite() ) {
require_once(ABSPATH . ’wp-admin/includes/ms.php’);
require_once(ABSPATH . ’wp-admin/includes/ms-deprecated.php’);
}
mitä tässä pitäisi tehdä??
Luultavasti vika ei ole tiedostossa, vaan WP-asennuksessa tai alustan asetuksissa. Millaisella alustalla yrität WP:tä pyörittää?
Yksi mahdollisuus on sekin, että purkaminen tai FTP-siirto on mennyt pieleen ja osa tiedostoista on rikki tai puuttuu.