Admin Bereich nicht erreichbar, weisser screen

phpBB 3.0 hat sein "End of Life" erreicht. Eine Neu-Installation wird nicht mehr unterstützt.
minni12
Mitglied
Beiträge: 62
Registriert: 24.10.2008 22:39
Wohnort: Bochum
Kontaktdaten:

Re: Admin Bereich nicht erreichbar, weisser screen

Beitrag von minni12 »

Hi.

Ich hatte jetzt noch mal neu installiert, dann Suchindex aufgebaut und dann kam:

Code: Alles auswählen

SQL ERROR [ mysqli ]

The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay [1104]
Jetzt habe ich auf der Kommandozeile max_join_size auf 100 000 000 gesetzt. Antwort des mysql war, kommando ok, 1 Warnung. Dann habe ich auch per Kommandozeile per SSH big_select=1 gesetzt. Die Fehlermeldung bleibt. Scheint also nicht so wirklich geholfen zu haben. Dann hab ich im Netz gelesen, ich soll einfach den Suchindex im ACP wieder löschen. Gute Idee, wenn man ihn denn aufrufen kann. :lol:

Kann man diese Befehle nicht im PhpMyAdmin eingeben? Da ist doch auch ein Eingabefenster für SQL-Befehle?
Benutzeravatar
Miriam
Mitglied
Beiträge: 12310
Registriert: 13.10.2004 07:18
Kontaktdaten:

Re: Admin Bereich nicht erreichbar, weisser screen

Beitrag von Miriam »

Hast du denn testweise das versucht? KB:debugmode und geschaut, ob es noch mehr Informationen gibt?
Gruss, Miriam.
Ich schmeiß' alles hin und...
... lasse es liegen
minni12
Mitglied
Beiträge: 62
Registriert: 24.10.2008 22:39
Wohnort: Bochum
Kontaktdaten:

Re: Admin Bereich nicht erreichbar, weisser screen

Beitrag von minni12 »

Hi.

Debug Modus ist on. Es kamen auch noch mehr Hinweise auf der Seite, habe ich aber nicht kopiert. Mach ich heute Abend, wenn ich es bis dahin nicht auf die Reihe bekomme. Habe gestern noch die Tabellen für den Suchindex geleert, und die Tabellen _*posts umbenannt. Fehler blieb aber, und es war dann schon zu spät zum weitermachen.
minni12
Mitglied
Beiträge: 62
Registriert: 24.10.2008 22:39
Wohnort: Bochum
Kontaktdaten:

Re: Admin Bereich nicht erreichbar, weisser screen

Beitrag von minni12 »

Hi.

Jetzt erstmal zur Erklärung, was ich gemacht habe. Ein User in einem anderen Forum hatte folgende Methode erfolgreich gewählt:

Code: Alles auswählen

ch habe heute mein Backup bekommen, zuvor hatte ich schon alles soweit auf den Standard zurück gesetzt, MODs deaktiviert usw., um möglichst viele Konflikte zu vermeiden.

Ich habe zudem auf die Methode zurück gegriffen, minimalistisch nur die unbedingt notwendigen Tabellen zu importieren (alles andere bringt phpBB ja als Standard mit, muss man nur nach konfigurieren dann) bzw. erst das Backup komplett aufspielen, dann das notwendige raus exportieren, DB leeren und phpBB nochmal neu aufsetzen und dann das bereinigte Backup einspielen.

Das waren konkret folgende Tabellen

_acl_groups
_acl_options
_acl_roles
_acl_roles_data
_acl_users
_banlist
_forums
_forums_access
_forums_track
_forums_watch
_groups
_poll_options
_poll_votes
_posts
_posts_myisam
_privmsgs
_privmsgs_folder
_privmsgs_rules
_privmsgs_to
_profile_fields
_profile_fields_data
_profile_fields_lang
_profile_lang
_ranks
_topics
_topics_posted
_topics_track
_topics_watch
_user_group
_users
Das habe ich soweit auch gemacht. Mit einem Unterschied, ich hatte eine Version 3.12 mit allen MODs die ich brauche. Das Backup von Siteboard war von einer Version 3.07. Wenn ich jetzt die Tabellen so umbaue wie oben beschrieben kommt im Forum:

