...
Main | Registration | Login Welcome Guest | RSS
Site menu
Section categories
Helping [36]
Diverse tuturiale cu ajutor in diverse chestii .
Tag Board
Our poll
Cat de des va dati laba?

Statistics

Total online: 1
Guests: 1
Users: 0
Login form
Main » 2011 » March » 22 » Fatal error: Call to undefined function wp() in /home/user/public_html/wp-blog-header.php on line 18
8:00 PM
Fatal error: Call to undefined function wp() in /home/user/public_html/wp-blog-header.php on line 18

eroare care mi-a aparut la mai multe bloguri  WordPress dupa ce au fost mutate de pe un server pe altul si au avut editat fisierul wp-config.php.

Fatal error: Call to undefined function wp() in /home/user/public_html/wp-blog-header.php on line 18

Cauza eroare: – Se pare ca fisierul wp-config.php isi pierde liniile dupa ce este editat. Mai exact, tot codul php apare pe un singur rand. Nu stiu care este cauza exacta. Probabil din cauza editorului de fisiere php.

Rezolvare: Copy & Replace la un nou fisier wp-config.php in care sa va setati baza de date, user baza de date, pass si prefix.

// ** 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’); 
?>

Fatal error: Call to undefined function wp() in /home/user/public_html/wp-blog-header.php on line 18

Category: Helping | Views: 603 | Added by: Muistu | Tags: CALL TO UNDEFINED FUNCTION, WP ERROR, WORDPRESS FATAL ERROR | Rating: 0.0/0
Total comments: 0
Only registered users can add comments.
[ Registration | Login ]
Calendar
«  March 2011  »
SuMoTuWeThFrSa
  12345
6789101112
13141516171819
20212223242526
2728293031
Entries archive
Site friends
  • Create a free website
  • Online Desktop
  • Free Online Games
  • Video Tutorials
  • All HTML Tags
  • Browser Kits
  • Copyright MyCorp © 2024