Määratlemata funktsiooni wp() kutsumine

poolt

0

[Paranda viga] Määratlemata funktsiooni wp() kutsumine failis wp-blog-header.php

[Paranda viga] Määratlemata funktsiooni wp() kutsumine failis wp-blog-header.php

0
Määratlemata funktsiooni wp() kutsumine

O viga mis ilmusid mulle mitmes blogisWordPress pärast seda, kui nad viidi ühest serverist teise ja olid redigeeris faili wp-config.php. “Call to undefined function wp() in wp-blog-header.php“.

Vea põhjus: – Tundub, et fail wp-config.php see kaotab pärast redigeerimist oma read. Täpsemalt, kogu php kood kuvatakse ühel real. Ma ei tea, mis on täpne põhjus. Tõenäoliselt on probleem php failiredaktoris.

[Paranda viga] Call to undefined function wp() in wp-blog-header.php

LAHENDAMINE: Kopeeri & Asenda uue failiga wp-config.php kus saate määrata oma andmebaasi, kasutajate andmebaasi, passi ja eesliide.

<?php 
// ** MySQL settings - You can get this info from your web host ** // 
/** The name of the database for WordPress */ 
define('DB_NAME', 'putyourdbnamehere');

/** MySQL database username */ 
define('DB_USER', 'usernamehere');

/** MySQL database password */ 
define('DB_PASSWORD', 'yourpasswordhere');

/** MySQL hostname */ 
define('DB_HOST', 'localhost');

/** Database Charset to use in creating database tables. */ 
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */ 
define('DB_COLLATE', '');

define('AUTH_KEY', 'put your unique phrase here'); 
define('SECURE_AUTH_KEY', 'put your unique phrase here'); 
define('LOGGED_IN_KEY', 'put your unique phrase here'); 
define('NONCE_KEY', 'put your unique phrase here'); 
$table_prefix  = 'wp_';

define ('WPLANG', '');

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

/** WordPress absolute path to the Wordpress directory. */ 
if ( !defined('ABSPATH') ) 
    define('ABSPATH', dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */ 
require_once(ABSPATH . 'wp-settings.php'); 
?>

Viga kadus pärast seda faili värskendust wp-config.php al WordPress.

[Paranda viga] Määratlemata funktsiooni wp() kutsumine failis wp-blog-header.php

Samuti võite olla huvitatud...

Jäta vastus

Teie e-posti aadressi ei avaldata. Nõutavad väljad on tähistatud *