Code: Alles auswählen

Allgemeiner Fehler
SQL ERROR [ mysqli ]

The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay [1104]

SQL

SELECT t.topic_id, t.topic_last_post_time, tt.mark_time as topic_mark_time, ft.mark_time as forum_mark_time FROM (phpbb_001topics t) LEFT JOIN phpbb_001topics_track tt ON (tt.user_id = 2 AND t.topic_id = tt.topic_id) LEFT JOIN phpbb_001forums_track ft ON (ft.user_id = 2 AND t.forum_id = ft.forum_id) WHERE t.topic_last_post_time > 0 AND ( (tt.mark_time IS NOT NULL AND t.topic_last_post_time > tt.mark_time) OR (tt.mark_time IS NULL AND ft.mark_time IS NOT NULL AND t.topic_last_post_time > ft.mark_time) OR (tt.mark_time IS NULL AND ft.mark_time IS NULL) ) AND t.topic_moved_id = 0 ORDER BY t.topic_id DESC LIMIT 1001

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysqli.php
LINE: 189
CALL: dbal->sql_error()

FILE: [ROOT]/includes/db/mysqli.php
LINE: 231
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/includes/db/dbal.php
LINE: 170
CALL: dbal_mysqli->_sql_query_limit()

FILE: [ROOT]/includes/functions.php
LINE: 1864
CALL: dbal->sql_query_limit()

FILE: [ROOT]/portal/modules/portal_user_menu.php
LINE: 97
CALL: get_unread_topics()

FILE: [ROOT]/portal.php
LINE: 109
CALL: portal_user_menu_module->get_template_side()
Leider kann man/ich hier keine Dateien einfügen, deswegen dieser komische Kopie meiner Variablen in der Datenbank.

Code: Alles auswählen

Druckansicht - phpMyAdmin 4.0.5https://www.strato.de/apps/phpmyadmin/strato-app/myadmin4/sql.php...

SQL-Abfrageergebnis
Host:rdbms
Datenbank:DB1482530
Erstellungszeit:09. Nov 2013 um 19:58
Erstellt von:phpMyAdmin 4.0.5 / MySQL 5.5.31-log
SQL-Befehl:show variables;
DatensÄtze:314
Variable_nameValue
auto_increment_increment1
auto_increment_offset1
autocommitON
automatic_sp_privilegesON
back_log50
basedir/opt/RZmysql5
big_tablesOFF
binlog_cache_size32768
binlog_direct_non_transactional_updatesOFF
binlog_formatSTATEMENT
binlog_stmt_cache_size32768
bulk_insert_buffer_size8388608
character_set_clientutf8
character_set_connectionutf8
character_set_databaselatin1
character_set_filesystembinary
character_set_resultsutf8
character_set_serverlatin1
character_set_systemutf8
character_sets_dir/opt/RZmysql5/share/charsets/
collation_connectionutf8_general_ci
collation_databaselatin1_german1_ci
collation_serverlatin1_german1_ci
completion_typeNO_CHAIN
concurrent_insertAUTO
connect_timeout10
datadir/mnt/mysqld/mysqld_287/data/
date_format%Y-%m-%d
datetime_format%Y-%m-%d %H:%i:%s
default_storage_engineMyISAM
default_week_format0
delay_key_writeON
delayed_insert_limit100
delayed_insert_timeout10
delayed_queue_size1000
div_precision_increment4
engine_condition_pushdownON
error_count0
event_schedulerDISABLED
expire_logs_days0
external_user
flushOFF
flush_time0
foreign_key_checksON
ft_boolean_syntax+ -><()~*:""&|
ft_max_word_len84
ft_min_word_len4
ft_query_expansion_limit20
ft_stopword_file(built-in)
general_logOFF
general_log_file/mysql/log/mysqld_287.log
group_concat_max_len1024
have_compressYES
1 von 609.11.2013 19:59
 Druckansicht - phpMyAdmin 4.0.5https://www.strato.de/apps/phpmyadmin/strato-app/myadmin4/sql.php...

