Re: [3.3] Sporadische php-Fehler
Verfasst: 18.11.2024 13:41
Alles klar, habs, merci. Ich melde mich heute Abend dazu.
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
[Sat Nov 30 11:15:55.014720 2024] [proxy_fcgi:error] [pid 628712:tid 140555367380736] [client 52.167.144.183:11624] AH01071:
Got error 'PHP message: PHP Warning: Undefined array key "user_type" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/phpbb/auth/auth.php on line 424;
PHP message: PHP Warning: Undefined array key "user_type" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 3978;
PHP message: PHP Warning: Undefined array key "user_type" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/phpbb/notification/method/board.php on line 147;
PHP message: PHP Warning: Undefined array key "user_form_salt" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 2014;
PHP message: PHP Warning: Undefined array key "user_form_salt" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 2043;
PHP message: PHP Warning: Undefined array key "avatar" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 3723;
PHP message: PHP Warning: Undefined array key "avatar_width" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 3724;
PHP message: PHP Warning: Undefined array key "avatar_height" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 3725;
PHP message: PHP Warning: Undefined array key "avatar_type" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 3730;
PHP message: PHP Warning: Undefined array key "username" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 4030;
PHP message: PHP Warning: Undefined array key "user_colour" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 4030;
PHP message: PHP Warning: Undefined array key "username" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 4031;
PHP message: PHP Warning: Undefined array key "user_colour" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 4031;
PHP message: PHP Warning: Undefined array key "user_new_privmsg" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 4039;
PHP message: PHP Warning: Undefined array key "user_unread_privmsg" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 4040;
PHP message: PHP Warning: Undefined array key "user_new" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 4041;
PHP message: PHP Warning: Undefined array key "username" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 4064;
PHP message: PHP Warning: Undefined array key "user_colour" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 4064;
PHP message: PHP Warning: Undefined array key "user_perm_from" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 4078;
PHP message: PHP Warning: Undefined array key "username" in /var/www/vhosts/nummer.web303.dogado.net/verzeichnis/phpBB3/includes/functions.php on line 4088'
Ich kann es mir ehrlich gesagt nicht vorstellen, denn du hast ja jetzt einen Umzug gemacht, also hast du die Tabellen exportiert und wieder importiert. Hätte die DB einen Schuss gehabt, hätte es sicher Fehler beim Export gegeben und der Import hätte vermutlich auch nicht fehlerfrei geklappt.guenniguenzelsen hat geschrieben: 30.11.2024 12:01 Ist es möglich, dass meine Datenbank oder ein Teil einer Tabelle fehlerhaft ist?
Diese Info hast du bisher noch nicht hier gegeben, oder? Denn wenn das ursprünglich mal eine andere Forensoft war und schon damals bei der Konvertierung nicht alles sauber vonstatten ging und die Probleme daher rühren, dann suchen wir hier an den völlig falschen Stellen. Aber das ist nur eine Vermutung von mir, denn bisher sah es so aus, als ob die DB nicht reagieren würde. Wenn aber aufgrund einer unsauberen Konvertierung ungültige Daten an den Server geschickt werden, dann wäre das mal eine weitere potentielle Fehlerquelle.guenniguenzelsen hat geschrieben: 30.11.2024 12:01 in 2021 hat jemand aus dem SQL-Dump des Vorgängerforums (andere Forensoftware) das phpBB-Forum aufgesetzt. Diese Datenübernahme war wohl teils händisch. Genaues zum Vorgehen meines Vorgängers weiß ich allerdings nicht.
Code: Alles auswählen
-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Erstellungszeit: 30. Nov 2024 um 13:52
-- Server-Version: 10.4.32-MariaDB
-- PHP-Version: 8.3.11
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Datenbank: `testforum`
--
dverse zeilen insert befehler die sind aber irrelevant
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `phpbb_users`
--
CREATE TABLE `phpbb_users` (
`user_id` int(10) UNSIGNED NOT NULL,
`user_type` tinyint(2) NOT NULL DEFAULT 0,
`group_id` mediumint(8) UNSIGNED NOT NULL DEFAULT 3,
`user_permissions` mediumtext NOT NULL,
`user_perm_from` mediumint(8) UNSIGNED NOT NULL DEFAULT 0,
`user_ip` varchar(40) NOT NULL DEFAULT '',
`user_regdate` int(11) UNSIGNED NOT NULL DEFAULT 0,
`username` varchar(255) NOT NULL DEFAULT '',
`username_clean` varchar(255) NOT NULL DEFAULT '',
`user_password` varchar(255) NOT NULL DEFAULT '',
`user_passchg` int(11) UNSIGNED NOT NULL DEFAULT 0,
`user_email` varchar(100) NOT NULL DEFAULT '',
`user_birthday` varchar(10) NOT NULL DEFAULT '',
`user_lastvisit` int(11) UNSIGNED NOT NULL DEFAULT 0,
`user_last_active` int(11) UNSIGNED NOT NULL DEFAULT 0,
`user_lastmark` int(11) UNSIGNED NOT NULL DEFAULT 0,
`user_lastpost_time` int(11) UNSIGNED NOT NULL DEFAULT 0,
`user_lastpage` varchar(200) NOT NULL DEFAULT '',
`user_last_confirm_key` varchar(10) NOT NULL DEFAULT '',
`user_last_search` int(11) UNSIGNED NOT NULL DEFAULT 0,
`user_warnings` tinyint(4) NOT NULL DEFAULT 0,
`user_last_warning` int(11) UNSIGNED NOT NULL DEFAULT 0,
`user_login_attempts` tinyint(4) NOT NULL DEFAULT 0,
`user_inactive_reason` tinyint(2) NOT NULL DEFAULT 0,
`user_inactive_time` int(11) UNSIGNED NOT NULL DEFAULT 0,
`user_posts` mediumint(8) UNSIGNED NOT NULL DEFAULT 0,
`user_lang` varchar(30) NOT NULL DEFAULT '',
`user_timezone` varchar(100) NOT NULL DEFAULT '',
`user_dateformat` varchar(64) NOT NULL DEFAULT 'd M Y H:i',
`user_style` mediumint(8) UNSIGNED NOT NULL DEFAULT 0,
`user_rank` mediumint(8) UNSIGNED NOT NULL DEFAULT 0,
`user_colour` varchar(6) NOT NULL DEFAULT '',
`user_new_privmsg` int(4) NOT NULL DEFAULT 0,
`user_unread_privmsg` int(4) NOT NULL DEFAULT 0,
`user_last_privmsg` int(11) UNSIGNED NOT NULL DEFAULT 0,
`user_message_rules` tinyint(1) UNSIGNED NOT NULL DEFAULT 0,
`user_full_folder` int(11) NOT NULL DEFAULT -3,
`user_emailtime` int(11) UNSIGNED NOT NULL DEFAULT 0,
`user_topic_show_days` smallint(4) UNSIGNED NOT NULL DEFAULT 0,
`user_topic_sortby_type` varchar(1) NOT NULL DEFAULT 't',
`user_topic_sortby_dir` varchar(1) NOT NULL DEFAULT 'd',
`user_post_show_days` smallint(4) UNSIGNED NOT NULL DEFAULT 0,
`user_post_sortby_type` varchar(1) NOT NULL DEFAULT 't',
`user_post_sortby_dir` varchar(1) NOT NULL DEFAULT 'a',
`user_notify` tinyint(1) UNSIGNED NOT NULL DEFAULT 0,
`user_notify_pm` tinyint(1) UNSIGNED NOT NULL DEFAULT 1,
`user_notify_type` tinyint(4) NOT NULL DEFAULT 0,
`user_allow_pm` tinyint(1) UNSIGNED NOT NULL DEFAULT 1,
`user_allow_viewonline` tinyint(1) UNSIGNED NOT NULL DEFAULT 1,
`user_allow_viewemail` tinyint(1) UNSIGNED NOT NULL DEFAULT 1,
`user_allow_massemail` tinyint(1) UNSIGNED NOT NULL DEFAULT 1,
`user_options` int(11) UNSIGNED NOT NULL DEFAULT 230271,
`user_avatar` varchar(255) NOT NULL DEFAULT '',
`user_avatar_type` varchar(255) NOT NULL DEFAULT '',
`user_avatar_width` smallint(4) UNSIGNED NOT NULL DEFAULT 0,
`user_avatar_height` smallint(4) UNSIGNED NOT NULL DEFAULT 0,
`user_sig` mediumtext NOT NULL,
`user_sig_bbcode_uid` varchar(8) NOT NULL DEFAULT '',
`user_sig_bbcode_bitfield` varchar(255) NOT NULL DEFAULT '',
`user_jabber` varchar(255) NOT NULL DEFAULT '',
`user_actkey` varchar(32) NOT NULL DEFAULT '',
`user_actkey_expiration` int(11) UNSIGNED NOT NULL DEFAULT 0,
`reset_token` varchar(64) NOT NULL DEFAULT '',
`reset_token_expiration` int(11) UNSIGNED NOT NULL DEFAULT 0,
`user_newpasswd` varchar(255) NOT NULL DEFAULT '',
`user_form_salt` varchar(32) NOT NULL DEFAULT '',
`user_new` tinyint(1) UNSIGNED NOT NULL DEFAULT 1,
`user_reminded` tinyint(4) NOT NULL DEFAULT 0,
`user_reminded_time` int(11) UNSIGNED NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
--
-- Daten für Tabelle `phpbb_users`
--
--
-- Indizes der exportierten Tabellen
--
--
-- Indizes für die Tabelle `phpbb_users`
--
ALTER TABLE `phpbb_users`
ADD PRIMARY KEY (`user_id`),
ADD UNIQUE KEY `username_clean` (`username_clean`),
ADD KEY `user_birthday` (`user_birthday`),
ADD KEY `user_type` (`user_type`),
ADD KEY `user_email` (`user_email`);
--
-- AUTO_INCREMENT für exportierte Tabellen
--
--
-- AUTO_INCREMENT für Tabelle `phpbb_users`
--
ALTER TABLE `phpbb_users`
MODIFY `user_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
tinyint(2) NOT NULL DEFAULT 0,