Pagina 1 van 1
Foutcode boven pagina
Geplaatst: 29 dec 2012, 12:32
door heeftmeer
- Adres van je forum: http://www.urbexnederland.nl
Event. modificaties op je forum:nvt
Wanneer ontstond het probleem?28/12
phpBB versie:3.0.11
Heb je onlangs iets veranderd aan je forum?geen veranderingen
Wat is het probleem?
Gisteren kregen we een foutmelding boven een onderdeel van het forum Urbex Nederland Group.
Een gedeelte wat alleen voor de echte leden toegankelijk is. De foutmelding zal ik hieronder ook plaatsen.
We krijgen hier support op het forum van David hier wel bekend denk ik. Hij heeft hier naar gekeken en de Debug functie uitgezet en de suggestie gegeven hier ook het probleem te plaatsen. We komen niet echt verder. Nu missen we een tweetal onderwerpen onder Urbex Nederland Group(Belgie en Nederland) en kunnen we ook niet meer terug vinden.
Dit is de melding die boven de pagina stond. Iemand een idee wat we kunnen doen? En waar komt zoiets vandaan?
Code: Selecteer alles
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 250: Undefined offset: 0
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 255: Undefined offset: 0
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 255: Undefined index: forum_topics
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 260: Undefined index: forum_posts
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 263: Undefined index: forum_last_post_time
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 250: Undefined index: forum_id_unapproved_topics
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 250: Undefined index: forum_id_unapproved_topics
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 250: Undefined index: forum_id_unapproved_topics
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 250: Undefined index: forum_id_unapproved_topics
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 250: Undefined index: forum_id_unapproved_topics
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 315: Undefined index: parent_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 333: Undefined index: forum_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 391: Undefined index: forum_type
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 404: Undefined index: forum_status
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 434: Undefined index: forum_type
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 435: Undefined index: forum_type
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 443: Undefined index: parent_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 445: Undefined index: forum_type
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 447: Undefined index: forum_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 466: Undefined index: forum_type
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 468: Undefined index: forum_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 469: Undefined index: forum_status
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 470: Undefined index: display_subforum_list
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 472: Undefined index: forum_options
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 472: Undefined index: forum_type
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 474: Undefined index: forum_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 475: Undefined index: forum_name
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 476: Undefined index: forum_desc
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 476: Undefined index: forum_desc_uid
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 476: Undefined index: forum_desc_bitfield
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 476: Undefined index: forum_desc_options
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 482: Undefined index: forum_image
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 483: Undefined index: forum_image
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 495: Undefined index: forum_id_unapproved_topics
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4721: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4723: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4724: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4725: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Laatste actie van vanmorgen gedaan door David:
Zoals ik al zei heb ik de includes/functions_display.php van jullie forum vergeleken met een origineel bestand het enige verschil is deze wijziging, die nodig is voor de country flag MOD!
Code: Selecteer alles
/**
* Get user country flag
*
* @param int $user_flag the current stored users country flag id
* @param string &$flag_country the country name will be stored here after execution
* @param string &$flag_code the country code will be stored here after execution
* @param string &$flag_img the country flag image as full img tag is stored here after execution
* @param string &$flag_img_src the country flag image source is stored here after execution
*
*/
function get_user_flag($user_flag, &$flag_country, &$flag_code, &$flag_img, &$flag_img_src)
{
global $flags, $config;
if (empty($flags))
{
global $cache;
$flags = $cache->obtain_flags();
}
if (!empty($user_flag))
{
$flag_country = (isset($flags[$user_flag]['country'])) ? $flags[$user_flag]['country'] : '';
$flag_code = (isset($flags[$user_flag]['code'])) ? $flags[$user_flag]['code'] : '';
$flag_text = $flags[$user_flag]['country'] . ' (' . $flags[$user_flag]['code'] . ')';
$flag_img = (!empty($flags[$user_flag]['image'])) ? '<img src="' . $config['flags_path'] . '/' . $flags[$user_flag]['image'] . '" alt="' . $flag_text . '" title="' . $flag_text . '" />' : '';
$flag_img_src = (!empty($flags[$user_flag]['image'])) ? $config['flags_path'] . '/' . $flags[$user_flag]['image'] : '';
}
}
Verder heb ik de cache geleegd en via Google gekeken of ik een antwoord kan vinden. Helaas is mij dat niet gelukt dus het beste is denk ik dat jij of ik even een support topic open, vermeld daarin het probleem, de foutmeldingen en wat ik al heb gedaan Ik hoop dat iemand anders (één van mijn collega’s) dan met een oplossing komt.
Re: Foutcode boven pagina
Geplaatst: 29 dec 2012, 14:17
door marian0810
Zou je alsjeblieft niet willen dubbelposten maar in plaats daarvan je eerdere bericht bewerken? Ik heb je berichten nu samengevoegd.
http://www.phpbb.nl/algemene_voorwaarden#3.5
Re: Foutcode boven pagina
Geplaatst: 29 dec 2012, 16:51
door heeftmeer
ok thanks
Re: Foutcode boven pagina
Geplaatst: 30 dec 2012, 00:57
door Pola
Maak een back-up van de database, installeer de
Support Toolkit en voer de tool Fix Left/Right ID's uit (support tools).
Re: Foutcode boven pagina
Geplaatst: 02 jan 2013, 15:10
door David
Bedankt voor je antwoord Pola
Inmiddels heb ik de STK geïnstalleerd, het was eventjes wachten op phpmyadmin deze wilde niet mee werken tijdens het backuppen! Vandaag de fix uitgevoerd kreeg dit als resultaat:
The left/right IDs have been successfully fixed de foutmelding is in ieder geval al weg. Ik wacht nu op response van de forum eigenaren of het allemaal klopt
Wijziging: Toch nog een fout melding:
Helaas is er na controle toch weer de zelfde foutmelding gevonden, dit keer op een andere locatie:
Code: Selecteer alles
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 250: Undefined offset: 0
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 255: Undefined offset: 0
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 255: Undefined index: forum_topics
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 260: Undefined index: forum_posts
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 263: Undefined index: forum_last_post_time
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 315: Undefined index: parent_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 333: Undefined index: forum_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 391: Undefined index: forum_type
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 404: Undefined index: forum_status
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 434: Undefined index: forum_type
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 435: Undefined index: forum_type
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 443: Undefined index: parent_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 445: Undefined index: forum_type
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 447: Undefined index: forum_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 466: Undefined index: forum_type
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 468: Undefined index: forum_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 469: Undefined index: forum_status
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 470: Undefined index: display_subforum_list
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 472: Undefined index: forum_options
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 472: Undefined index: forum_type
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 474: Undefined index: forum_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 475: Undefined index: forum_name
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 476: Undefined index: forum_desc
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 476: Undefined index: forum_desc_uid
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 476: Undefined index: forum_desc_bitfield
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 476: Undefined index: forum_desc_options
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 482: Undefined index: forum_image
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 483: Undefined index: forum_image
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 495: Undefined index: forum_id_unapproved_topics
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4721: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4723: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4724: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4725: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Dat is op deze link:
http://www.urbexnederland.nl/urbex/viewforum.php?f=111 (alleen toegankelijk voor leden)
Ik dacht misschien moet in de STK nogmaals gebruiken maar dat was niet het geval:
The tool has finished going through all of the left and right IDs and all rows are already correct so no changes were made.
De map
cache legen had helaas ook niet het gewenste effect!
Heeft iemand nog een idee of tip waar ik/wij naar kunnen kijken om van dit probleem af te komen?
Wijziging: Vermoeden
Ik denk een vermoeden te hebben, maar dit vermoeden is te onzeker. Misschien heeft het te maken met de indeling van het forum!
Urbex Nederland Group is een forum, daarin staan forums, België, Duitsland, Luxenburg enz enz In bijvoorbeeld: Duitsland staan weer forums: Hospitaal, Residentie, Defensie enz enz Misschien dat de database moeite heeft met deze indeling? Weet helemaal niet zeker hoe gegrond deze gedachte is, wilde hem alleen even delen