Variable_nameValue
have_cryptYES
have_csvYES
have_dynamic_loadingYES
have_geometryYES
have_innodbYES
have_ndbclusterNO
have_opensslNO
have_partitioningNO
have_profilingYES
have_query_cacheYES
have_rtree_keysYES
have_sslNO
have_symlinkYES
hostnameammeline
identity0
ignore_builtin_innodbOFF
init_connect
init_file
init_slave
innodb_adaptive_flushingON
innodb_adaptive_hash_indexON
innodb_additional_mem_pool_size8388608
innodb_autoextend_increment8
innodb_autoinc_lock_mode1
innodb_buffer_pool_instances1
innodb_buffer_pool_size1572864000
innodb_change_bufferingall
innodb_checksumsON
innodb_commit_concurrency0
innodb_concurrency_tickets500
innodb_data_file_path./ibdata1:100M:autoextend
innodb_data_home_dir/mnt/mysqld/mysqld_287/innodb
innodb_doublewriteOFF
innodb_fast_shutdown1
innodb_file_formatAntelope
innodb_file_format_checkON
innodb_file_format_maxAntelope
innodb_file_per_tableON
innodb_flush_log_at_trx_commit1
innodb_flush_method
innodb_force_load_corruptedOFF
innodb_force_recovery0
innodb_io_capacity200
innodb_large_prefixOFF
innodb_lock_wait_timeout50
innodb_locks_unsafe_for_binlogOFF
innodb_log_buffer_size8388608
Variable_nameValue
innodb_log_file_size134217728
innodb_log_files_in_group2
innodb_log_group_home_dir./
innodb_max_dirty_pages_pct75
innodb_max_purge_lag0
innodb_mirrored_log_groups1
innodb_old_blocks_pct37
innodb_old_blocks_time0
innodb_open_files300
innodb_print_all_deadlocksOFF
innodb_purge_batch_size20
innodb_purge_threads0
innodb_random_read_aheadOFF
2 von 609.11.2013 19:59
 Druckansicht - phpMyAdmin 4.0.5https://www.strato.de/apps/phpmyadmin/strato-app/myadmin4/sql.php...

Variable_nameValue
innodb_rdonlyOFF
innodb_read_ahead_threshold56
innodb_read_io_threads4
innodb_replication_delay0
innodb_rollback_on_timeoutOFF
innodb_rollback_segments128
innodb_spin_wait_delay6
innodb_stats_methodnulls_equal
innodb_stats_on_metadataON
innodb_stats_sample_pages8
innodb_strict_modeOFF
innodb_support_xaON
innodb_sync_spin_loops30
innodb_table_locksON
innodb_thread_concurrency0
innodb_thread_sleep_delay10000
innodb_use_native_aioOFF
innodb_use_sys_mallocON
innodb_version5.5.31
innodb_write_io_threads4
insert_id0
interactive_timeout28800
join_buffer_size131072
keep_files_on_createOFF
key_buffer_size536870912
key_cache_age_threshold300
key_cache_block_size1024
key_cache_division_limit100
large_files_supportON
large_page_size0
large_pagesOFF
last_insert_id0
lc_messagesen_US
lc_messages_dir/opt/RZmysql5/share/
lc_time_namesen_US
licenseGPL
local_infileON
lock_wait_timeout31536000
locked_in_memoryOFF
logOFF
log_binOFF
log_bin_trust_function_creatorsOFF
log_error
log_outputFILE
log_queries_not_using_indexesON
log_slave_updatesOFF
log_slow_queriesON
log_warnings1
long_query_time2.000000
low_priority_updatesOFF
lower_case_file_systemOFF
lower_case_table_names0
max_allowed_packet104857600
max_binlog_cache_size18446744073709547520
max_binlog_size1073741824
max_binlog_stmt_cache_size18446744073709547520
max_connect_errors999999999
max_connections1000
max_delayed_threads20
max_error_count64
max_heap_table_size67108864
3 von 609.11.2013 19:59
 Druckansicht - phpMyAdmin 4.0.5https://www.strato.de/apps/phpmyadmin/strato-app/myadmin4/sql.php...

