Visualizzazione risultati 1 fino 6 di 6

Discussione: Problema blog wordpress errore

  1. #1
    Guest

    Predefinito Problema blog wordpress errore

    Ciao a tutti, stavo aggiungendo un banner di google adsense mi pare un codice messo male ma non riesco a cercarlo , poi facendo la verifica del mio sito web mi appare questo errore:

    Parse error: syntax error, unexpected '*' in /membri/portaleinformati/blog/index.php on line 2


    non so come risolvere il problema mi potreste aiutare grazie

  2. #2
    Guest

    Predefinito

    Potresti postare le prime 10 righe del file index.php?

  3. #3
    Guest

    Predefinito

    ecco queste sono le stringe del file index.php

    <?php
    * Front to the WordPress application. This file doesn't do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define('WP_USE_THEMES', true);

    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
    ?>
    //]]>
    </script>

  4. #4
    Guest

    Predefinito

    Correggi così:
    Codice PHP:
    <?php
    /**
    * Front to the WordPress application. This file doesn't do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define('WP_USE_THEMES', true);

    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
    ?>
    Ma sei tu che ci hai messo le mani?

  5. #5
    Guest

    Predefinito

    si ho sbagliato a mettere un banner laterale

  6. #6
    Guest

    Predefinito

    grazie dell'aiuto , sono un pò inesperto

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •