WorPress

Nainstaloval jsem WP na WebZdarma a upravil wp-config takto: <?php
/
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information by
* visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
*
* @package WordPress
*/

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

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

/
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', '');

/
#@+
* Authentication Unique Keys.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* @since 2.6.0
*/
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');
/#@-*/

/

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

/
* WordPress Localized Language, defaults to English.
*
* 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', 'cs_CZ');

/* 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');
Přesto se mi nespustí na webu. Proč? Přitom na firemním je to v pohodě. Díky.
Jsi si jistý, že tam zadáváš při instalaci správné informace? Zkontroluj si to v administraci účtu na WZ - položka nastavení MySQL (máš tu db aktivovánu?).

- define('DB_NAME', 'wordpres_jafel_wz_cz'); - řekl bych že to je špatně (tvoje db se jmenuje určitě jinak)
- define('DB_USER', 'wpres007'); - to bude něco jako jafel
- define('DB_HOST', 'localhost'); - mysql.webzdarma.cz

JENŽE! Ty před instalací musíš akorát přejmenovat soubor wp-config-sample.php na wp-config.php - ostatní automaticky udělá instalátor Wordpressu.
Díky Lamo, já mel totiz u polozky database host - localhost místo mysql.webzdarma.cz ... asi me spletla ta hláska ze z 99% se tahle hodnota nemusí menit :-).
<HTML>Jaroslav Feltl - vzdyť jsi již odpověď na tento dotaz dostal z mailu podpory!</HTML>
ahoj
zmazal som staru stranku s databazou a nahodil som tam wordpress
vsetko mam myslim v poriadku ale stale mi vypisuje:

Parse error: parse error in /3w/wz.cz/s/sosaj/wp-config.php on line 77
a
Fatal error: Call to undefined function: wp() in /3w/wz.cz/s/sosaj/wp-blog-header.php on line 14

co stym pls?
Ad 1: neskočila ti do toho souboru reklama?
Ad 2: to je problém Wordpressu - zeptej se na jejich fóru
nic som nemenil len zmazal staru databazu a hned ju nahradil novou
wordpress je novo stiahnuty z webu, nic som vnom nemenil a vidim ze je tu viac stranok ktore na wz bezia na wordpressu

preto mam obavy ze problem sposobuje predosla databaza ktora na danej stranke bola
este preistotu uvadzam data z wp-config.php:


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

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

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

/
MySQL hostname */
define('DB_HOST', 'mysql.webzdarma.cz');


alebo tam treba este nieco zmenit?
Ještě jednou. Pochop, že problémy s Wordpresse ti nejlépe poradí na fóru Wordpressu.

Když ti nejede auto, taky nevoláš cestářům (kteří udělali cestu, po které jedeš), ale do autoservisu.

Call to undefined function: není problém databáze.
ok skusim sa tam popytat
dik za info
vyriesene - slahol som tam starsi wordpress