You are not logged in.

Katja

Member

  • "Katja" is female
  • "Katja" started this thread

Posts: 412

Location: Hennef

Occupation: Arbeit suchend

  • Send private message

1

Wednesday, February 22nd 2012, 11:19am

Fehlermeldung im Forum

Seit 1 Woche hab ich diese Fehlermeldung:

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


Was genau bedeutet das?

Hier mal die Zeilen nach 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)


CandyMan

Member

  • "CandyMan" is male

Posts: 1,957

Location: Berlin

Occupation: IT-Useradministrator

  • Send private message

2

Wednesday, February 22nd 2012, 11:25am

Prüfe mal ob diese Datei vorhanden ist: wcf/lib/core.functions.php sowie wcf/lib/system/WCF.class.php sind beide vorhanden wird ich drauf tippen das es an dein Hoster liegt oder eventuell noch an den CHMOD.

Gruss CandyMan

Katja

Member

  • "Katja" is female
  • "Katja" started this thread

Posts: 412

Location: Hennef

Occupation: Arbeit suchend

  • Send private message

3

Wednesday, February 22nd 2012, 11:28am

Die core.functions.php ist gar nicht drin

0xLeon

Member

  • "0xLeon" is male

Posts: 710

Location: Furtwangen

Occupation: Student (Medieninformatik)

  • Send private message

4

Wednesday, February 22nd 2012, 11:29am

Die gehört aber zum WCF und ist ziemlich wichtig. Such dir die Datei einfach aus einem Backup raus. Inhalt is immer der selbe, weswegen da auch der Zeitpunkt des letzten Backups relativ egal ist.
Meine Pakete
Invitation System – Plugin StoreGithub
Update Files Delete PIP – Plugin StoreGithub
Kein Support via PN oder E-Mail.

Katja

Member

  • "Katja" is female
  • "Katja" started this thread

Posts: 412

Location: Hennef

Occupation: Arbeit suchend

  • Send private message

5

Wednesday, February 22nd 2012, 11:30am

Wie soll ich die denn aus dem Backup rausholen? Ich hab nur das Backup vom ACP.

CandyMan

Member

  • "CandyMan" is male

Posts: 1,957

Location: Berlin

Occupation: IT-Useradministrator

  • Send private message

6

Wednesday, February 22nd 2012, 11:31am

Schon den fehler gefunden :)

Lege Sie neu an mit den name und hier der Inhalt der Datei:

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;
            }
        }
    }
}
?>


Gruss CandyMan

0xLeon

Member

  • "0xLeon" is male

Posts: 710

Location: Furtwangen

Occupation: Student (Medieninformatik)

  • Send private message

7

Wednesday, February 22nd 2012, 11:32am

Wie soll ich die denn aus dem Backup rausholen? Ich hab nur das Backup vom ACP.
Zu einem vollständigen Backup gehört auch eine Kopie aller Dateien. Sonst kann es zu Problemen wie diesem hier kommen.
Meine Pakete
Invitation System – Plugin StoreGithub
Update Files Delete PIP – Plugin StoreGithub
Kein Support via PN oder E-Mail.

Katja

Member

  • "Katja" is female
  • "Katja" started this thread

Posts: 412

Location: Hennef

Occupation: Arbeit suchend

  • Send private message

8

Wednesday, February 22nd 2012, 11:32am

ist das die core?

CandyMan

Member

  • "CandyMan" is male

Posts: 1,957

Location: Berlin

Occupation: IT-Useradministrator

  • Send private message

9

Wednesday, February 22nd 2012, 11:38am

mmmhhh ja was sonst?

Gruss CandyMan

Katja

Member

  • "Katja" is female
  • "Katja" started this thread

Posts: 412

Location: Hennef

Occupation: Arbeit suchend

  • Send private message

10

Wednesday, February 22nd 2012, 11:40am

Okay ich habs so gemacht und dann kommt nur noch das:

Fatal error: main() [function.require]: Failed opening required '/home/www/cwcity/hosting/k/o/kochbarforum/htdocs/lib/system/WBBCore.class.php' (include_path='.:/usr/local/lib/php') in /home/www/cwcity/hosting/k/o/kochbarforum/htdocs/global.php on line 17

CandyMan

Member

  • "CandyMan" is male

Posts: 1,957

Location: Berlin

Occupation: IT-Useradministrator

  • Send private message

11

Wednesday, February 22nd 2012, 11:44am