Variable_nameValue
max_insert_delayed_threads20
max_join_size1073741824
max_length_for_sort_data1024
max_long_data_size104857600
max_prepared_stmt_count16382
max_relay_log_size0
max_seeks_for_key4294967295
max_sort_length1024
max_sp_recursion_depth0
max_tmp_tables32
max_user_connections200
max_write_lock_count4294967295
metadata_locks_cache_size1024
min_examined_row_limit0
multi_range_count256
myisam_data_pointer_size6
myisam_max_sort_file_size2146435072
myisam_mmap_size4294967295
myisam_recover_optionsFORCE
myisam_repair_threads1
myisam_sort_buffer_size8388608
myisam_stats_methodnulls_unequal
myisam_use_mmapOFF
net_buffer_length16384
net_read_timeout30
net_retry_count10
Variable_nameValue
net_write_timeout600
newOFF
oldOFF
old_alter_tableOFF
old_passwordsON
open_files_limit32768
optimizer_prune_level1
optimizer_search_depth62
optimizer_switchindex_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on
pid_file/mnt/mysqld/mysqld_287/data/ammeline.287.pid
plugin_dir/opt/RZmysql5/lib/plugin/
port3687
preload_buffer_size32768
profilingOFF
profiling_history_size15
protocol_version10
proxy_user
pseudo_slave_modeOFF
pseudo_thread_id39161346
query_alloc_block_size8192
query_cache_limit1048576
query_cache_min_res_unit4096
query_cache_size268435456
query_cache_typeOFF
query_cache_wlock_invalidateOFF
query_prealloc_size8192
rand_seed10
rand_seed20
range_alloc_block_size4096
read_buffer_size131072
read_onlyOFF
read_rnd_buffer_size262144
relay_log
relay_log_index
4 von 609.11.2013 19:59
 Druckansicht - phpMyAdmin 4.0.5https://www.strato.de/apps/phpmyadmin/strato-app/myadmin4/sql.php...

Variable_nameValue
relay_log_info_filerelay-log.info
relay_log_purgeON
relay_log_recoveryOFF
relay_log_space_limit0
report_host
report_password
report_port3687
report_user
rpl_recovery_rank0
secure_authOFF
secure_file_priv
server_id0
skip_external_lockingON
skip_name_resolveOFF
skip_networkingOFF
skip_show_databaseOFF
slave_compressed_protocolOFF
slave_exec_modeSTRICT
slave_load_tmpdir/mysql/tmpdir
slave_max_allowed_packet1073741824
slave_net_timeout3600
slave_skip_errorsOFF
slave_transaction_retries10
slave_type_conversions
slow_launch_time2
slow_query_logON
slow_query_log_file/mysql/log/mysqld_287_slow.log
socket/tmp/mysql.287.sock
sort_buffer_size2097152
sql_auto_is_nullOFF
sql_big_selectsOFF
sql_big_tablesOFF
sql_buffer_resultOFF
sql_log_binON
sql_log_offOFF
sql_low_priority_updatesOFF
sql_max_join_size1073741824
sql_mode
sql_notesON
sql_quote_show_createON
sql_safe_updatesOFF
sql_select_limit18446744073709551615
sql_slave_skip_counter0
sql_warningsOFF
ssl_ca
ssl_capath
ssl_cert
ssl_cipher
ssl_key
storage_engineMyISAM
stored_program_cache256
sync_binlog0
sync_frmON
sync_master_info0
sync_relay_log0
sync_relay_log_info0
system_time_zoneMEST
table_definition_cache400
table_open_cache10000
thread_cache_size30
thread_concurrency10
5 von 609.11.2013 19:59
 Druckansicht - phpMyAdmin 4.0.5https://www.strato.de/apps/phpmyadmin/strato-app/myadmin4/sql.php...

