updateApp schlägt fehl

Hallo,
nachdem ich jetzt den Shop wieder einigermaßen am laufen habe, möchte ich ein update auf 4.7.3 durchführen. Nur leider schlägt das ausführen der updateApp mit folgender Fehlermeldung fehl:

PHP Fatal error:  Cannot redeclare isAdmin() (previously declared in /var/www/clients/client10/web123/web/updateApp/core/initshop.php:61) in /var/www/clients/client10/web123/web/core/oxfunctions.php on line 186

Woran kann das liegen?

PHP-Version:

php -v
PHP 5.3.21-1~dotdeb.0 with Suhosin-Patch (cli) (built: Jan 27 2013 11:25:03) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
    with XCache v3.0.1, Copyright (c) 2005-2013, by mOo
    with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
    with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH
    with XCache Cacher v3.0.1, Copyright (c) 2005-2013, by mOo

Danke für eure (hoffentlich schnelle) hilfe… :confused:

Von welcher Version?

Ah, sorry. Von Version 4.7.0_49955 auf die aktuelle 4.7.3

Da wird offenbar die Datei bootstrap.php im Rootverzeichnis nicht gefunden, ist die vorhanden? Außerdem stimmt die Zeilennummer nicht ganz, könnte daher sein dass die
Datei updateApp/core/initshop.php beschädigt ist, poste doch mal den Inhalt dieser Datei.

Die Datei bootstrap.php ist tatsächlich nicht vorhanden… wo bekomme ich die her?

Hier der Inhalt der initshop.php

<?php
/**
 *    This file is part of OXID eShop Community Edition.
 *
 *    OXID eShop Community Edition is free software: you can redistribute it and/or modify
 *    it under the terms of the GNU General Public License as published by
 *    the Free Software Foundation, either version 3 of the License, or
 *    (at your option) any later version.
 *
 *    OXID eShop Community Edition is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *    GNU General Public License for more details.
 *
 *    You should have received a copy of the GNU General Public License
 *    along with OXID eShop Community Edition.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @link http://www.oxid-esales.com
 * @package updateApp
 * @copyright (C) OXID eSales AG 2003-2011
 * @version OXID eShop CE
 */

if (!function_exists('getShopBasePath')) {
    /**
     * Returns shop base path.
     *
     * @return string
     */
    function getShopBasePath()
    {
        return dirname(__FILE__).'/../../';
    }
}

set_include_path(get_include_path() . PATH_SEPARATOR . getShopBasePath());

if ( file_exists( getShopBasePath() . 'bootstrap.php' ) ) {
    if ( !defined( 'OX_IS_ADMIN' ) ) {
        define( 'OX_IS_ADMIN', true );
    }

    require_once getShopBasePath() . 'bootstrap.php';
} else {
    //setting basic configuration parameters
    ini_set('session.name', 'sid' );
    ini_set('session.use_cookies', 0 );
    ini_set('session.use_trans_sid', 0);
    ini_set('url_rewriter.tags', '');
    ini_set('magic_quotes_runtime', 0);


    /**
     * Returns true.
     *
     * @return bool
     */
    if ( !function_exists( 'isAdmin' )) {
        function isAdmin()
        {
            return true;
        }
    }
    // custom functions file
    include getShopBasePath() . 'modules/functions.php';
    // Generic utility method file
    require_once getShopBasePath() . 'core/oxfunctions.php';
    // Including main ADODB include
    require_once getShopBasePath() . 'core/adodblite/adodb.inc.php';
    //strips magics quote if any
    $myConfig = oxConfig::getInstance();
    oxUtils::getInstance()->stripGpcMagicQuotes();
}

error_reporting( E_ALL ^ E_NOTICE );
$myConfig = oxConfig::getInstance();
// reset it so it is done with oxnew
$myConfig->setConfigParam( 'iDebug', -1 );
$iDebug = $myConfig->getConfigParam('iDebug');
// set the exception handler already here to catch everything, also uncaught exceptions from the config or utils
set_exception_handler(array(oxNew('oxexceptionhandler', $iDebug), 'handleUncaughtException'));

error_reporting( E_ALL | E_NOTICE | E_STRICT );

OK, du hast wohl keine 4.7.0, die Revision 49955 ist 4.6.5, 51243 wäre 4.7.0. Hast du ein Update versucht auf 4.7.0 und wenn ja wie?

Hmm, im backend wird mir aber die Version angezeigt…

Demnach habe ich natürlich ein update von 4.7.0 auf 4.7.3 versucht. Aber wenn es tatsächlich eine 4.6.5 ist muss es ja fehlschlagen…

Ich probiere mal ein Update von 4.6.5 auf 4.7.3… :confused:

Merkwürdig das ganze…

Ich meinte ob du vorher schonmal ein Update auf 4.7.0 probiert hast.

Du musst erst auf 4.7.0 updaten. Also wenn dir im Backend 4.7.0 angezeigt wird, nehme ich an du hast die UpdateApp für das Update auf 4.7.0 bereits laufen lassen. Diesen Schritt kannst du also beim Update wahrscheinlich überspringen und direkt deine jetzige Datenbank übernehmen. Module vorher alle abschalten.

Für Update auf 4.7.0 muss der Shop in Version 4.7.0 neu installiert werden: http://www.oxid-esales.com/de/support-services/dokumentation-und-hilfe/oxid-eshop/installation/oxid-eshop-aktualisieren/auf-470500-aktualisieren.html

Ja, die updateApp habe ich ja laufen lassen, weil ich davon ausgegangen bin, mit der im Backend angezeigten Version von 4.7.0_49955 auf die aktuelle 4.7.3 updaten zu können. Wenn das aber jetzt doch noch die 4.6.5er ist, muss ich das wohl noch mal machen…