Quoted
Warning: require_once(/home/www/cwcity/hosting/k/o/kochbarforum/htdocs/wcf/lib/core.functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/cwcity/hosting/k/o/kochbarforum/htdocs/wcf/lib/system/WCF.class.php on line 17
Fatal error: require_once() [function.require]: Failed opening required '/home/www/cwcity/hosting/k/o/kochbarforum/htdocs/wcf/lib/core.functions.php' (include_path='.:/usr/local/lib/php') in /home/www/cwcity/hosting/k/o/kochbarforum/htdocs/wcf/lib/system/WCF.class.php on line 17
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
<?php
// define current wcf version
define('WCF_VERSION', '1.1.8 (Tempest)');
// define current unix timestamp
define('TIME_NOW', time());
// define constants
define('IS_APACHE_MODULE', function_exists('apache_get_version'));
// wcf imports
if (!defined('NO_IMPORTS')) {
require_once(WCF_DIR.'lib/system/cache/CacheHandler.class.php');
require_once(WCF_DIR.'lib/system/language/Language.class.php');
require_once(WCF_DIR.'lib/system/template/Template.class.php');
require_once(WCF_DIR.'lib/system/benchmark/Benchmark.class.php');
require_once(WCF_DIR.'lib/core.functions.php');
}
/**
* WCF is the central class for the community framework.
* It holds the database connection, access to template and language engine.
*
* @author Marcel Werk
* @copyright 2001-2009 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage system
* @category Community Framework
*/
|
This post has been edited 1 times, last edit by "Katja" (Feb 22nd 2012, 11:25am)

|
|
PHP Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
<?php
/**
* @author Marcel Werk
* @copyright 2001-2009 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @category Community Framework
*/
// set exception handler
set_exception_handler(array('WCF', 'handleException'));
// set php error handler
set_error_handler(array('WCF', 'handleError'), E_ALL);
// set shutdown function
register_shutdown_function(array('WCF', 'destruct'));
function escapeString($string) {
return WCF::getDB()->escapeString($string);
}
/**
* Includes the required util or exception classes automatically.
*
* @param string $className
*/
function __autoload($className) {
// search util class in wcf dir
if (file_exists(WCF_DIR . 'lib/util/' . $className . '.class.php')) {
// include file
require_once(WCF_DIR . 'lib/util/' . $className . '.class.php');
return;
}
// search exception class in wcf dir
if (file_exists(WCF_DIR . 'lib/system/exception/' . $className . '.class.php')) {
// include file
require_once(WCF_DIR . 'lib/system/exception/' . $className . '.class.php');
return;
}
// search util or exception class in application dirs
global $packageDirs;
if (isset($packageDirs) && is_array($packageDirs)) {
foreach ($packageDirs as $packageDir) {
if (file_exists($packageDir . 'lib/util/' . $className . '.class.php')) {
// include file
require_once($packageDir . 'lib/util/' . $className . '.class.php');
return;
}
if (file_exists($packageDir . 'lib/system/exception/' . $className . '.class.php')) {
// include file
require_once($packageDir . 'lib/system/exception/' . $className . '.class.php');
return;
}
}
}
}
?>
|
Zu einem vollständigen Backup gehört auch eine Kopie aller Dateien. Sonst kann es zu Problemen wie diesem hier kommen.Wie soll ich die denn aus dem Backup rausholen? Ich hab nur das Backup vom ACP.
Die Fehlermeldung besagt eindeutig, dass "/home/www/cwcity/hosting/k/o/kochbarforum/htdocs/global.php" versucht, "/home/www/cwcity/hosting/k/o/kochbarforum/htdocs/lib/system/WBBCore.class.php" einzubinden, letztere aber fehlt. Deswegen kann erstere nur vorhanden und letztere nur nicht vorhanden sein.Prüfe ob beide Dateien vorhanden sind achtung NICHT nach den Dateien in WCF ordner suchen.
Forum Software: Burning Board® 3.1.7, developed by WoltLab® GmbH