Variable_nameValue
thread_handlingone-thread-per-connection
thread_stack196608
time_format%H:%i:%s
time_zoneSYSTEM
timed_mutexesOFF
Variable_nameValue
timestamp1384023529
tmp_table_size67108864
tmpdir/mysql/tmpdir
transaction_alloc_block_size8192
transaction_prealloc_size4096
tx_isolationREPEATABLE-READ
unique_checksON
updatable_views_with_limitYES
version5.5.31-log
version_commentSource distribution
version_compile_machinei386
version_compile_ossolaris10
wait_timeout28800
warning_count0
6 von 609.11.2013 19:59
So, nach langem Text, was kann ich machen? Bei dem anderen Kollegen hat das wunderbar geklappt. Warum nicht bei mir? Sind die Tabellen in der 3.07 anders als in der 3.12 und ich muss das so machen wie er?
Zuletzt geändert von Crizzo am 09.11.2013 21:34, insgesamt 1-mal geändert.
Grund: Code-Tag ergänzt
minni12
Mitglied
Beiträge: 62
Registriert: 24.10.2008 22:39
Wohnort: Bochum
Kontaktdaten:

Re: Admin Bereich nicht erreichbar, weisser screen

Beitrag von minni12 »

HI.

...und diese Fehlermeldung kommt im Adminteil nach dem leeren des Cach

Code: Alles auswählen

Allgemeiner Fehler
SQL ERROR [ mysqli ]

The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay [1104]

SQL

SELECT a.forum_id, ug.user_id, g.group_id FROM (phpbb_001acl_options o CROSS JOIN phpbb_001user_group ug CROSS JOIN phpbb_001groups g CROSS JOIN phpbb_001acl_groups a) LEFT JOIN phpbb_001acl_roles_data r ON (a.auth_role_id = r.role_id) WHERE (o.auth_option_id = a.auth_option_id OR o.auth_option_id = r.auth_option_id) AND ((a.auth_setting = 0 AND r.auth_setting IS NULL) OR r.auth_setting = 0) AND a.group_id = ug.group_id AND g.group_id = ug.group_id AND NOT (ug.group_leader = 1 AND g.group_skip_auth = 1) AND ug.user_id IN (53, 2) AND ug.user_pending = 0 AND o.auth_option LIKE 'm\\_%'

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysqli.php
LINE: 189
CALL: dbal->sql_error()

FILE: [ROOT]/includes/functions_admin.php
LINE: 2375
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/includes/acp/acp_main.php
LINE: 344
CALL: cache_moderators()

FILE: [ROOT]/includes/functions_module.php
LINE: 507
CALL: acp_main->main()

FILE: [ROOT]/adm/index.php
LINE: 74
CALL: p_master->load_active()
...und zu dieser Fehlerbeschreibung mit dem max_join fand ich die Erklärung, man solle vor den select die Anweisung big_select=1 setzen. Aber wie und wo, und wieso bei mir?

Kann man eigentlich die DB reorganisieren oder sowas? Nicht das durch meine Umbenennungen Beziehungen verloren gehen?
Zuletzt geändert von Crizzo am 09.11.2013 21:33, insgesamt 1-mal geändert.
Grund: Code-Tag ergänzt
Benutzeravatar
Miriam
Mitglied
Beiträge: 12310
Registriert: 13.10.2004 07:18
Kontaktdaten:

Re: Admin Bereich nicht erreichbar, weisser screen

Beitrag von Miriam »

// Ich bin kein Moderator, aber Du solltest dringend auf die Einhaltung des Knigge achten. Insbesondere, was das Thema Mehrfach-Posts und Code-Zeilen-Anzahl betrifft.

