• hallo,

    ich habe meinen Blog mithilfe des Duplicators genutzt um auf der basis den Blog meiner Eltern zu designen. hat auch alles super geklappt, bis ich google analytics abgeschaltet habe und jetzt ist das ganze Layout kaputt und es sieht so aus:
    http://pimpyourcamper.com/here-comes-lola/
    Backup funktioniert auch nicht. hat jemand ne Idee?
    Ich bin, falls ihr es noch nicht bemerkt habt, absolut kein Profi...
    Liebe Grüße Celine

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • ich hatte garkein ftp programm offen. Alles was ich gemacht habe ich mein Email widget anzupassen, aber das auch direkt im widget ereich und google analytics abzustellen.
    Hier trotzdem die header php
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//DE" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="de">
    <head profile="http://gmpg.org/xfn/11">

    <!-- <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php wp_title('-', true, 'right'); ?> - <?php bloginfo('name'); ?></title>


    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <div id="header">
    <?php wp_head(); ?>

    </head>
    <body>

    <div id="wrapper">

    <div id="header"onclick="location.href='http://www.pimpyourcamper.com';"
    onkeypress="location.href='http://www.pimpyourcamper.com';" style="cursor: pointer;"
    >
    <br><h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1> <link href="https://fonts.googleapis.com/css?family=Syncopate" rel="stylesheet">
    <h3><?php bloginfo('description'); ?></h3>

    </div><!-- header -->
    <?php if ( is_active_sidebar( 'sidebar-custom-header' ) ) : ?>

    <div id="sidebar-header">

    <?php dynamic_sidebar( 'sidebar-custom-header' ); ?>

    </div>

    <?php endif; ?><br>

    <div id="topmenu">
    <ul>
    <?php wp_list_categories('title_li='); ?>
    </ul>
    </div>

    <a class="Überschrift" href="<?php bloginfo('url'); ?>">
    </div<
    </a>

  • Das Google Analytics Plugin des Ursprungsblogs zeigt jetzt folgenden Fehler:
    Last Error: 2017-03-02 11:01:44: exception 'Google_Auth_Exception' with message 'Error refreshing the OAuth2 token, message: '{
    "error" : "invalid_grant",
    "error_description" : "Token has been expired or revoked."
    }'' in /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Auth/OAuth2.php:331
    Stack trace:
    #0 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Auth/OAuth2.php(264): Google_Auth_OAuth2->refreshTokenRequest(Array)
    #1 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Auth/OAuth2.php(240): Google_Auth_OAuth2->refreshToken('1/gmQcByBO9NzTV...')
    #2 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Service/Resource.php(215): Google_Auth_OAuth2->sign(Object(Google_Http_Request))
    #3 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Service/Analytics.php(1909): Google_Service_Resource->call('get', Array, 'Google_Service_...')
    #4 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(291): Google_Service_Analytics_DataGa_Resource->get('ga:137103532', '30daysAgo', 'yesterday', 'ga:sessions,ga:...', Array)
    #5 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(429): GADWP_GAPI_Controller->handle_corereports('137103532', '30daysAgo', 'yesterday', 'ga:sessions,ga:...', Array, 'qr3_2375655808')
    #6 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(856): GADWP_GAPI_Controller->get_bottomstats('137103532', '30daysAgo', 'yesterday', false)
    #7 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/admin/ajax-actions.php(108): GADWP_GAPI_Controller->get('137103532', 'bottomstats', '30daysAgo', 'yesterday', false)
    #8 [internal function]: GADWP_Backend_Ajax->ajax_item_reports('')
    #9 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-includes/class-wp-hook.php(298): call_user_func_array(Array, Array)
    #10 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
    #11 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #12 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-admin/admin-ajax.php(91): do_action('wp_ajax_gadwp_b...')
    #13 {main}

  • 1. Entferne das [COLOR=#ff0000]<!--[/COLOR] hier (das meinte auch rantanplan2000):

    [COLOR=#ff0000]<!--[/COLOR] <meta http-equiv="Content-Type" ...

    2. Entferne [COLOR=#ff0000]<div id="header">[/COLOR] hier:

    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    [COLOR=#ff0000]<div id="header">[/COLOR]
    <?php wp_head(); ?>

    3. Ergänze ein Leerzeichen ..id="head[COLOR=#ff0000]er" on[/COLOR]click="loc.. hier (das könnte man auch ohne JavaScript lösen):

    <div id="head[COLOR=#ff0000]er"on[/COLOR]click="location.href='http://www

    4. Entferne [COLOR=#ff0000]</div<[/COLOR] hier:

    <a class="Überschrift" href="<?php bloginfo('url'); ?>">
    [COLOR=#ff0000]</div< [/COLOR]
    </a>

    Dann sehen wir mal weiter.

  • Ich habe es jetzt probehalber nochmal bei einem anderen Blog versucht. Sobald ich Google Analytics die authorisierung entzogen habe, hat sich das LAyout verändert. Genau wie bei dem Anderen Blog. hat jemand ne Idee wie ich das Problem lösen kan?

  • Woran lag es denn und wie hast Du es gelöst?

    Und im HTML der Seite stimmt nach Korrektur der o.g. Punkte immer noch so einiges nicht. Vor der Datei header.php wird noch ein Link zum Stylesheet und ein Meta bzgl. xmlrpc ausgegeben, schau mal in der Datei functions.php, ob Du dort entspr. Ausgaben findest.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!