Re: Foutcode boven pagina
Geplaatst: 03 jan 2013, 01:08
door Pola
Hoeveel forums heeft dat forum?
Re: Foutcode boven pagina
Geplaatst: 03 jan 2013, 09:26
door David
Urbex nederland group heeft 12 forumonderdelen, 4 van de 12 forumonderdelen heeft nog eens 7 forumonderdelen.
Re: Foutcode boven pagina
Geplaatst: 03 jan 2013, 11:24
door Pola
Dat aantal zou dus geen probleem moeten geven (12 + (4*7) = 40 forums).
Zou je de volgende query kunnen uitvoeren en mij het resultaat in text kunnen geven:
Code: Selecteer alles
SELECT forum_id, forum_name, parent_id, left_id, right_id FROM `phpbb_forums` LIMIT 0, 60
Re: Foutcode boven pagina
Geplaatst: 03 jan 2013, 14:43
door David
Ik heb de query uitgevoerd en dit was het resultaat
Code: Selecteer alles
forum_id forum_name parent_id left_id right_id
1 Social Media 0 525 536
3 Blogs 1 526 527
4 Nederland Reportages 87 598 613
5 Hospitaal 4 599 600
6 Residentie 4 601 602
7 Urbex nederland group customized 0 5 38
8 België Reportages 87 546 561
9 Frankrijk Reportages 87 578 593
10 Spanje Reportages 87 614 629
278 Beheer Brons 183 243 244
259 Non-urbex 87 648 649
308 Industrie 211 400 401
18 Urbex nederland group 0 39 120
307 Defensie 211 398 399
255 Girlscouts 7 22 27
257 Girlstalk 255 25 26
31 Hospitaal 8 547 548
92 SPAIN Room 93 15 16
26 Even voorstellen - Introduce yourself 0 3 4
24 Social Media accounts 1 528 529
183 Brons 177 122 245
25 Urbex websites 1 530 531
27 Defensie 4 603 604
28 Industrie 4 605 606
29 Transport 4 607 608
30 Amusement 4 609 610
36 Amusement 8 557 558
33 Defensie 8 551 552
46 Industrie 39 573 574
35 Transport 8 555 556
34 Industrie 8 553 554
32 Residentie 8 549 550
37 Overige 4 611 612
38 Overige 8 559 560
39 Duitsland Reportages 87 562 577
40 Defensie 39 567 568
41 Residentie 39 565 566
42 Hospitaal 39 563 564
43 Transport 39 569 570
44 Amusement 39 571 572
45 Overige 39 575 576
47 Hospitaal 9 579 580
48 Residentie 9 581 582
49 Industrie 9 583 584
50 Amusement 9 585 586
51 Defensie 9 587 588
52 Transport 9 589 590
317 Amusement 212 420 421
318 Overige 212 422 423
53 Overige 9 591 592
54 Hospitaal 10 615 616
55 Residentie 10 617 618
56 Amusement 10 625 626
97 Howtoos 80 684 685
57 Transport 10 623 624
58 Industrie 10 619 620
59 Defensie 10 621 622
60 Overige 10 627 628
61 UK Reports 87 632 647
62 Hospitaal 61 633 634
Pagina 2
Code: Selecteer alles
forum_id forum_name parent_id left_id right_id
1 Social Media 0 525 536
3 Blogs 1 526 527
4 Nederland Reportages 87 598 613
5 Hospitaal 4 599 600
6 Residentie 4 601 602
7 Urbex nederland group customized 0 5 38
8 België Reportages 87 546 561
9 Frankrijk Reportages 87 578 593
10 Spanje Reportages 87 614 629
278 Beheer Brons 183 243 244
259 Non-urbex 87 648 649
18 Urbex nederland group 0 39 120
307 Defensie 211 398 399
255 Girlscouts 7 22 27
257 Girlstalk 255 25 26
31 Hospitaal 8 547 548
92 SPAIN Room 93 15 16
26 Even voorstellen - Introduce yourself 0 3 4
24 Social Media accounts 1 528 529
183 Brons 177 122 245
25 Urbex websites 1 530 531
27 Defensie 4 603 604
28 Industrie 4 605 606
29 Transport 4 607 608
30 Amusement 4 609 610
36 Amusement 8 557 558
33 Defensie 8 551 552
46 Industrie 39 573 574
35 Transport 8 555 556
34 Industrie 8 553 554
32 Residentie 8 549 550
37 Overige 4 611 612
38 Overige 8 559 560
39 Duitsland Reportages 87 562 577
40 Defensie 39 567 568
41 Residentie 39 565 566
42 Hospitaal 39 563 564
43 Transport 39 569 570
44 Amusement 39 571 572
45 Overige 39 575 576
47 Hospitaal 9 579 580
48 Residentie 9 581 582
49 Industrie 9 583 584
50 Amusement 9 585 586
51 Defensie 9 587 588
52 Transport 9 589 590
317 Amusement 212 420 421
318 Overige 212 422 423
53 Overige 9 591 592
54 Hospitaal 10 615 616
55 Residentie 10 617 618
56 Amusement 10 625 626
97 Howtoos 80 684 685
57 Transport 10 623 624
58 Industrie 10 619 620
59 Defensie 10 621 622
60 Overige 10 627 628
61 UK Reports 87 632 647
62 Hospitaal 61 633 634
Hopelijk zegt dit iets, mij zegt het vrij weinig! Snap ook niet zo goed waarom er 2 pagina's zijn, terwijl er volgens mij de zelfde info op staat als ik dat zo snel even bekijk
Re: Foutcode boven pagina
Geplaatst: 03 jan 2013, 17:02
door Pola
Ik weet niet waarom de tool aangeeft dat er geen problemen in de left-right ID's meer zitten, want ik die er nog wel de nodige problemen in. Misschien eerst cache legen en dan nog eens de Fix uitvoeren?
Mogelijk is het ook handmatig te doen (door nieuwe forums aan te maken en onderwerpen daarnaartoe te verplaatsen), maar dan moet ik meer weten over de (gewenste) forumstructuur.
Als je in de lijst kijkt in jouw bericht, zou je alle forums tegen moeten komen, maar je zult zien dat er diverse missen (bv. alle "Reportages *" forums).
Re: Foutcode boven pagina
Geplaatst: 03 jan 2013, 18:20
door David
Ik heb een back-up gemaakt, de cache geleegd en nog eens de fix uitgevoerd met de STK! Weer dit als resultaat:
The tool has finished going through all of the left and right IDs and all rows are already correct so no changes were made.
Misschien mag ik je een PB sturen met de inlog gegevens van het forum, zodat je zelf eens kunt kijken? Misschien dat je ons dan een advies kunt geven zodat dit probleem wordt opgelost!!
Re: Foutcode boven pagina
Geplaatst: 03 jan 2013, 18:52
door Pola
Da's goed.
Re: Foutcode boven pagina
Geplaatst: 03 jan 2013, 19:25
door David
Oké, PB is verstuurd!
Re: Foutcode boven pagina
Geplaatst: 04 jan 2013, 01:05
door Pola
Er zijn veel meer dan 60 forums, dus mijn query gaf niet alles weer.
Toch klopte het wel dat er fouten zaten in de lef/right ID's. Deze ID's vormen unieke schakeltjes waarmee alle forums met elkaar verbonden zijn. Doordat een aantal ID's dubbel aangemaakt waren kon niet altijd de juiste informatie getoond worden.
Zo miste er in "Urbex nederland groep" één forum, terwijl de subforums van dat onzichtbare forum wel rechtstreeks te bereiken waren. Ik heb een nieuw forum "Nederland" aangemaakt en de subforums daar geforceerd aan toegewezen via een MySQL query. Toen ik daarna de Fix left/right ID's uitvoerde viel volgens mij wel alles op zijn plaats.
Kunnen jullie nog eens controleren of alles goed staat en alles goed werkt?
Re: Foutcode boven pagina
Geplaatst: 07 jan 2013, 16:37
door heeftmeer
Heel veel dank... gaat weer helemaal goed