Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)
  • Thread Starter ironivan89

    (@ironivan89)

    Thankyou very much! It works well now!!

    Thread Starter ironivan89

    (@ironivan89)

    Now it works!! I explain what I’ve done and the solution is very strange.
    -On first try I’ve compared the wp_3_options table (table of second subsite) with the wp_2_options table (table of site which has login issue). I’ve modified each record in wp_2_options exactly like in the wp_3_options except the record with the paths that i’ve left http://www.example.com/one. In this way I’ve tried to login into http://www.example.com/one and when I’ve tried to switch to other sites……. Like before!! I’ve to login again!
    -On second try I’ve backup and deleted in wp_2_options (table of subsite with issue) all the records with option_name field equals to option_name field in wp_3_options (they are about the first 100 records). I’ve imported all the records from wp_3_options to wp_2_options and I changed the option_value field values with values that were in wp_2_options. I’ve tried to login into http://www.example.com/one and I’ve tried to switch to other sites…….. Everything seems to work now!!!!!!

    I don’t know why it works, I’ve done approximately the same thing but in the second way it works!

    Thread Starter ironivan89

    (@ironivan89)

    I’ve seen that if I import the wp_options table (obviously changing the prefix in wp_2_ that is the prefix of subsite) I get the login issue. If I don’t import the table, the login works fine but I need to import the wp_options table for plugin configuration. Do you know if there is something relative to login in wp_options table that I’ve to mantain?
    Thanks

    Thread Starter ironivan89

    (@ironivan89)

    I’ve removed password and names. The customizations are right?
    Thanks

    Thread Starter ironivan89

    (@ironivan89)

    I think that the wp-config is correct because if i switch from second subsite to primary or primary to second subsite it works well, maybe I’ve to look on some configuration imported in tables. The wp-config is this:

    <?php
    /**
     * Il file base di configurazione di WordPress.
     *
     * Questo file viene utilizzato, durante l’installazione, dallo script
     * di creazione di wp-config.php. Non è necessario utilizzarlo solo via
     * web, è anche possibile copiare questo file in «wp-config.php» e
     * riempire i valori corretti.
     *
     * Questo file definisce le seguenti configurazioni:
     *
     * * Impostazioni MySQL
     * * Prefisso Tabella
     * * Chiavi Segrete
     * * ABSPATH
     *
     * È possibile trovare ultetriori informazioni visitando la pagina del Codex:
     *
     * @link https://codex.wordpress.org/it:Modificare_wp-config.php
     *
     * È possibile ottenere le impostazioni per MySQL dal proprio fornitore di hosting.
     *
     * @package WordPress
     */
    
    // ** Impostazioni MySQL - È possibile ottenere queste informazioni dal proprio fornitore di hosting ** //
    /** Il nome del database di WordPress */
    define('DB_NAME', '');
    
    /** Nome utente del database MySQL */
    define('DB_USER', '');
    
    /** Password del database MySQL */
    define('DB_PASSWORD', '');
    
    /** Hostname MySQL  */
    define('DB_HOST', 'localhost');
    
    /** Charset del Database da utilizzare nella creazione delle tabelle. */
    define('DB_CHARSET', 'utf8');
    
    /** Il tipo di Collazione del Database. Da non modificare se non si ha idea di cosa sia. */
    define('DB_COLLATE', '');
    
    /**#@+
     * Chiavi Univoche di Autenticazione e di Salatura.
     *
     * Modificarle con frasi univoche differenti!
     * È possibile generare tali chiavi utilizzando {@link https://api.wordpress.org/secret-key/1.1/salt/ servizio di chiavi-segrete di WordPress.org}
     * È possibile cambiare queste chiavi in qualsiasi momento, per invalidare tuttii cookie esistenti. Ciò forzerà tutti gli utenti ad effettuare nuovamente il login.
     *
     * @since 2.6.0
     */
    define('AUTH_KEY',         'key');
    define('SECURE_AUTH_KEY',  'key');
    define('LOGGED_IN_KEY',    'key);
    define('NONCE_KEY',        'key');
    define('AUTH_SALT',        'key');
    define('SECURE_AUTH_SALT', 'key');
    define('LOGGED_IN_SALT',   'key');
    define('NONCE_SALT',       'key);
    
    /**#@-*/
    
    /**
     * Prefisso Tabella del Database WordPress.
     *
     * È possibile avere installazioni multiple su di un unico database
     * fornendo a ciascuna installazione un prefisso univoco.
     * Solo numeri, lettere e sottolineatura!
     */
    $table_prefix  = 'wp_';
    
    /**
     * Per gli sviluppatori: modalità di debug di WordPress.
     *
     * Modificare questa voce a TRUE per abilitare la visualizzazione degli avvisi
     * durante lo sviluppo.
     * È fortemente raccomandato agli svilupaptori di temi e plugin di utilizare
     * WP_DEBUG all’interno dei loro ambienti di sviluppo.
     */
    define('WP_DEBUG', false);
    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'thelifemagazine.net');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    
    /* Finito, interrompere le modifiche! Buon blogging. */
    
    /** Path assoluto alla directory di WordPress. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Imposta le variabili di WordPress ed include i file. */
    require_once(ABSPATH . 'wp-settings.php');

    Thanks

    Thread Starter ironivan89

    (@ironivan89)

    As explained in this link http://code.tutsplus.com/tutorials/moving-wordpress-moving-a-site-into-a-multisite-network–cms-22773 I’ve imported a single wordpress instance to a subsite in multisite then I’ve imported tables with prefixes of multisite that have the prefix of multisite instance plus subsite id in this way… wp_ (multisite instance), wp_2_ (first subsite) wp_3_ (second subsite)
    Can you help with this?
    Thanks

    Thread Starter ironivan89

    (@ironivan89)

    Yes that is what I did. A multisite. Do you have a solution for this issue?
    Thanks

    When you change the target post-type it will show only the custom taxonomies assigned to this custom-post-type on the subscription form?
    thanks

    Thread Starter ironivan89

    (@ironivan89)

    I’ve solved! Probably there was some invisible character on file functions.php because I’ve rewritten the file from the beginning, uploaded it and white line has disappeared!
    Thanks!

    Thread Starter ironivan89

    (@ironivan89)

    I’ve disabled the debug because I’m trying to correct the file functions.php, what the debug say is:

    Notice: Il metodo di costruzione richiamato per WP_Widget è deprecato dalla versione 4.3.0! Utilizzare invece
    __construct()
    . in /var/www/vhosts/iaconettiarchitets.com/pim5stelle.com/wp-includes/functions.php on line 3457 Notice: Il metodo di costruzione richiamato per WP_Widget è deprecato dalla versione 4.3.0! Utilizzare invece
    __construct()
    . in /var/www/vhosts/iaconettiarchitets.com/pim5stelle.com/wp-includes/functions.php on line 3457 Notice: Il metodo di costruzione richiamato per WP_Widget è deprecato dalla versione 4.3.0! Utilizzare invece
    __construct()
    . in /var/www/vhosts/iaconettiarchitets.com/pim5stelle.com/wp-includes/functions.php on line 3457 Notice: Il metodo di costruzione richiamato per WP_Widget è deprecato dalla versione 4.3.0! Utilizzare invece
    __construct()
    . in /var/www/vhosts/iaconettiarchitets.com/pim5stelle.com/wp-includes/functions.php on line 3457 Notice: Il metodo di costruzione richiamato per WP_Widget è deprecato dalla versione 4.3.0! Utilizzare invece
    __construct()
    . in /var/www/vhosts/iaconettiarchitets.com/pim5stelle.com/wp-includes/functions.php on line 3457 Notice: Undefined index: header-style in /var/www/vhosts/iaconettiarchitets.com/pim5stelle.com/wp-content/themes/classiads child/header.php on line 66

    Thread Starter ironivan89

    (@ironivan89)

    No white space before the <?php and after last comment.
    I’ve enabled debug but notifications are the same that appear if I remove the child functions.php so they appear also when the white line doesn’t appear.

    Thread Starter ironivan89

    (@ironivan89)

    No, i don’t get this error because I have created The custom taxonomy “provincia”. Probably you get this error because you don’t have this custom taxonomy. But I can’t understand why deleting all functions in The file I get always the white line!

    Thread Starter ironivan89

    (@ironivan89)

    Yes. Theme’s support tell me that The problemi is my file child functions.PHP, in fact, if i switch to parent theme, the line doesn’t appear and if i remove my child functions.PHP The line doesn’t appear. Have you seen something wrong in my functions.PHP code?
    Thanks

    Thread Starter ironivan89

    (@ironivan89)

    Theme is classiads theme but the problem isn’t with the theme but with my file functions.php because if I delete everything from the file the problem still appear. The debug list 4 notification that are also in the original theme.

    The code pasted is at http://pastebin.com/P8jeRrDs

    Thanks

    Thread Starter ironivan89

    (@ironivan89)

    OK! I will try. Thanks

Viewing 15 replies - 1 through 15 (of 24 total)