Suport » Probleme și soluții » Nu pot accesa wp-admin

Vizualizare 13 răspunsuri - 1 la 13 (din 13 în total)
  • Inițiator fir de discuții cadys

    (@cadys)

    Ma poate ajuta cineva?
    Am nevoie de ajutor ca nu știu cum sa rezolv aceasta mare problema.

    Va multumesc,

    Salut,

    1. Ai vreun plugin de cache instalat?
    2. Verifica fisierul wp-config.php sa nu ai spatii aiurea.
    3. Dezactiveaza toate plugin-urile vezi aici. LINK

    Urmeaza pasi pe rand, daca nu ai facut o deja.
    Fa un backup la wp-config.php
    Nu ar strica sa dai mai multe detalii, ce plugin-uri ai instalate etc..

    Inițiator fir de discuții cadys

    (@cadys)

    Salut,

    Problema o am de cand am trecut la versiunea 4.4.2 si de atunci nu stiu ce sa mai fac ! Am verificat fisierul wp-config, am dezactivat plugin-urile, am facut si un downgrade la versiunea 3.9, am revenit la 4.4.2, ciudat este cand dezactivez tema nu trece pe tema twentyfifteen cum o facea de obicei, ci apare o pagina alba.
    Site-ul poate fi accesat doar prin http://cadys.ro/, cand il accesez http://www.cadys.ro/ apare eroarea:

    Warning: Cannot modify header information – headers already sent by (output started at /home/rcad0959/public_html/wp-config.php:1) in /home/rcad0959/public_html/wp-includes/pluggable.php on line 1228

    Folosesc urmatoarele plugin-uri:
    1. Akismer
    2. all-in-one-seo-pack
    3. bulletproof-security
    4. bwp-google-xml-sitemaps
    5. googleanalytics
    6. nextend-facebook-connect
    7. ninja-forms
    8. regenerate-thumbnails
    9. taxonomy-metadata
    10. woocommerce
    11. woodojo-downloads
    12. woosidebars
    13. wordfence
    14. wordpress-importer
    15. wordpress-ping-optimizer
    16. wp-instagram-widget
    17. yith-woocommerce-ajax-navigation
    18. yith-woocommerce-ajax-search
    19. yith-woocommerce-compare
    20. yith-woocommerce-order-tracking
    21. yith-woocommerce-wishlist
    22. yith-woocommerce-zoom-magnifier

    MS,

    Salut,

    Posteaza continutul din wp-config, fara MySQL settings nu cred ca vrei sa-ti faci publica parola/user de la baza de date.

    Inițiator fir de discuții cadys

    (@cadys)

    Salut,

    Contiunutul wp-config este:

    <?php
    //increase WP Memory Limit
    define('WP_MEMORY_LIMIT', '128M');
    /**
     * Setarile de baza pentru WordPress.
     *
     * Acest fi?ier con?ine urmatoarele detalii : setarile MySQL, prefixul pentru tabele,
     * cheile secrete ?i ABSPATH. Informa?ii suplimentare pot fi gasite
     * în pagina {@link https://codex.wordpress.org/Editing_wp-config.php Editing
     * wp-config.php} din Codex. Setarile MySQL pot fi ob?inute de la furnizorul serviciul de gazduire.
     *
     * Acest fi?ier este folosit la crearea wp-config.php din timpul procesului de instalare.
     * Folosirea interfe?ei web nu e obligatorie, acest fi?ier poate fi copiat
     * sub numele de "wp-config.php", iar apoi populate toate detaliile.
     *
     * @package WordPress
     */
    
    // ** Setarile MySQL: aceste informa?ii pot fi ob?inute de la serviciile de gazduire ** //
    /** Numele bazei de date pentru WordPress */
    define('DB_NAME', 'xxxxxxxxx');
    
    /** Numele de utilizator MySQL */
    define('DB_USER', 'xxxxxxxxx');
    
    /** Parola utilizatorului MySQL */
    define('DB_PASSWORD', 'xxxxxxxxxxx');
    
    /** Adresa serverului MySQL */
    define('DB_HOST', 'xxxxxxxxx');
    
    /** Setul de caractere pentru tabelele din baza de date. */
    define('DB_CHARSET', 'utf8mb4');
    
    /** Schema pentru unificare. Nu face?i modificari daca nu sunte?i siguri. */
    define('DB_COLLATE', '');
    
    /**#@+
     * Cheile unice pentru autentificare
     *
     * Modifica?i con?inutul fiecarei chei pentru o fraza unica.
     * Acestea pot fi generate folosind {@link http://api.wordpress.org/secret-key/1.1/salt/ serviciul pentru chei de pe WordPress.org}
     *
     * @since 2.6.0
     */
    define('AUTH_KEY',         'xxxxxxxxxxxxx');
    define('SECURE_AUTH_KEY',  'xxxxxxxxxxxxx');
    define('LOGGED_IN_KEY',    'xxxxxxxxxxxxx');
    define('NONCE_KEY',        'xxxxxxxxxxxxx');
    define('AUTH_SALT',        'xxxxxxxxxxxxx');
    define('SECURE_AUTH_SALT', 'xxxxxxxxxxxxx');
    define('LOGGED_IN_SALT',   'xxxxxxxxxxxxx');
    define('NONCE_SALT',       'xxxxxxxxxxxxxx');
    
    /**#@-*/
    
    /**
     * Prefixul tabelelor din MySQL
     *
     * Acest lucru permite instalarea mai multor instan?e WordPress folosind aceea?i baza de date
     * daca prefixul este diferit pentru fiecare instan?a.
     * Sunt permise doar cifre, litere ?i caracterul liniu?a de subliniere.
     */
    $table_prefix  = 'xxxxxxxx';
    
    /**
     * Pentru dezvoltatori: WordPress în mod de depanare.
     *
     * Seteaza cu true pentru a permite afi?area notificarilor în timpul dezvoltarii.
     * Este recomadata folosirea modului WP_DEBUG în timpul dezvoltarii modulelor ?i
     * a ?abloanelor/temelor în mediile personale de dezvoltare.
     */
    define('WP_DEBUG', true);
    
    /* Asta e tot, am terminat cu editarea. Spor! */
    
    /** Calea absoluta spre directorul WordPress. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Seteaza variabilele WordPress ?i fi?ierele incluse. */
    require_once(ABSPATH . 'wp-settings.php');
    ?>

    Ms mult,

    Salut,

    In principiu ai un spatiu aiurea undeva in wp-config.php, wp-login.php, pluggable.php.

    Ai aici un tutorial cum sa procedezi. LINK

    Interpreting the Error Message:

    If the error message states: Warning: Cannot modify header information – headers already sent by (output started at /path/blog/wp-config.php:34) in /path/blog/wp-login.php on line 42, then the problem is at line #34 of wp-config.php, not line #42 of wp-login.php. In this scenario, line #42 of wp-login.php is the victim. It is being affected by the excess whitespace at line #34 of wp-config.php.

    Inițiator fir de discuții cadys

    (@cadys)

    Am rezolvat.

    In wp_config era eroarea.

    Ms mult,

    alin28046

    (@alin28046)

    cadys am si eu problema ta la wordpress.Imi poti spune te rog cum ai rezolvat?

    Aceasta este eroarea
    Warning: Cannot modify header information – headers already sent by (output started at /home/dwjjhgeg/public_html/wp-settings.php:1) in /home/dwjjhgeg/public_html/wp-includes/pluggable.php on line 1228

    Inițiator fir de discuții cadys

    (@cadys)

    Salut,

    Problema ta este în wp_settings.php.
    Eu am verificat linie cu linie și am găsit eroarea (inițial nu am văzut eroarea).

    O zi buna,

    alin28046

    (@alin28046)

    Cum ai recunoscut eroarea ce anume trebuie sa fie? sau cum o pot depista?

    alin28046

    (@alin28046)

    <?php
    /**
     * Used to set up and fix common variables and include
     * the WordPress procedural and class library.
     *
     * Allows for some configuration in wp-config.php (see default-constants.php)
     *
     * @internal This file must be parsable by PHP4.
     *
     * @package WordPress
     */
    
    /**
     * Stores the location of the WordPress directory of functions, classes, and core content.
     *
     * @since 1.0.0
     */
    define( 'WPINC', 'wp-includes' );
    
    // Include files required for initialization.
    require( ABSPATH . WPINC . '/load.php' );
    require( ABSPATH . WPINC . '/default-constants.php' );
    
    /*
     * These can't be directly globalized in version.php. When updating,
     * we're including version.php from another install and don't want
     * these values to be overridden if already set.
     */
    global $wp_version, $wp_db_version, $tinymce_version, $required_php_version, $required_mysql_version;
    require( ABSPATH . WPINC . '/version.php' );
    
    /**
     * If not already configured, <code>$blog_id</code> will default to 1 in a single site
     * configuration. In multisite, it will be overridden by default in ms-settings.php.
     *
     * @global int $blog_id
     * @since 2.0.0
     */
    global $blog_id;
    
    // Set initial default constants including WP_MEMORY_LIMIT, WP_MAX_MEMORY_LIMIT, WP_DEBUG, SCRIPT_DEBUG, WP_CONTENT_DIR and WP_CACHE.
    wp_initial_constants();
    
    // Check for the required PHP version and for the MySQL extension or a database drop-in.
    wp_check_php_mysql_versions();
    
    // Disable magic quotes at runtime. Magic quotes are added using wpdb later in wp-settings.php.
    @ini_set( 'magic_quotes_runtime', 0 );
    @ini_set( 'magic_quotes_sybase',  0 );
    
    // WordPress calculates offsets from UTC.
    date_default_timezone_set( 'UTC' );
    
    // Turn register_globals off.
    wp_unregister_GLOBALS();
    
    // Standardize $_SERVER variables across setups.
    wp_fix_server_vars();
    
    // Check if we have received a request due to missing favicon.ico
    wp_favicon_request();
    
    // Check if we're in maintenance mode.
    wp_maintenance();
    
    // Start loading timer.
    timer_start();
    
    // Check if we're in WP_DEBUG mode.
    wp_debug_mode();
    
    // For an advanced caching plugin to use. Uses a static drop-in because you would only want one.
    if ( WP_CACHE )
    	WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );
    
    // Define WP_LANG_DIR if not set.
    wp_set_lang_dir();
    
    // Load early WordPress files.
    require( ABSPATH . WPINC . '/compat.php' );
    require( ABSPATH . WPINC . '/functions.php' );
    require( ABSPATH . WPINC . '/class-wp.php' );
    require( ABSPATH . WPINC . '/class-wp-error.php' );
    require( ABSPATH . WPINC . '/plugin.php' );
    require( ABSPATH . WPINC . '/pomo/mo.php' );
    
    // Include the wpdb class and, if present, a db.php database drop-in.
    require_wp_db();
    
    // Set the database table prefix and the format specifiers for database table columns.
    $GLOBALS['table_prefix'] = $table_prefix;
    wp_set_wpdb_vars();
    
    // Start the WordPress object cache, or an external object cache if the drop-in is present.
    wp_start_object_cache();
    
    // Attach the default filters.
    require( ABSPATH . WPINC . '/default-filters.php' );
    
    // Initialize multisite if enabled.
    if ( is_multisite() ) {
    	require( ABSPATH . WPINC . '/ms-blogs.php' );
    	require( ABSPATH . WPINC . '/ms-settings.php' );
    } elseif ( ! defined( 'MULTISITE' ) ) {
    	define( 'MULTISITE', false );
    }
    
    register_shutdown_function( 'shutdown_action_hook' );
    
    // Stop most of WordPress from being loaded if we just want the basics.
    if ( SHORTINIT )
    	return false;
    
    // Load the L10n library.
    require_once( ABSPATH . WPINC . '/l10n.php' );
    
    // Run the installer if WordPress is not installed.
    wp_not_installed();
    
    // Load most of WordPress.
    require( ABSPATH . WPINC . '/class-wp-walker.php' );
    require( ABSPATH . WPINC . '/class-wp-ajax-response.php' );
    require( ABSPATH . WPINC . '/formatting.php' );
    require( ABSPATH . WPINC . '/capabilities.php' );
    require( ABSPATH . WPINC . '/class-wp-roles.php' );
    require( ABSPATH . WPINC . '/class-wp-role.php' );
    require( ABSPATH . WPINC . '/class-wp-user.php' );
    require( ABSPATH . WPINC . '/query.php' );
    require( ABSPATH . WPINC . '/date.php' );
    require( ABSPATH . WPINC . '/theme.php' );
    require( ABSPATH . WPINC . '/class-wp-theme.php' );
    require( ABSPATH . WPINC . '/template.php' );
    require( ABSPATH . WPINC . '/user.php' );
    require( ABSPATH . WPINC . '/class-wp-user-query.php' );
    require( ABSPATH . WPINC . '/session.php' );
    require( ABSPATH . WPINC . '/meta.php' );
    require( ABSPATH . WPINC . '/class-wp-meta-query.php' );
    require( ABSPATH . WPINC . '/general-template.php' );
    require( ABSPATH . WPINC . '/link-template.php' );
    require( ABSPATH . WPINC . '/author-template.php' );
    require( ABSPATH . WPINC . '/post.php' );
    require( ABSPATH . WPINC . '/class-walker-page.php' );
    require( ABSPATH . WPINC . '/class-walker-page-dropdown.php' );
    require( ABSPATH . WPINC . '/class-wp-post.php' );
    require( ABSPATH . WPINC . '/post-template.php' );
    require( ABSPATH . WPINC . '/revision.php' );
    require( ABSPATH . WPINC . '/post-formats.php' );
    require( ABSPATH . WPINC . '/post-thumbnail-template.php' );
    require( ABSPATH . WPINC . '/category.php' );
    require( ABSPATH . WPINC . '/class-walker-category.php' );
    alin28046

    (@alin28046)

    require( ABSPATH . WPINC . '/class-walker-category-dropdown.php' );
    require( ABSPATH . WPINC . '/category-template.php' );
    require( ABSPATH . WPINC . '/comment.php' );
    require( ABSPATH . WPINC . '/class-wp-comment.php' );
    require( ABSPATH . WPINC . '/class-wp-comment-query.php' );
    require( ABSPATH . WPINC . '/class-walker-comment.php' );
    require( ABSPATH . WPINC . '/comment-template.php' );
    require( ABSPATH . WPINC . '/rewrite.php' );
    require( ABSPATH . WPINC . '/class-wp-rewrite.php' );
    require( ABSPATH . WPINC . '/feed.php' );
    require( ABSPATH . WPINC . '/bookmark.php' );
    require( ABSPATH . WPINC . '/bookmark-template.php' );
    require( ABSPATH . WPINC . '/kses.php' );
    require( ABSPATH . WPINC . '/cron.php' );
    require( ABSPATH . WPINC . '/deprecated.php' );
    require( ABSPATH . WPINC . '/script-loader.php' );
    require( ABSPATH . WPINC . '/taxonomy.php' );
    require( ABSPATH . WPINC . '/class-wp-term.php' );
    require( ABSPATH . WPINC . '/class-wp-tax-query.php' );
    require( ABSPATH . WPINC . '/update.php' );
    require( ABSPATH . WPINC . '/canonical.php' );
    require( ABSPATH . WPINC . '/shortcodes.php' );
    require( ABSPATH . WPINC . '/embed.php' );
    require( ABSPATH . WPINC . '/class-wp-embed.php' );
    require( ABSPATH . WPINC . '/class-wp-oembed-controller.php' );
    require( ABSPATH . WPINC . '/media.php' );
    require( ABSPATH . WPINC . '/http.php' );
    require( ABSPATH . WPINC . '/class-http.php' );
    require( ABSPATH . WPINC . '/class-wp-http-streams.php' );
    require( ABSPATH . WPINC . '/class-wp-http-curl.php' );
    require( ABSPATH . WPINC . '/class-wp-http-proxy.php' );
    require( ABSPATH . WPINC . '/class-wp-http-cookie.php' );
    require( ABSPATH . WPINC . '/class-wp-http-encoding.php' );
    require( ABSPATH . WPINC . '/class-wp-http-response.php' );
    require( ABSPATH . WPINC . '/widgets.php' );
    require( ABSPATH . WPINC . '/class-wp-widget.php' );
    require( ABSPATH . WPINC . '/class-wp-widget-factory.php' );
    require( ABSPATH . WPINC . '/nav-menu.php' );
    require( ABSPATH . WPINC . '/nav-menu-template.php' );
    require( ABSPATH . WPINC . '/admin-bar.php' );
    require( ABSPATH . WPINC . '/rest-api.php' );
    require( ABSPATH . WPINC . '/rest-api/class-wp-rest-server.php' );
    require( ABSPATH . WPINC . '/rest-api/class-wp-rest-response.php' );
    require( ABSPATH . WPINC . '/rest-api/class-wp-rest-request.php' );
    
    // Load multisite-specific files.
    if ( is_multisite() ) {
    	require( ABSPATH . WPINC . '/ms-functions.php' );
    	require( ABSPATH . WPINC . '/ms-default-filters.php' );
    	require( ABSPATH . WPINC . '/ms-deprecated.php' );
    }
    
    // Define constants that rely on the API to obtain the default value.
    // Define must-use plugin directory constants, which may be overridden in the sunrise.php drop-in.
    wp_plugin_directory_constants();
    
    $GLOBALS['wp_plugin_paths'] = array();
    
    // Load must-use plugins.
    foreach ( wp_get_mu_plugins() as $mu_plugin ) {
    	include_once( $mu_plugin );
    }
    unset( $mu_plugin );
    
    // Load network activated plugins.
    if ( is_multisite() ) {
    	foreach ( wp_get_active_network_plugins() as $network_plugin ) {
    		wp_register_plugin_realpath( $network_plugin );
    		include_once( $network_plugin );
    	}
    	unset( $network_plugin );
    }
    
    /**
     * Fires once all must-use and network-activated plugins have loaded.
     *
     * @since 2.8.0
     */
    do_action( 'muplugins_loaded' );
    
    if ( is_multisite() )
    	ms_cookie_constants(  );
    
    // Define constants after multisite is loaded.
    wp_cookie_constants();
    
    // Define and enforce our SSL constants
    wp_ssl_constants();
    
    // Create common globals.
    require( ABSPATH . WPINC . '/vars.php' );
    
    // Make taxonomies and posts available to plugins and themes.
    // @plugin authors: warning: these get registered again on the init hook.
    create_initial_taxonomies();
    create_initial_post_types();
    
    // Register the default theme directory root
    register_theme_directory( get_theme_root() );
    
    // Load active plugins.
    foreach ( wp_get_active_and_valid_plugins() as $plugin ) {
    	wp_register_plugin_realpath( $plugin );
    	include_once( $plugin );
    }
    unset( $plugin );
    
    // Load pluggable functions.
    require( ABSPATH . WPINC . '/pluggable.php' );
    require( ABSPATH . WPINC . '/pluggable-deprecated.php' );
    
    // Set internal encoding.
    wp_set_internal_encoding();
    
    // Run wp_cache_postload() if object cache is enabled and the function exists.
    if ( WP_CACHE && function_exists( 'wp_cache_postload' ) )
    	wp_cache_postload();
    
    /**
     * Fires once activated plugins have loaded.
     *
     * Pluggable functions are also available at this point in the loading order.
     *
     * @since 1.5.0
     */
    do_action( 'plugins_loaded' );
    
    // Define constants which affect functionality if not already defined.
    wp_functionality_constants();
    
    // Add magic quotes and set up $_REQUEST ( $_GET + $_POST )
    wp_magic_quotes();
    
    /**
     * Fires when comment cookies are sanitized.
     *
     * @since 2.0.11
     */
    do_action( 'sanitize_comment_cookies' );
    
    /**
     * WordPress Query object
     * @global WP_Query $wp_the_query
     * @since 2.0.0
     */
    $GLOBALS['wp_the_query'] = new WP_Query();
    
    /**
     * Holds the reference to @see $wp_the_query
     * Use this global for WordPress queries
     * @global WP_Query $wp_query
     * @since 1.5.0
     */
    $GLOBALS['wp_query'] = $GLOBALS['wp_the_query'];
    
    /**
     * Holds the WordPress Rewrite object for creating pretty URLs
     * @global WP_Rewrite $wp_rewrite
     * @since 1.5.0
     */
    $GLOBALS['wp_rewrite'] = new WP_Rewrite();
    
    /**
     * WordPress Object
     * @global WP $wp
     * @since 2.0.0
     */
    $GLOBALS['wp'] = new WP();
    
    /**
     * WordPress Widget Factory Object
     * @global WP_Widget_Factory $wp_widget_factory
     * @since 2.8.0
     */
    $GLOBALS['wp_widget_factory'] = new WP_Widget_Factory();
    
    /**
     * WordPress User Roles
     * @global WP_Roles $wp_roles
     * @since 2.0.0
     */
    $GLOBALS['wp_roles'] = new WP_Roles();
    
    /**
     * Fires before the theme is loaded.
     *
     * @since 2.6.0
     */
    do_action( 'setup_theme' );
    
    // Define the template related constants.
    wp_templating_constants(  );
    
    // Load the default text localization domain.
    load_default_textdomain();
    
    $locale = get_locale();
    $locale_file = WP_LANG_DIR . "/$locale.php";
    if ( ( 0 === validate_file( $locale ) ) && is_readable( $locale_file ) )
    	require( $locale_file );
    unset( $locale_file );
    
    // Pull in locale data after loading text domain.
    require_once( ABSPATH . WPINC . '/locale.php' );
    
    /**
     * WordPress Locale object for loading locale domain date and various strings.
     * @global WP_Locale $wp_locale
     * @since 2.1.0
     */
    $GLOBALS['wp_locale'] = new WP_Locale();
    
    // Load the functions for the active theme, for both parent and child theme if applicable.
    if ( ! wp_installing() || 'wp-activate.php' === $pagenow ) {
    	if ( TEMPLATEPATH !== STYLESHEETPATH && file_exists( STYLESHEETPATH . '/functions.php' ) )
    		include( STYLESHEETPATH . '/functions.php' );
    	if ( file_exists( TEMPLATEPATH . '/functions.php' ) )
    		include( TEMPLATEPATH . '/functions.php' );
    }
    
    /**
     * Fires after the theme is loaded.
     *
     * @since 3.0.0
     */
    do_action( 'after_setup_theme' );
    
    // Set up current user.
    $GLOBALS['wp']->init();
    
    /**
     * Fires after WordPress has finished loading but before any headers are sent.
     *
     * Most of WP is loaded at this stage, and the user is authenticated. WP continues
     * to load on the init hook that follows (e.g. widgets), and many plugins instantiate
     * themselves on it for all sorts of reasons (e.g. they need a user, a taxonomy, etc.).
     *
     * If you wish to plug an action once WP is loaded, use the wp_loaded hook below.
     *
     * @since 1.5.0
     */
    do_action( 'init' );
    
    // Check site status
    if ( is_multisite() ) {
    	if ( true !== ( $file = ms_site_check() ) ) {
    		require( $file );
    		die();
    	}
    	unset($file);
    }
    
    /**
     * This hook is fired once WP, all plugins, and the theme are fully loaded and instantiated.
     *
     * AJAX requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for
     * users not logged in.
     *
     * @link https://codex.wordpress.org/AJAX_in_Plugins
     *
     * @since 3.0.0
     */
    do_action( 'wp_loaded' );
    alin28046

    (@alin28046)

    acesta este tot fisierul meu wp-settings.php

    Spune-mi te rog daca depistezi eroarea!

Vizualizare 13 răspunsuri - 1 la 13 (din 13 în total)
  • Subiectul „Nu pot accesa wp-admin” este închis pentru răspunsuri noi.