Ciao a tutti! ho un problema e non sono purtroppo riuscito a trovare la soluzione nel forum, ho ormai installato joomla in remoto tante volte e non mi era mai successo, ora non so cosa ho combinato ma il succo è questo: una volta caricato tutto il contenuto della cartella compressa all'interno della cartella httpdocs con Filezilla, quando digito
www.miosito.it\installation per iniziare l'installazione parte in automatico un download e scarico un file (nome: download tipo: file(?) ) con questa lista di codice, e la solita schermata dell'installazione non si carica, mi riuscite a dire dove sbaglio?
grazie 1000!!
<?php
/**
* @version $Id: index.php 21906 2011-07-20 09:19:04Z infograf768 $
* @package Joomla.Installation
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// PHP 5 check
if (version_compare(PHP_VERSION, '5.2.4', '<')) {
die('Your host needs to use PHP 5.2.4 or higher to run Joomla 1.7.');
}
/**
* Constant that is checked in included files to prevent direct access.
*/
define('_JEXEC', 1);
/**
* Constant that defines the base path of the installed Joomla site.
*/
define('JPATH_BASE', dirname(__FILE__));
/**
* Shortcut for the directory separator character.
*/
define('DS', DIRECTORY_SEPARATOR);
// Set path constants.
$parts = explode(DS, JPATH_BASE);
array_pop($parts);
define('JPATH_ROOT', implode(DS, $parts));
define('JPATH_SITE', JPATH_ROOT);
define('JPATH_CONFIGURATION', JPATH_ROOT);
define('JPATH_ADMINISTRATOR', JPATH_ROOT . '/administrator');
define('JPATH_LIBRARIES', JPATH_ROOT . '/libraries');
define('JPATH_PLUGINS', JPATH_ROOT . '/plugins');
define('JPATH_INSTALLATION', JPATH_ROOT . '/installation');
define('JPATH_THEMES', JPATH_BASE);
define('JPATH_CACHE', JPATH_ROOT . '/cache');
define('JPATH_MANIFESTS', JPATH_ADMINISTRATOR . '/manifests');
/*
* Joomla system checks.
*/
error_reporting(E_ALL);
@ini_set('magic_quotes_runtime', 0);
@ini_set('zend.ze1_compatibility_mode', '0');
/*
* Check for existing configuration file.
*/
if (file_exists(JPATH_CONFIGURATION.'/configuration.php') && (filesize(JPATH_CONFIGURATION.'/configuration.php') > 10) && !file_exists(JPATH_INSTALLATION.'/index.php')) {
header('Location: ../index.php');
exit();
}
//
// Joomla system startup.
//
// Import the cms version library if necessary.
if (!class_exists('JVersion')) {
require JPATH_ROOT.'/includes/version.php';
}
// Bootstrap the Joomla Framework.
require_once JPATH_LIBRARIES.'/import.php';
// Joomla library imports.
jimport('joomla.database.table');
jimport('joomla.user.user');
jimport('joomla.environment.uri');
jimport('joomla.filter.filterinput');
jimport('joomla.filter.filteroutput');
jimport('joomla.html.parameter');
jimport('joomla.utilities.utility');
jimport('joomla.language.language');
jimport('joomla.utilities.string');
jimport('joomla.utilities.arrayhelper');
// Create the application object.
$app = JFactory::getApplication('installation');
// Initialise the application.
$app->initialise();
// Render the document.
$app->render();
// Return the response.
echo $app;