Hallo,
bin dabei ein Multisite Network anzulegen (Grund: wird für Multilanguage benötigt)
Dafür muss ich wp-config.php und die .htaccess ändern. Das habe ich auch gemäß Anleitung getan, aber jetzt bekomme ich beim Aufruf von Netwerkverwaltung/Dashboard folgende Fehlermeldung:
Fatal error: Call to undefined function wp_get_current_user() in /homepages/18/d317155877/htdocs/clickandbuilds/WordPress/Chris_Hilfe/wp-includes/capabilities.php on line 424
Hat jemand eine Idee, was schiefgelaufen sein könnte?
Hier meine
HTML
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ wp/$1 [L]
RewriteRule . index.php [L]
</IfModule>
# END WordPress
AddHandler x-mapp-php5.5 .php
AddHandler x-mapp-php5.5 .php
Alles anzeigen
Und meine wp-config.php sieht so aus:
PHP
define('WP_DEBUG', false);
/**
* Disable the Plugin and Theme Editor.
*
* Occasionally you may wish to disable the plugin or theme editor to prevent
* overzealous users from being able to edit sensitive files and potentially crash the site.
* Disabling these also provides an additional layer of security if a hacker
* gains access to a well-privileged user account.
*/
define('DISALLOW_FILE_EDIT', true);
/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE', 's317155896.online.de');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
/* That's all, stop editing! Happy blogging. */
/** 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');
Alles anzeigen