Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Owncloud php error  (gelezen 2121 keer)

Offline Bonnyy

  • Lid
Owncloud php error
« Gepost op: 2017/02/15, 16:42:49 »
Hallo.

Ik ben bezig met het maken van een owncloud server. Ik heb de volgende tutorial gevolgd https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-owncloud-on-ubuntu-16-04 als ik vervolgens naar 127.0.0.1/owncloud ga krijg ik de volgende text te zien:

* @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman * @author Thomas Müller * @author Vincent Petry * * @copyright Copyright (c) 2016, ownCloud, Inc. * @license AGPL-3.0 * * This code is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License, version 3, * along with this program. If not, see * */ // Show warning if a PHP version below 5.4.0 is used, this has to happen here // because base.php will already use 5.4 syntax. if (version_compare(PHP_VERSION, '5.4.0') === -1) { echo 'This version of ownCloud requires at least PHP 5.4.0
'; echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.'; return; } // Show warning if PHP 7.1 is used as ownCloud is not compatible with PHP 7.1 until // version 10.0.0. if (version_compare(PHP_VERSION, '7.1.0') !== -1) { echo 'This version of ownCloud is not compatible with PHP 7.1.
'; echo 'You are currently running ' . PHP_VERSION . '. Please use at least ownCloud 10.0.0.'; return; } // running oC on Windows is unsupported since 8.1, this has to happen here because // is seems that the autoloader on Windows fails later and just throws an exception. if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { echo 'ownCloud Server does not support Microsoft Windows.'; return; } try { require_once 'lib/base.php'; OC::handleRequest(); } catch(\OC\ServiceUnavailableException $ex) { \OC::$server->getLogger()->logException($ex, array('app' => 'index')); //show the user a detailed error page OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE); OC_Template::printExceptionErrorPage($ex); } catch (\OC\HintException $ex) { OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE); OC_Template::printErrorPage($ex->getMessage(), $ex->getHint()); } catch (\OC\User\LoginException $ex) { OC_Response::setStatus(OC_Response::STATUS_FORBIDDEN); OC_Template::printErrorPage($ex->getMessage()); } catch (Exception $ex) { \OC::$server->getLogger()->logException($ex, array('app' => 'index')); //show the user a detailed error page OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Template::printExceptionErrorPage($ex); } catch (Error $ex) { \OC::$server->getLogger()->logException($ex, array('app' => 'index')); OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Template::printExceptionErrorPage($ex); }


Heeft iemand enig idee waar dit door veroorzaakt word? Ik heb php7 .0 geinstalleerd.

Re: Owncloud php error
« Reactie #1 Gepost op: 2017/02/15, 16:59:33 »
Welke versie van OwnCloud heb je draaien?
« Laatst bewerkt op: 2017/02/15, 17:12:28 door Paul Matthijsse »

Offline Bonnyy

  • Lid
Re: Owncloud php error
« Reactie #2 Gepost op: 2017/02/16, 08:49:25 »
Welke versie van OwnCloud heb je draaien?

9

Re: Owncloud php error
« Reactie #3 Gepost op: 2017/02/16, 10:49:05 »
In de tutorial die je aanhaalt wordt OwnCloud 9.1.1-1.2 geïnstalleerd, misschien zit daar je probleem?

Re: Owncloud php error
« Reactie #4 Gepost op: 2017/02/20, 15:16:09 »
als mens niets  leert kom je niet ver als mens leert kom je ver