Avatar Image
Usuario Novato
Usuario Novato

Hola a todos!

Después de darle mil vueltas y mirar por el foro del derecho y del revés... :-( no logro solucionar esto:

Cita:

Warning: require_once(W:/www/joomla1.0/includes/version.php) [function.require-once]: failed to open stream: No such file or directory in /home/webcindario/k/z/kzolutions/includes/joomla.php on line 73

Fatal error: require_once() [function.require]: Failed opening required 'W:/www/joomla1.0/includes/version.php' (include_path='.') in /home/webcindario/k/z/kzolutions/includes/joomla.php on line 73

Me da a mi que la versión PHP igual tiene algo que ver, pero la verdad ni estoy seguro ni sé cómo arreglarlo si fuera así.

Os adjunto el archivo joomla.php (4shared) y el version.php como no es muy largo lo pego aquí.

version.php

<?php
/**
* @version $Id: version.php 10052 2008-02-21 16:04:13Z willebil $
* @Translator: Joomla Spanish
* @Review : shacker | 02/03/08
* @package Joomla
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// no direct access
defined( '_VALID_MOS' ) or die( 'Restricted access' );

/**
 * Version information
 * @package Joomla
 */
class joomlaVersion {
    /** @var string Product */
    var $PRODUCT     = 'Joomla!';
    /** @var int Main Release Level */
    var $RELEASE     = '1.0';
    /** @var string Development Status */
    var $DEV_STATUS = 'Stable';
    /** @var int Sub Release Level */
    var $DEV_LEVEL     = '15';
    /** @var int build Number */
    var $BUILD         = '$Revision: 10052 $';
    /** @var string Codename */
    var $CODENAME     = 'Daytime';
    /** @var string Date */
    var $RELDATE     = '22 February 2008';
    /** @var string Time */
    var $RELTIME     = '23:00';
    /** @var string Timezone */
    var $RELTZ         = 'UTC';
    /** @var string Copyright Text */
    var $COPYRIGHT     = "Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved.";
    /** @var string URL */
    var $URL         = '<a href="http://www.joomla.org">Joomla!</a> es Software Libre distribuido bajo licencia GNU/GPL.';
    /** @var string Whether site is a production = 1 or demo site = 0: 1 is default */
    var $SITE         = 1;
    /** @var string Whether site has restricted functionality mostly used for demo sites: 0 is default */
    var $RESTRICT    = 0;
    /** @var string Whether site is still in development phase (disables checks for /installation folder) - should be set to 0 for package release: 0 is default */
    var $SVN        = 0;


    /**
     * @return string Long format version
     */
    function getLongVersion() {
        return $this->PRODUCT .' '. $this->RELEASE .'.'. $this->DEV_LEVEL .' '
            . $this->DEV_STATUS
            .' [ '.$this->CODENAME .' ] '. $this->RELDATE .' '
            . $this->RELTIME .' '. $this->RELTZ;
    }

    /**
     * @return string Short version format
     */
    function getShortVersion() {
        return $this->RELEASE .'.'. $this->DEV_LEVEL;
    }

    /**
     * @return string Version suffix for help files
     */
    function getHelpVersion() {
        if ($this->RELEASE > '1.0') {
            return '.' . str_replace( '.', '', $this->RELEASE );
        } else {
            return '';
        }
    }
}
$_VERSION = new joomlaVersion();

$version = $_VERSION->PRODUCT .' '. $_VERSION->RELEASE .'.'. $_VERSION->DEV_LEVEL .' '
. $_VERSION->DEV_STATUS
.' [ '.$_VERSION->CODENAME .' ] '. $_VERSION->RELDATE .' '
. $_VERSION->RELTIME .' '. $_VERSION->RELTZ;
?>

Pues muchas gracias de antemano a cualquiera que se interese. :-]

P.D. Por cierto, mi enhorabuena a la gente de mi@ por su curro, desde la gente del foro hasta los estupendos servicios gratuitos que ofrecen.

Avatar Image
User 3566001
Usuario habitual
Usuario habitual

El problema es que no encuentra este archivo a incluir 'W:/www/joomla1.0/includes/version.php' . Seguramente lo hallas echo en tu servidor local en tu partición W:/ y esa ruta no existe en webcindario, tendrás que cambiar la ruta dónde la pusiste por una ruta que exista, sube el archivo version.php a la carpeta includes de joomla por ejemplo. Te recomiendo actualizar la versión de joomla.

Salu2.

Avatar Image
Usuario Novato
Usuario Novato

Vale, entiendo a lo que te refieres... intentaré localizar donde está la función que escribe mal la ruta para modificarla y también te haré caso en cuanto a lo de actualizar. Las ganas por ver algo ya subido me superaron antes de terminar de informarme bien sobre actualizaciones y seguridad.

Gracias newboy, un saludo.

Actualizado: Ya está, sólo había que cambiar algunas rutas en /configuration.php y quitar un par de espacios en blanco en el /includes/joomla.php

ATENCIÓN: Este tema no tiene actividad desde hace más de 6 MESES,
te recomendamos abrir un nuevo tema en lugar de responder al actual
Opciones:
Ir al subforo:
Permisos:
TU NO PUEDES Escribir nuevos temas
TU NO PUEDES Responder a los temas
TU NO PUEDES Editar tus propios mensajes
TU NO PUEDES Borrar tus propios mensajes
Temas similares
TemaUsuariosRespuestasVisitasActividad
Por: , el 18/Dic/2013, 12:20
JoaoTeamm12kDec/13
Por: , el 16/Dic/2010, 17:07
esacamiseta2010 GestionXls13kDec/10
Por: , el 01/Jun/2009, 08:15
Quelocura GestionXls zacazz NoSetup.org56kNov/09
Por: , el 30/Mar/2004, 11:26
fresisuy toche25 NoSetup.org34kApr/04
Por: , el 09/Ene/2004, 16:42
milkit NoSetup.org32kJan/04