WBB Local installiern?

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • WBB Local installiern?

    Abend,

    ich möchte gerne ein WBB Lite Forum local installieren (via XAMPP) nun wenn ich "Apache" starte passiert nichts dort steht auch nicht in Grün "Running"

    Oder hat jemand eine Anleitung für mich?

    MfG

    p.s.
    Wenn das der falsche Bereich ist dann bitte Moven wusste nicht genau wohin damit
  • Du musst dann schon die Instalaltionsdateien vom WBB in den www-Root des Apaches kopieren und den Installer im Browser aufrufen.
    [tabmenu]
    [tab='Werbung in eigener Sache']
    Du suchst einen Instant Messenger dessen Verbindung voll verschlüsselt ist? Weiterhin soll er mit anderen Instant Massenging Protokollen verknüpfbar sein? Außerdem möchtest du weltweit erreichbar sein (ähnlich icq und msn)? - Dann schick mir Post und erhalte ein unverbindliches, auf alle Fälle kostenloses, Angebot:
    [Blockierte Grafik: http://easy-scripting.net/icon/vCollection/pmEmptyS.png]
    [tab='Vorstellung']
    NurPech
    [tab='meine Tutorials']
    [subtab='C#']

    [subtab='PHP']

    [/tabmenu]

    Meinungen, die ich geäußert habe, sind nicht notwendigerweise meine eigenen. Abweichungen von der deutschen Rechtschreibung unterliegen dem Urheberrecht, dürfen aber unter den Bedingungen von [Blockierte Grafik: http://i.creativecommons.org/l/by-nc-nd/3.0/80x15.png] verwendet werden
  • Wenn man damit was anfangen kann :huh:
    */ // define constants define('INSTALL_SCRIPT_DIR', dirname(__FILE__).'/'); define('SETUP_FILE', INSTALL_SCRIPT_DIR . 'WCFSetup.tar.gz'); define('NO_IMPORTS', true); // set exception handler set_exception_handler('handleException'); // set php error handler set_error_handler('handleError', E_ALL); // define list of needed file $neededFilesPattern = array( '!^setup/.*!', '!^install/files/lib/data/.*!', '!^install/files/lib/acp/package/PackageArchive\.class\.php!', '!^install/files/lib/acp/package/Package\.class\.php!', '!^install/files/lib/system/.*!', '!^install/files/lib/util/.*!', '!^install/files/acp/images/setup.*!', '!^install/lang/.*!', '!^install/packages/.*!'); // define needed functions and classes /** * WCF::handleException() calls the show method on exceptions that implement this interface. * * @package com.woltlab.wcf.system.exception * @author Marcel Werk */ interface PrintableException { public function show(); } // define needed classes // needed are: // SystemException, PrintableException, BasicFileUtil, Tar, File, ZipFile /** * A SystemException is thrown when an unexpected error occurs. * * @package com.woltlab.wcf.system.exception * @author Marcel Werk */ class SystemException extends Exception implements PrintableException { protected $description; protected $information = ''; protected $functions = ''; /** * Creates a new SystemException. * * @param message string error message * @param code integer error code * @param description string description of the error */ public function __construct($message = '', $code = 0, $description = '') { parent::__construct($message, $code); $this->description = $description; } /** * Returns the description of this exception. * * @return string */ public function getDescription() { return $this->description; } /** * Prints this exception. * This method is called by WCF::handleException(). */ public function show() { ?>
    Fatal error: getMessage()); ?>

    getDescription(); ?>
    getCode()) { ?>

    You get more information about the problem in our knowledge base: woltlab.com/help/?code=getCode()); ?>
    Information:

    error message: getMessage()); ?>
    error code: getCode()); ?>
    information; ?> file: getFile()); ?> (getLine(); ?>)
    php version:
    wcf version:
    date:
    request:
    referer:
    Stacktrace:

    getTraceAsString()); ?>

    functions; ?>
    escapeString($string); } /** * Calls the show method on the given exception. * * @param Exception $e */ function handleException(Exception $e) { if ($e instanceof PrintableException) { $e->show(); exit; } print $e; } /** * Catches php errors and throws instead a system exception. * * @param integer $errorNo * @param string $message * @param string $filename * @param integer $lineNo */ function handleError($errorNo, $message, $filename, $lineNo) { if (error_reporting() != 0) { $type = 'error'; switch ($errorNo) { case 2: $type = 'warning'; break; case 8: $type = 'notice'; break; } throw new SystemException('PHP '.$type.' in file '.$filename.' ('.$lineNo.'): '.$message, 0); } } /** * BasicFileUtil contains file-related functions. * * @package com.woltlab.wcf.util * @author Marcel Werk */ class BasicFileUtil { /** * Tries to find the temp folder. * * @return string */ public static function getTempFolder() { // use tmp folder in document root by default if (!empty($_SERVER['DOCUMENT_ROOT'])) { if (strpos($_SERVER['DOCUMENT_ROOT'], 'strato') !== false) { // strato bugfix // create tmp folder in document root automatically if (!@file_exists($_SERVER['DOCUMENT_ROOT'].'/tmp')) { @mkdir($_SERVER['DOCUMENT_ROOT'].'/tmp/', 0777); @chmod($_SERVER['DOCUMENT_ROOT'].'/tmp/', 0777); } } if (@file_exists($_SERVER['DOCUMENT_ROOT'].'/tmp') && @is_writable($_SERVER['DOCUMENT_ROOT'].'/tmp')) { return $_SERVER['DOCUMENT_ROOT'].'/tmp/'; } } if (isset($_ENV['TMP']) && @is_writable($_ENV['TMP'])) { return $_ENV['TMP'] . '/'; } if (isset($_ENV['TEMP']) && @is_writable($_ENV['TEMP'])) { return $_ENV['TEMP'] . '/'; } if (isset($_ENV['TMPDIR']) && @is_writable($_ENV['TMPDIR'])) { return $_ENV['TMPDIR'] . '/'; } // workaround for a bug in php 5.1.2 that returns true for is_writable('/tmp/') with safe_mode = on if (!preg_match('/^5\.1\.2(?![.0-9])/', phpversion())) { if (($path = ini_get('upload_tmp_dir')) && @is_writable($path)) { return $path . '/'; } if (@file_exists('/tmp/') && @is_writable('/tmp/')) { return '/tmp/'; } if (function_exists('session_save_path') && ($path = session_save_path()) && @is_writable($path)) { return $path . '/'; } } $path = INSTALL_SCRIPT_DIR.'tmp/'; if (@file_exists($path) && @is_writable($path)) { return $path; } else { if (ini_get('safe_mode')) $reason = "due to php safe_mode restrictions"; else $reason = "due to an unknown reason"; throw new SystemException('There is no access to the system temporary folder '.$reason.' and no user specific temporary folder exists in '.INSTALL_SCRIPT_DIR.'! This is a misconfiguration of your webserver software! Please create a folder called '.$path.' using your favourite ftp program, make it writable and then retry this installation.', 10000); } } } /** * Opens tar or tar.gz archives. * * Usage: * ------ * $tar = new Tar('archive.tar'); * $contentList = $tar->getContentList(); * foreach ($contentList as $key => $val) { * $tar->extract($key, DESTINATION); * } */ class Tar { protected $archiveName = ''; protected $contentList = array(); protected $opened = false; protected $read = false; protected $file = null; protected $isZipped = false; protected $mode = 'rb'; /** * Creates a new Tar object. * archiveName must be tarball or gzipped tarball * * @param string $archiveName */ public function __construct($archiveName) { $match = array(); if (!is_file($archiveName)) { throw new SystemException("unable to find tar archive '".$archiveName."'", 11002); } $this->archiveName = $archiveName; $this->open(); $this->readContent(); } /** * Destructor of this class, closes tar archive. */ public function __destruct() { $this->close(); } /** * Opens the tar archive and stores filehandle. */ public function open() { if (!$this->opened) { if ($this->isZipped) $this->file = new ZipFile($this->archiveName, $this->mode); else { // test compression $this->file = new File($this->archiveName, $this->mode); if ($this->file->read(2) == "\37\213") { $this->file->close(); $this->isZipped = true; $this->file = new ZipFile($this->archiveName, $this->mode); } else { $this->file->seek(0); } } $this->opened = true; } } /** * Closes the opened file. */ public function close() { if ($this->opened) { $this->file->close(); $this->opened = false; } } /** * Returns the table of contents (TOC) list for this tar archive. * * @return array list of content */ public function getContentList() { if (!$this->read) { $this->open(); $this->readContent(); } return $this->contentList; } /** * Returns an associative array with information * about a specific file in the archive. * * @param mixed $fileindex index or name of the requested file * @return array $fileInfo */ public function getFileInfo($fileIndex) { if (!is_int($fileIndex)) { $fileIndex = $this->getIndexByFilename($fileIndex); } if (!isset($this->contentList[$fileIndex])) { throw new SystemException("Tar: could find file '$index' in archive", 11013); } return $this->contentList[$fileIndex]; } /** * Searchs a file in the tar archive * and returns the numeric fileindex. * Returns false if not found. * * @param string $filename * @return integer index of the requested file */ public function getIndexByFilename($filename) { foreach ($this->contentList as $index => $file) { if ($file['filename'] == $filename) { return $index; } } return false; } /** * Extracts a specific file and returns the content as string. * Returns false if extraction failed. * * @param mixed $index index or name of the requested file * @return string content of the requested file */ public function extractToString($index) { if (!$this->read) { $this->open(); $this->readContent(); } $header = $this->getFileInfo($index); // can not extract a folder if ($header['type'] != 'file') { return false; } // seek to offset $this->file->seek($header['offset']); // read data $content = ''; $n = floor($header['size'] / 512); for($i = 0; $i < $n; $i++) { $content .= $this->file->read(512); } if(($header['size'] % 512) != 0) { $buffer = $this->file->read(512); $content .= substr($buffer, 0, ($header['size'] % 512)); } return $content; } /** * Extracts a specific file and writes it's content * to the file specified with $destination. * * @param mixed $index index or name of the requested file * @param string $destination * @return boolean $success */ public function extract($index, $destination) { if (!$this->read) { $this->open(); $this->readContent(); } $header = $this->getFileInfo($index); // can not extract a folder if ($header['type'] != 'file') { return false; } // seek to offset $this->file->seek($header['offset']); $targetFile = new File($destination); // read data $n = floor($header['size'] / 512); for ($i = 0; $i < $n; $i++) { $content = $this->file->read(512); $targetFile->write($content, 512); } if (($header['size'] % 512) != 0) { $content = $this->file->read(512); $targetFile->write($content, ($header['size'] % 512)); } $targetFile->close(); if (function_exists('apache_get_version') || !@$targetFile->is_writable()) { @$targetFile->chmod(0777); } else { @$targetFile->chmod(0755); } if ($header['mtime']) { @$targetFile->touch($header['mtime']); } // check filesize if (filesize($destination) != $header['size']) { throw new SystemException("Could not untar file '".$header['filename']."' to '".$destination."'. Maybe disk quota exceeded in folder '".dirname($destination)."'.", 11015); } return true; } /** * Reads table of contents (TOC) from tar archive. * This does not get the entire to memory but only parts of it. */ protected function readContent() { $this->contentList = array(); $this->read = true; $i = 0; // Read the 512 bytes header while (strlen($binaryData = $this->file->read(512)
  • du hat doch irgendswo xampp installt ne

    da in dem ordner gehts du da hin xampp/htdocs

    da machst du einfach ein ordner zb. wbb d.h. dein phad heißt jetzt xampp/htdocs/wbb
    in dem Kopierst du einfach die Dateien

    denn öffnest du dein Browser und gibst ein 127.0.0.1/wbb/install.php

    danach installst du es

    du brauchst aber noch ne Datenbank die kannst du per 127.0.0.1/phpmyadmin erreichen

    zu guter letzt schreibst du unter diesem beitrag obs geholfen hat oder nicht

    aber es hat geholfen

    Also viel spass mit dein WBB Forum

    MFG Diavolonew
  • Noch etwas zu der sache mit Skype:
    Skype nutzt die gleichen Ports wie apache. Um das zu verhindern, kannst einfach in die Skype Einstellungen gehen, dann auf Erweitert, Verbindung und dann das häkchen bei "Ports 80 und 443 als Alternative für eingehende Verbindungen verwenden" raus nehmen. Dann musst du nicht immer Skype aus machen um Apache starten zu können.