config problem bei skriptforum "minibb"

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • config problem bei skriptforum "minibb"

    hi, gezgut!

    ich habe probleme bei der testinstallation von dem fertigen Skript-Forum "miniBB"

    da ich anfängerin bin finde ich den fehler nicht!

    ich habe auf meinem lokalen rechner phptriad laufen und andere fertige skripte wie eine
    videodatenbank, konnte ich normal zum laufen bringen!

    mein mysqlusername lautet: apfel und mysqlpasswort: orange


    die "manual" anweisung von"miniBB" lautet wie folgend:
    .........................
    Config: 1st step

    Begin installation of miniBB is very simple. You need to create some database on your SQL server (f.e., "miniBB") with this command:

    create database miniBB;

    Then unpack your minibb zip package to some place on your server. Find the file called "setup_options.php". This is your main setup file. All engine is based on it.

    Open options file with some plain text editor on your computer. We recommend Metapad, or simply Notepad. You will find a bunch of option variables, but it is not necessary to edit all of them in this 1st step. We will edit only necessary, and explain the others later. Let's begin.

    $DB = 'mysql'; Can be 'mysql' or 'postgresql' (read more about PostgreSQL in module's readme).
    $DBhost='localhost'; Host name for your SQL setup. Most likely localhost.
    $DBname='miniBB'; Your SQL database that you have just created.
    $DBusr='USERNAME'; Your SQL username.
    $DBpwd='PASSWORD'; Your SQL password.
    $admin_usr = 'ADMIN_USR'; Administrator login, is inserted in database also as first engine username. You can change it anytime and update your settings from admin panel (see below). On symbols, there is only one limitation setting admin name: it can not contain "|" sign. This sign is used in board's engine, if you use it, you won't be able to login as admin.
    $admin_pwd = 'ADMIN_PWD'; Admin password.
    $admin_email = 'admin@email'; Admin email (also used as "from" email for all emailings on the forum). Must be correct email. In preferences, you can choose to not show it public (see below), but here you MUST enter it correctly.
    $bb_admin = 'bb_admin.php'; Admin panel FILENAME - we strongly recommend you to rename default bb_admin.php (administrative file) in a root directory to something else, for security reasons.
    $Tf='forums'; $Tp='posts'; $Tt='topics'; $Tu='users'; $Ts='send_mails'; $Tb='banned'; Database table names - if you have one database and the same tables inside, probably you'll need to change them to something like 'minibb_users', 'minibb_topics' etc. for avoiding duplicates. If it is possible to make separate database for forums, it is more better - and you won't need to edit these variables.
    You need set correctly mysql user name, password, host and database. According to user privileges, it must be SUPER-USER, which can also create tables (if you will create them from the web like via install from browser).

    So, stop now if you're done. We did enough for setup. Next step - you need to create structure of your database.

    Install

    In the main directory, You will find _install.php file and, for mySQL for example, _install_mysql.sql file. "Sql" file is actually your dump. If you have capabilities to make database from shell, you can run it and insert all tables manually - but we do not recommend it, this is only for real professionals who are knowing what they do.

    Run from your browser the _install.php file, it will create all tables according to their names in setup_options.php and insert all necessary values. Usually, it takes 1-2 seconds.

    First screen will welcome you to enter setup. Click on "continue". If everything you typed in options file is correct, script will make all necessary tables described in .sql file. If not, pay attention to your config.

    After "OK", you can start building your community! Easy, isn't it? But first, DELETE the _install.php file, also as ALL .sql files from directory. We don't need them anymore.
    ..............................


    also habe ich mit phpmyadmin eine neue datebase angelegt und die "_install_mysql.sql" -Datei ausgeführt um alle tabellen anzulegen.

    die configurationsdatei "setup_options.php" habe ich dann wie folgt konfiguriert:
    ..............................
    <?php
    /*
    setup_options.php : basic options for miniBB.
    Copyright (C) 2001-2002 miniBB.net.

    This program 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 2 of the License, or (at your option) any later version.

    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 General Public License for more details.

    You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    */

    $DB='mysql';

    $DBhost='localhost';
    $DBname='miniBB';
    $DBusr='apfel';
    $DBpwd='orange';

    $admin_usr='admin';
    $admin_pwd='BBadmin';
    $admin_email='email@domain';

    $bb_admin='bb_admin.php';

    $lang='eng';
    $skin='default';
    $main_url='http://myserver.com/forums';
    $sitename='miniBB forums';
    $emailadmin=0;
    $emailusers=1;
    $userRegName='_A-Za-z0-9 ';
    $l_sepr = '·';

    $post_text_maxlength=10240;
    $post_word_maxlength=70;
    $topic_max_length=50;
    $viewmaxtopic=30;
    $viewlastdiscussions=30;
    $viewmaxreplys=30;
    $viewmaxsearch=30;
    $viewpagelim=50;
    $viewTopicsIfOnlyOneForum=0;

    $protectWholeForum=0;
    $protectWholeForumPwd='pwd';

    $postRange=60;

    $dateFormat='MM DD, YYYY<br>T';

    $cookiedomain='';
    $cookiename='miniBBsite';
    $cookiepath='';
    $cookiesecure=FALSE;
    $cookie_expires=90000;
    $cookie_renew=1800;
    $cookielang_exp=2592000;

    /* New options for miniBB 1.1 */
    $Tf='minibb_forums';
    $Tp='minibb_posts';
    $Tt='minibb_topics';
    $Tu='minibb_users';
    $Ts='minibb_send_mails';
    $Tb='minibb_banned';

    $disallowNames=array('Anonymous');

    /* New options for miniBB 1.2 */
    $sortingTopics=0;
    $topStats=4;
    $genEmailDisable=0;

    /* New options for miniBB 1.3 */
    $defDays=365;
    $userUnlock=0;

    /* New options for miniBB 1.5 */
    $emailadmposts=0;
    $useredit=86400;
    ?>
    ..............................

    ich habe also nur geändert mysqlusername "apfel" und mysqlpasswort: "orange" , alles andere gelassen!

    beim ausführen der _install.php -Datei erhalte ich dann folgende Fehlermeldung:
    ................................
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Apache/1.3.23 Server at localhost Port 80
    ...................................

    ich kann denn fehler nicht finden, was muß ich vielleicht sonst noch ändern in der "setup_options.php"!
    habe ich eine einstellung vergessen zu ändern?

    dankeschön für jede hilfe
    grüssli elena

  • #2
    das sieht mir nicht nach nem php-problem aus, sondern nach nem einfachen installationsproblem.

    Daher bitte nach OT *VERSCHIEB*

    Kommentar

    Lädt...
    X