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?