Visualizzazione risultati 1 fino 6 di 6

Discussione: Impossibile visualizzare template predefinito

  1. #1
    sitomarco non è connesso Neofita
    Data registrazione
    01-05-2015
    Messaggi
    4

    Predefinito Impossibile visualizzare template predefinito

    Ciao a tutti, ho installato joomla 3.4 via ftp, ho caricato un template, rendendolo predefinito da beckend al quale accedo, ma non riesco a vederlo al suo posto c'è quello di altervista:
    Come posso fare? Grazie.
    http://sitomarco.altervista.org/

  2. #2
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

  3. #3
    sitomarco non è connesso Neofita
    Data registrazione
    01-05-2015
    Messaggi
    4

    Predefinito

    si l'ho fatto ma non risolvo il problema.

  4. #4
    sitomarco non è connesso Neofita
    Data registrazione
    01-05-2015
    Messaggi
    4

    Predefinito

    Ho controllato con un altro sito funzionante fatto con joomla su un altro hosting , il mio sito dall'immagine di filezilla qui sotto è direttamente sotto root
    http://postimg.org/image/rf05b3npr/
    Mentre quello dell'altro sito ha delle cartelle in più all'inizio che io non ho tipo .php, public html, domains. come si vede dall'imagine qui sotto.
    http://postimg.org/image/kxc56qk9p/.
    Potrebbe essere questo il problema? Grazie.

    Allego anche file .htaccess per un controllo.
    # # av:PHP-RG
    php_flag register_globals off
    AddHandler av-php53 .php
    ### Joomla
    RewriteEngine On
    RewriteBase /

    RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    RewriteRule .* index.php [F]

    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteCond %{REQUEST_URI} !^/index\.php
    RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule .* index.php [L]
    Ultima modifica di sitomarco : 09-05-2015 alle ore 08.52.02

  5. #5
    Guest

    Predefinito

    Premesso che occorrerebbe sempre installare le applicazioni in cartelle separate, questo perché di solito ogni applicazione ha il suo index.php e un unico index.php che lancia applicazioni diverse è un po' difficile da realizzare a mano, il problema a mio avviso nasce proprio dal fatto di aver messo tutto sotto la root.
    Nella root infatti c'è l'index.php di altervista.
    Se avessi usato una cartella per joomla in tale cartella ci sarebbe stato l'index.php specifico di joomla che poi fa partire a cascata altre cose.
    Posta il contenuto della index.php della root.
    Presumo sarà diverso da quello previsto per joomla che è questo:

    Codice:
    <?php
    /**
     * @package    Joomla.Site
     *
     * @copyright  Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
     * @license    GNU General Public License version 2 or later; see LICENSE.txt
     */
    
    if (version_compare(PHP_VERSION, '5.3.10', '<'))
    {
    	die('Your host needs to use PHP 5.3.10 or higher to run this version of Joomla!');
    }
    
    /**
     * Constant that is checked in included files to prevent direct access.
     * define() is used in the installation folder rather than "const" to not error for PHP 5.2 and lower
     */
    define('_JEXEC', 1);
    
    if (file_exists(__DIR__ . '/defines.php'))
    {
    	include_once __DIR__ . '/defines.php';
    }
    
    if (!defined('_JDEFINES'))
    {
    	define('JPATH_BASE', __DIR__);
    	require_once JPATH_BASE . '/includes/defines.php';
    }
    
    require_once JPATH_BASE . '/includes/framework.php';
    
    // Mark afterLoad in the profiler.
    JDEBUG ? $_PROFILER->mark('afterLoad') : null;
    
    // Instantiate the application.
    $app = JFactory::getApplication('site');
    
    // Execute the application.
    $app->execute();

  6. #6
    sitomarco non è connesso Neofita
    Data registrazione
    01-05-2015
    Messaggi
    4

    Predefinito

    Questo è index.php che trovo in root.
    Ho installato Joomla sotto direttamente a root perchè mi sembra di aver letto che così fosse corretto.

    ?php
    /**
    * @package Joomla.Site
    *
    * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
    * @license GNU General Public License version 2 or later; see LICENSE.txt
    */

    if (version_compare(PHP_VERSION, '5.3.10', '<'))
    {
    die('Your host needs to use PHP 5.3.10 or higher to run this version of Joomla!');
    }

    /**
    * Constant that is checked in included files to prevent direct access.
    * define() is used in the installation folder rather than "const" to not error for PHP 5.2 and lower
    */
    define('_JEXEC', 1);

    if (file_exists(__DIR__ . '/defines.php'))
    {
    include_once __DIR__ . '/defines.php';
    }

    if (!defined('_JDEFINES'))
    {
    define('JPATH_BASE', __DIR__);
    require_once JPATH_BASE . '/includes/defines.php';
    }

    require_once JPATH_BASE . '/includes/framework.php';

    // Mark afterLoad in the profiler.
    JDEBUG ? $_PROFILER->mark('afterLoad') : null;

    // Instantiate the application.
    $app = JFactory::getApplication('site');

    // Execute the application.
    $app->execute();

Regole di scrittura

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