nickvergessen hat geschrieben:Ist dein phpBB Datenbank Präfix vielleicht nicht phpbb_ ?
Wenn es anders ist, musst du dass in dem Text ändern, also z.B. wird aus
Code: Alles auswählen
INSERT INTO phpbb_acl_options (auth_option, is_global, is_local, founder_only) VALUES ('f_hookup', 0, 1, 0);
mit
forum_ als Präfix:
Code: Alles auswählen
INSERT INTO forum_acl_options (auth_option, is_global, is_local, founder_only) VALUES ('f_hookup', 0, 1, 0);
Ansonsten noch der Hinweis, dass man seine Beiträge nicht im nach hinein editieren sollte und durch "..." ersetzen, sonst haben andere Suchende mit dem gleichen Problem keine Möglichkeit die Lösung zu finden!
Ich habe den Mod installiert und die SQL Befehle gegeben. Leider bekommt jeder User folgende Fehlermeldung, wenn er ein neues Posting schreiben und Absenden möchte. Der db-Präfix ist nicht verändert ( phpbb_)
Folgende SQL-Befehle habe ich per phpMyAdmin gegeben:
INSERT INTO phpbb_acl_options (auth_option, is_global, is_local, founder_only) VALUES ('f_hookup', 0, 1, 0);
CREATE TABLE `phpbb_hookup_available` (
`date_id` int(11) NOT NULL default '0',
`topic_id` int(11) NOT NULL default '0',
`user_id` int(11) NOT NULL default '0',
`available` smallint(6) NOT NULL default '1',
PRIMARY KEY (`date_id`,`user_id`),
KEY `date_id` (`date_id`),
KEY `topic_id` (`topic_id`),
KEY `topic_user_id` (`topic_id`,`user_id`)
);
CREATE TABLE `phpbb_hookup_dates` (
`date_id` int(11) NOT NULL auto_increment,
`topic_id` int(11) NOT NULL default '0',
`date_time` int(11) NOT NULL default '0',
PRIMARY KEY (`date_id`),
KEY `topic_id` (`topic_id`)
);
CREATE TABLE `phpbb_hookup_members` (
`topic_id` int(11) NOT NULL default '0',
`user_id` int(11) NOT NULL default '0',
`notify_status` tinyint(1) NOT NULL default '0',
`comment` VARCHAR( 255 ) NOT NULL DEFAULT '',
PRIMARY KEY (`topic_id`,`user_id`),
KEY `topic_id` (`topic_id`)
);
ALTER TABLE `phpbb_topics` ADD `hookup_enabled` tinyint(1) NOT NULL default '0';
ALTER TABLE `phpbb_topics` ADD `hookup_active_date` int(11) default NULL;
ALTER TABLE `phpbb_topics` ADD `hookup_self_invite` tinyint(1) NOT NULL default '0';
Allgemeiner Fehler
SQL ERROR [ mysql4 ]
Unknown column 'hookup_enabled' in 'field list' [1054]
Beim Laden der Seite ist ein SQL-Fehler aufgetreten. Bitte kontaktiere die Board-Administration, falls dieses Problem fortlaufend auftritt.
Der Admin bekommt folgenden Fehler:
Allgemeiner Fehler
SQL ERROR [ mysql4 ]
Unknown column 'hookup_enabled' in 'field list' [1054]
SQL
INSERT INTO phpbb_posts (forum_id, poster_id, icon_id, poster_ip, post_time, post_approved, enable_bbcode, enable_smilies, enable_magic_url, enable_sig, post_username, post_subject, post_text, post_checksum, post_attachment, hookup_enabled, hookup_self_invite, bbcode_bitfield, bbcode_uid, post_postcount, post_edit_locked, topic_id) VALUES (18, 2, 0, '217.187.215.92', 1325936773, 1, 1, 1, 1, 1, '', 'test', 'test', '098f6bcd4621d373cade4e832627b4f6', 0, 0, 0, '', '2z7xgn6x', 1, 0, 129)
BACKTRACE
FILE: includes/db/mysql.php
LINE: 175
CALL: dbal->sql_error()
FILE: includes/functions_posting.php
LINE: 1991
CALL: dbal_mysql->sql_query()
FILE: posting.php
LINE: 1143
CALL: submit_post()