FTP Daten werden verlangt
FTP Daten werden verlangt beim Versuch ein Plugin zu installieren.
Vor allem nach einem Umug der WordPress Installation kann es vorkommen, dass beim Update oder der Installation eines neuen Plugins, WordPress auf einmal nach den FTP-Daten fragt. Das hat hauptsächlich mit den vergebenen User Rechten zu tun. Um das Problem zu lösen, muss in der Datei wp-config, an irgendeiner Stelle folgendes eingegeben werden:
define('FS_METHOD', 'direct');
danach klappt es wieder mit dem Upload
/**
* 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 = ‘p3ju4_’;
define( ‘WP_POST_REVISIONS’, 10 );
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the Codex.
*
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define(‘WP_DEBUG’, false);
/* That’s all, stop editing! Happy blogging. */
define(‘FS_METHOD’, ‘direct’);
/** 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’);