Prüfe ob beide Dateien vorhanden sind achtung NICHT nach den Dateien in WCF ordner suchen.

Gruss CandyMan

0xLeon

Member

  • "0xLeon" is male

Posts: 710

Location: Furtwangen

Occupation: Student (Medieninformatik)

  • Send private message

12

Wednesday, February 22nd 2012, 11:45am

Wie ich schon schrieb, deswegen hat man immer auch ein Backup des Dateisystems. Scheinbar fehlen bei dir mehrere Dateien. Kann jetzt niemand genau sagen, ob nach dieser Fehlermeldung nicht wieder eine kommen wird.
Die Datei die jetzt fehlt, gehört zum WBB und steht auch unter der entsprechenden Lizenz. Bin mir gerade nicht sicher, ob ich den Inhalt hier einfach posten darf.

Prüfe ob beide Dateien vorhanden sind achtung NICHT nach den Dateien in WCF ordner suchen.
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.
Meine Pakete
Invitation System – Plugin StoreGithub
Update Files Delete PIP – Plugin StoreGithub
Kein Support via PN oder E-Mail.

Katja

Member

  • "Katja" is female
  • "Katja" started this thread

Posts: 412

Location: Hennef

Occupation: Arbeit suchend

  • Send private message

13

Wednesday, February 22nd 2012, 11:46am

die wbbcore fehlt, die andere ist da.

CandyMan

Member

  • "CandyMan" is male

Posts: 1,957

Location: Berlin

Occupation: IT-Useradministrator

  • Send private message

14

Wednesday, February 22nd 2012, 11:57am

Die ist etwas größer daher als anhang!

Gruss CandyMan
CandyMan has attached the following file:

Katja

Member

  • "Katja" is female
  • "Katja" started this thread

Posts: 412

Location: Hennef

Occupation: Arbeit suchend

  • Send private message

15

Wednesday, February 22nd 2012, 12:00pm

Parse error: syntax error, unexpected T_STRING in /home/www/cwcity/hosting/k/o/kochbarforum/htdocs/wcf/config.inc.php on line 2

CandyMan

Member

  • "CandyMan" is male

Posts: 1,957

Location: Berlin

Occupation: IT-Useradministrator

  • Send private message

16

Wednesday, February 22nd 2012, 12:01pm

Sag mir nicht das die auch fehlt? Kann auch sein das der Inhalt nicht ganz stimmt.

P.S: Falls die fehlt die kann ich dir nicht ganz geben da stehen deine mySQL DB zugangsdaten drin.

Gruss CandyMan

Katja

Member

  • "Katja" is female
  • "Katja" started this thread

Posts: 412

Location: Hennef

Occupation: Arbeit suchend

  • Send private message

17

Wednesday, February 22nd 2012, 12:03pm

Nein die ist da, da stehen auch meine Daten richtig drin.

CandyMan

Member

  • "CandyMan" is male

Posts: 1,957

Location: Berlin

Occupation: IT-Useradministrator

  • Send private message

18

Wednesday, February 22nd 2012, 12:04pm

Was steht den in zeile 2 und 3 falls da ein passwort bei sein sollte nimm es raus bitte!

Gruss CandyMan

Katja

Member

  • "Katja" is female
  • "Katja" started this thread

Posts: 412

Location: Hennef

Occupation: Arbeit suchend

  • Send private message

19

Wednesday, February 22nd 2012, 12:21pm

Source code

1
2
3
4
5
6
7
8
9
<?php
$dbHost = ''xxx'';
$dbUser = ''xxx'';
$dbPassword = 'xxx';
$dbName = ''xxxx'';
$dbCharset = ''utf8'';
$dbClass = ''MySQLDatabase'';
if (!defined('WCF_N'))define(''WCF_N'', 1); 
?>

CandyMan

Member

  • "CandyMan" is male

Posts: 1,957

Location: Berlin

Occupation: IT-Useradministrator

  • Send private message

20

Wednesday, February 22nd 2012, 12:27pm

Warum hast du da 2 hochkomma hier mal meine ohne Inhalte:

PHP Source code

1
2
3
4
5
6
7
8
9
<?php
$dbHost 'localhost';
$dbUser 'xxx';
$dbPassword 'xxx';
$dbName 'xxx';
$dbCharset 'utf8';
$dbClass 'MySQLDatabase';
if (!defined('WCF_N')) define('WCF_N'1);
?>


Gruss CandyMan