Zum Thema:
Hast Du denn diese Query auch mal in Deinem KB:phpmyadmin ausgeführt:
  • Code: Alles auswählen

    SELECT t.topic_id, t.topic_last_post_time, tt.mark_time as topic_mark_time, ft.mark_time as forum_mark_time FROM (phpbb_001topics t) LEFT JOIN phpbb_001topics_track tt ON (tt.user_id = 2 AND t.topic_id = tt.topic_id) LEFT JOIN phpbb_001forums_track ft ON (ft.user_id = 2 AND t.forum_id = ft.forum_id) WHERE t.topic_last_post_time > 0 AND ( (tt.mark_time IS NOT NULL AND t.topic_last_post_time > tt.mark_time) OR (tt.mark_time IS NULL AND ft.mark_time IS NOT NULL AND t.topic_last_post_time > ft.mark_time) OR (tt.mark_time IS NULL AND ft.mark_time IS NULL) ) AND t.topic_moved_id = 0 ORDER BY t.topic_id DESC LIMIT 1001
Lies auch: KB_pma_faq.
Gruss, Miriam.
Ich schmeiß' alles hin und...
... lasse es liegen
minni12
Mitglied
Beiträge: 62
Registriert: 24.10.2008 22:39
Wohnort: Bochum
Kontaktdaten:

Re: Admin Bereich nicht erreichbar, weisser screen

Beitrag von minni12 »

Hi.

Hab aus Versehen auf Code anstatt auf quote gedrückt. Der Text der Variablen ist nun mal leider so lang, kann es nicht ändern.

Hab mal eine Version 3.07 installiert, lokal. Da klappt die Methode wie oben beschrieben. Es scheint also so zu sein, dass die Struktur der DB sich unter 3.12 geändert hat gegenüber 3.07. Somit kann es wohl nicht klappen mit der 3.12 als Anfangsversion. Werde später sehen was passiert, wenn ich das update und online setze. Die Server bei Strato sind ja anders gestrickt als mein eigener unter Xampp
Benutzeravatar
Crizzo
Administrator
Administrator
Beiträge: 12113
Registriert: 19.05.2005 21:45
Kontaktdaten:

Moderative Information

Beitrag von Crizzo »

Hi,
minni12 hat geschrieben:Hab aus Versehen auf Code anstatt auf quote gedrückt. Der Text der Variablen ist nun mal leider so lang, kann es nicht ändern.
Ich zitiere für dich mal die Knigge:
Code sollte immer mit dem Code-BBCode gepostet werden und darf nicht länger als 50 Zeilen sein. Für längeren Code kann der Pastebin verwendet werden.
Ergo: langen Code in die Pastebin packen und hier den Eintrag verlinken. Zudem:
Wenn der letzte Beitrag in einem Thema von dir stammt, darfst du frühestens nach 24 Stunden erneut antworten.
Siehe: https://www.phpbb.de/kb/knigge

Bitte in Zukunft beachten!

Grüße,
Blackhawk
minni12
Mitglied
Beiträge: 62
Registriert: 24.10.2008 22:39
Wohnort: Bochum
Kontaktdaten:

Re: Admin Bereich nicht erreichbar, weisser screen

Beitrag von minni12 »

Miriam hat geschrieben:// Ich bin kein Moderator, aber Du solltest dringend auf die Einhaltung des Knigge achten. Insbesondere, was das Thema Mehrfach-Posts und Code-Zeilen-Anzahl betrifft.

Zum Thema:
Hast Du denn diese Query auch mal in Deinem KB:phpmyadmin ausgeführt:
Hi.

Nachdem ich nun die 3.07 bei Strato installiert habe, ist wieder der gleiche Fehler. Ich habe dann diesen query gemacht und es kommt der gleiche Fehler:
#1104 - The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay
Wie kriege ich es hin, diesen Befehl set sql_big_selects=1 auszuführen? Die phpmyadmin-ausgabe von Strato nimmt den Befehl zwar an, verändert aber nichts. Auf der Kommandozeile per SSH das gleiche. Kann man das irgendwo in den Core einsetzen?
Gesperrt

Zurück zu „[3.0.x] Installation, Update und Konvertierung“