Risultati da 1 a 9 di 9

Discussione: Non legge l'Index!

  1. #1

    Non legge l'Index!

    Ragazzi è una cosa strana che succede al mio sito, in pratica se scrivo www.blablabla.it/forum/forum.php mi porta al forum ma se scrivo www.blablabla.it/forum non mi reindirizza, eppure è tutto corretto, come mai? eppure c'è un file index e forum nella root del forum! questo è avvenuto dopo l'upgrade da 3.8 a 4.1.3

  2. #2
    Borg L'avatar di y2ksw
    Data Registrazione
    Nov 2004
    Località
    Bologna, Italia
    Età
    64
    Messaggi
    9,035
    Assieme alla Suite versione 4.x sono arrivati anche i file forum.php e contents.php. Nel file index.php (modificabile) si può scegliere quali file mostrare. Inoltre ci sono configurazioni nuovi che permettono di impostare sottodomini per forum, blog e cms. Bisogna giocare un po' su queste impostazioni per trovare la giusta combinazione.
    Giovanni
    http://www.trimelli.com/

    Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.

  3. #3
    Ciao, ti copio l'index:

    Codice:
    <?php
    /*======================================================================*\
    || #################################################################### ||
    || # vBulletin 4.1.3 - Licence Number **********
    || # ---------------------------------------------------------------- # ||
    || # Copyright ©2000-2011 vBulletin Solutions Inc. All Rights Reserved. ||
    || # This file may not be redistributed in whole or significant part. # ||
    || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
    || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
    || #################################################################### ||
    \*======================================================================*/
    
    /**
     * If you want to move this file to the root of your website, change this
     * line to your vBulletin directory and uncomment it (delete the //).
     *
     * For example, if vBulletin is installed in '/forum' the line should
     * state:
     *
     *	define('VB_RELATIVE_PATH', 'forum');
     *
     * Note: You may need to change the cookie path of your vBulletin
     * installation to enable your users to log in at the root of your website.
     * If you move this file to the root of your website then you should ensure
     * the cookie path is set to '/'.
     *
     * See 'Admin Control Panel
     *	->Cookies and HTTP Header Options
     *	  ->Path to Save Cookies
     */
    
    //define('VB_RELATIVE_PATH', 'forums');
    
    
    // Do not edit.
    if (defined('VB_RELATIVE_PATH'))
    {
    	chdir('./' . VB_RELATIVE_PATH);
    }
    
    
    /**
     * You can choose the default script here.  Uncomment the appropriate line
     * to set the default script.  Note: Only uncomment one of these, you must
     * add // to comment out the script(s) that you DO NOT want to use as your
     * default script.
     *
     * You can choose the default script even if you do not plan to move this
     * file to the root of your website.
     */
    
    /**
     * Use the CMS as the default script:
     */
    
    require('');
    
    
    /**
     * Use the forum as the default script:
     */
    
    // require('forum.php');
    
    
    /*======================================================================*\
    || ####################################################################
    || # Downloaded: 10:41, Thu May 12th 2011
    || # CVS: $RCSfile$ - $Revision: 31201 $
    || ####################################################################
    \*======================================================================*/
    cosa devo modificare?

  4. #4
    Borg L'avatar di y2ksw
    Data Registrazione
    Nov 2004
    Località
    Bologna, Italia
    Età
    64
    Messaggi
    9,035
    Codice:
    <?php
    /*======================================================================*\
    || #################################################################### ||
    || # vBulletin 4.1.3 - Licence Number **********
    || # ---------------------------------------------------------------- # ||
    || # Copyright ©2000-2011 vBulletin Solutions Inc. All Rights Reserved. ||
    || # This file may not be redistributed in whole or significant part. # ||
    || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
    || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
    || #################################################################### ||
    \*======================================================================*/
    
    /**
     * If you want to move this file to the root of your website, change this
     * line to your vBulletin directory and uncomment it (delete the //).
     *
     * For example, if vBulletin is installed in '/forum' the line should
     * state:
     *
     *    define('VB_RELATIVE_PATH', 'forum');
     *
     * Note: You may need to change the cookie path of your vBulletin
     * installation to enable your users to log in at the root of your website.
     * If you move this file to the root of your website then you should ensure
     * the cookie path is set to '/'.
     *
     * See 'Admin Control Panel
     *    ->Cookies and HTTP Header Options
     *      ->Path to Save Cookies
     */
    
    define('VB_RELATIVE_PATH', 'forum');
    
    
    // Do not edit.
    if (defined('VB_RELATIVE_PATH'))
    {
        chdir('./' . VB_RELATIVE_PATH);
    }
    
    
    /**
     * You can choose the default script here.  Uncomment the appropriate line
     * to set the default script.  Note: Only uncomment one of these, you must
     * add // to comment out the script(s) that you DO NOT want to use as your
     * default script.
     *
     * You can choose the default script even if you do not plan to move this
     * file to the root of your website.
     */
    
    /**
     * Use the CMS as the default script:
     */
    
    //require('');
    
    
    /**
     * Use the forum as the default script:
     */
    
    require('forum.php');
    
    
    /*======================================================================*\
    || ####################################################################
    || # Downloaded: 10:41, Thu May 12th 2011
    || # CVS: $RCSfile$ - $Revision: 31201 $
    || ####################################################################
    \*======================================================================*/
    Giovanni
    http://www.trimelli.com/

    Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.

  5. #5
    Niente nemmeno se incollo il tuo index.... ovviamente ho cambiato gli * con il licence number

  6. #6
    Borg L'avatar di y2ksw
    Data Registrazione
    Nov 2004
    Località
    Bologna, Italia
    Età
    64
    Messaggi
    9,035
    hmhmhm

    Se guardi come si comporta questo forum, il comportamento del tuo è simile?
    Giovanni
    http://www.trimelli.com/

    Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.

  7. #7
    risolto, sapere cos'era? oltre al file Index.php c'è ne era uno index.html del vecchio vbulletin... avevo fatto qualcosa con il seo e quindi mi apriva quello!

  8. #8
    Borg L'avatar di y2ksw
    Data Registrazione
    Nov 2004
    Località
    Bologna, Italia
    Età
    64
    Messaggi
    9,035
    Giusto, me ne ero dimenticato e mi faceva però impazzire la primissima volta
    Giovanni
    http://www.trimelli.com/

    Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.

  9. #9
    grazie comunque, gentilissimo!

Tag per Questa Discussione

Segnalibri

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •