Seite 1 von 1

shoutboxeinbau - fataler fehler

Verfasst: 30.07.2005 14:03
von tomerl
Hallo,

habe die shoutbox_1.1.5em eingebaut, sie ist jetzt auch vorhanden, aber ich bekomme eine fehlermeldung.

Zu veranlassende Datenbankveränderungen
EasyMOD will now make changes to your database if you command it to. Any SQL with a check next to it will be performed by EM. If you are reinstalling a MOD, you probably do not want to run the SQL a second time, so be careful!

Official Warning: This is a DUMB process. Commands you check off will be executed but EM does NOT check to see if these changes will negatively impact your database. You are STRONGLY advised to backup your database before making any changes. Prior to executing, you are advised to examine each command thoroughly or ask for feedback from experienced MOD installers. Again, if you are reinstalling a MOD, multiple executions of the same SQL lines could adversely effect your database.

Proposed Database Alterations for your mysql4 Database Erlauben

SQL PROCESSING ERROR:
No SQL alterations will be performed. However, you may skip SQL processing, continue installing the MOD, and deal with the SQL manually.

The following error occured:

FATAL ERROR: Unable to parse SQL statement; type 'DIE' unknown.

SQL Line:
FÜHRE DIE DATEI shoutbox_db_update.php AUS DEM FORUMROOT (Hauptverzeichnis Deines Forums) AUS UND LÖSCHE SIE DANACH !!! Beispiel: http://www.domain.de/phpbb2/shoutbox_db_update.php RUN THE FILE shoutbox_db_update.php FROM THE FORUMROOT (main-directory of your forum) AND DELETE IT AFTER THAT !!! Example: http://www.domain.com/phpbb2/shoutbox_db_update.php


Kann leider net gut englisch, also kann mir bitte jemand sagen was ich falsch machte, bzw. was ich tun muss damit es wiederrichtig funktioniert.


Nachdem von Forum weg bin, und kurz nochmal geschaut habe dann, stand dieser Meldung:

Allgemeiner Fehler

Could not get shoutbox stat information

DEBUG MODE

SQL Error : 1146 Tabelle 'deutschland_oesterreichinfodb1.phpbb_shout' existiert nicht

SELECT COUNT(*) as total FROM phpbb_shout

Line : 477
File : shoutbox_max.php





Could not get shoutbox information

DEBUG MODE

SQL Error : 1146 Tabelle 'deutschland_oesterreichinfodb1.phpbb_shout' existiert nicht

SELECT s.*, u.user_allowsmile, u.username FROM phpbb_shout s, phpbb_users u WHERE s.shout_user_id=u.user_id ORDER BY s.shout_session_time DESC LIMIT 0, 20

Line : 98
File : shoutbox_view.php

Verfasst: 30.07.2005 15:00
von tomerl
Weiss niemand etwas von den angemeldeten Usern?

Damit ich das weg kriege oder richtig machen kann.

Frage

Verfasst: 30.07.2005 15:11
von gloriosa
Hallo,
hast Du auch das Datenbank-Update entsprechend dieser zweisprachigen Anweisung
tomerl hat geschrieben:SQL Line:
FÜHRE DIE DATEI shoutbox_db_update.php AUS DEM FORUMROOT (Hauptverzeichnis Deines Forums) AUS UND LÖSCHE SIE DANACH !!! Beispiel: http://www.domain.de/phpbb2/shoutbox_db_update.php RUN THE FILE shoutbox_db_update.php FROM THE FORUMROOT (main-directory of your forum) AND DELETE IT AFTER THAT !!! Example: http://www.domain.com/phpbb2/shoutbox_db_update.php
erledigt ? :o

Verfasst: 30.07.2005 15:13
von tomerl
Ja habe ich gemacht.

Versuch

Verfasst: 30.07.2005 15:37
von gloriosa
Hallo,
da die Tabelle _shout fehlt führe bitte im KB:phpmyadmin diesen SQL-Befehl

Code: Alles auswählen

"CREATE TABLE ".SHOUTBOX_TABLE." (
shout_id MEDIUMINT(8) UNSIGNED NOT NULL auto_increment, 
shout_username VARCHAR(25) NOT NULL, 
shout_user_id MEDIUMINT(8) NOT NULL, 
shout_group_id MEDIUMINT(8) NOT NULL,
shout_session_time INT(11) NOT NULL, 
shout_ip CHAR(8) NOT NULL, 
shout_text TEXT NOT NULL, 
shout_active MEDIUMINT(8) NOT NULL, 
enable_bbcode TINYINT (1) NOT NULL,
enable_html TINYINT (1) NOT NULL,
enable_smilies TINYINT (1) NOT NULL,
enable_sig TINYINT (1) NOT NULL,
shout_bbcode_uid VARCHAR(10) NOT NULL,
INDEX (shout_id)
)",

"INSERT INTO ".CONFIG_TABLE." (config_name, config_value) VALUES ('prune_shouts', '0')",
); 
aus ! :wink:

Verfasst: 30.07.2005 18:55
von kratzer54847
hoi,

da phpmyadmin sicher mit den phpBB-Konstanten nichts anfangen kann,
wäre es wohl besser so:

Code: Alles auswählen

CREATE TABLE phpbb_shoutbox ( 
shout_id MEDIUMINT(8) UNSIGNED NOT NULL auto_increment, 
shout_username VARCHAR(25) NOT NULL, 
shout_user_id MEDIUMINT(8) NOT NULL, 
shout_group_id MEDIUMINT(8) NOT NULL, 
shout_session_time INT(11) NOT NULL, 
shout_ip CHAR(8) NOT NULL, 
shout_text TEXT NOT NULL, 
shout_active MEDIUMINT(8) NOT NULL, 
enable_bbcode TINYINT (1) NOT NULL, 
enable_html TINYINT (1) NOT NULL, 
enable_smilies TINYINT (1) NOT NULL, 
enable_sig TINYINT (1) NOT NULL, 
shout_bbcode_uid VARCHAR(10) NOT NULL, 
INDEX (shout_id) 
); 

INSERT INTO phpbb_config (config_name, config_value) VALUES ('prune_shouts', '0'); 
wobei du im Zweifelsfall phpbb_ mit deinem Datenbank-Prefix ersetzen musst