Ver Mensaje Individual
  #4 (permalink)  
Antiguo 15/01/2008, 03:22
Avatar de darkgaze
darkgaze
 
Fecha de Ingreso: febrero-2006
Ubicación: Madrid, España
Mensajes: 462
Antigüedad: 18 años, 2 meses
Puntos: 2
Re: PhPMyAdmin install script funciona mal

Les incluyo aquí el trozo de código que empieza saliendo mal. Y luego es todo, absoltuamente todo, como si no cogiera el PHP desde un punto!!

eso es lo que sale al principo cuando abro la página con navegador:

* @copyright 2006 Michal Čihař * @license http://www.gnu.org/licenses/gpl.html GNU GPL 2.0 * @version $Id: setup.php 10748 2007-10-10 07:30:59Z cybot_tm $ */ // Grab phpMyAdmin version and PMA_dl function define('PMA_MINIMUM_COMMON', TRUE); define('PMA_SETUP', TRUE); chdir('..'); require_once './libraries/common.inc.php'; // Grab configuration defaults // Do not use $PMA_Config, it interferes with the one in $_SESSION // on servers with register_globals enabled $PMA_Config_Setup = new PMA_Config(); // Script information $script_info = 'phpMyAdmin ' . $PMA_Config_Setup->get('PMA_VERSION') . ' setup script by Michal Čihař '; $script_version = '$Id: setup.php 10748 2007-10-10 07:30:59Z cybot_tm $'; // Grab action if (isset($_POST['action'])) { $action = $_POST['action']; } else { $action = ''; } // Grab wanted CRLF type if (isset($_POST['eoltype'])) { $eoltype = $_POST['eoltype']; } else { if (PMA_USR_OS == 'Win') { $eoltype = 'dos'; } else { $eoltype = 'unix'; } } // Detect which CRLF to use if ($eoltype == 'dos'


......... etc.


Y esto es lo que hay en el código:



<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* phpMyAdmin setup script
*
* PHP versions 4 and 5
*
* @category Setup
* @package phpMyAdmin-setup
* @author Michal ÄŒihaÅ™ <[email protected]>
* @copyright 2006 Michal ÄŒihaÅ™ <[email protected]>
* @license http://www.gnu.org/licenses/gpl.html GNU GPL 2.0
* @version $Id: setup.php 10748 2007-10-10 07:30:59Z cybot_tm $
*/

// Grab phpMyAdmin version and PMA_dl function
define('PMA_MINIMUM_COMMON', TRUE);
define('PMA_SETUP', TRUE);
chdir('..');

......





Se os ocurre por qué demonios no lee a partir de un punto del código???.
__________________
Darkgaze