Fehlermeldung in der viewonline.php

Mod Support

Moderators: BNa, Sekuro, 4seven

Re: Fehlermeldung in der viewonline.php

Postby Tim » 30 Jan 2013, 23:01

Ergibt diese Fehlermeldung:
[phpBB Debug] PHP Notice: in file [ROOT]/viewonline.php on line 361: Undefined index: 621
[phpBB Debug] PHP Notice: in file [ROOT]/viewonline.php on line 361: Undefined index:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4820: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3848)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4822: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3848)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4823: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3848)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4824: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3848)
Tim

Tiptop

Tiptop
 
Posts: 68
Joined: 13 Nov 2009, 23:08
 
Resolution: 1280x1024


Re: Fehlermeldung in der viewonline.php

Postby 4seven » 30 Jan 2013, 23:03

Was n das für n *&$§%& Code :lol:

Moment..

Welche Stelle ist denn das in der Zeile 361, die else if?
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Fehlermeldung in der viewonline.php

Postby Tim » 30 Jan 2013, 23:06

In der 361 ist gar kein else if:
Code: Select all
$location sprintf($user->lang['REPLYING_MESSAGE_TOPIC'], $forum_data[$forum_id]['forum_name'], $topic_titles[$topic_post_ids[$on_page[1]]]);  
Tim

Tiptop

Tiptop
 
Posts: 68
Joined: 13 Nov 2009, 23:08
 
Resolution: 1280x1024


Re: Fehlermeldung in der viewonline.php

Postby 4seven » 30 Jan 2013, 23:08

Das wollen wir ja erst garnicht greifen lassen, deswegen arbeite ich schon vorher

Code: Select all
                                else if (sizeof($on_page_p) && isset($topic_post_ids[$on_page_p[1]]))
                                {

an einem Abfangen, Moment..
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080



Re: Fehlermeldung in der viewonline.php

Postby 4seven » 30 Jan 2013, 23:10

Ist denn die 621 die Topic ID oder die Forum ID? Kannst Du das mal checken
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Fehlermeldung in der viewonline.php

Postby Tim » 30 Jan 2013, 23:12

Das ist die Topic-ID.
Tim

Tiptop

Tiptop
 
Posts: 68
Joined: 13 Nov 2009, 23:08
 
Resolution: 1280x1024


Re: Fehlermeldung in der viewonline.php

Postby 4seven » 30 Jan 2013, 23:14

Finde

Code: Select all
                                else if (sizeof($on_page_p) && isset($topic_post_ids[$on_page_p[1]]))
                                {

Ersetze mit

Code: Select all
                                else if (sizeof($on_page_p) && isset($topic_post_ids[$on_page_p[1]]) && isset($topic_titles[$topic_post_ids[$on_page[1]]]))
                                {

Ansonsten teste ich das mal die Tage selbst. Bei welcher Gelegenheit tritt denn der Fehler auf?
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Fehlermeldung in der viewonline.php

Postby Tim » 30 Jan 2013, 23:17

Leider wieder die Fehlermeldung :(
[phpBB Debug] PHP Notice: in file [ROOT]/viewonline.php on line 364: Undefined offset: 1
[phpBB Debug] PHP Notice: in file [ROOT]/viewonline.php on line 364: Undefined index:
[phpBB Debug] PHP Notice: in file [ROOT]/viewonline.php on line 361: Undefined index: 621
[phpBB Debug] PHP Notice: in file [ROOT]/viewonline.php on line 361: Undefined index:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4820: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3848)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4822: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3848)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4823: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3848)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4824: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3848)


Edit:
Anscheinend tritt es immerauf, wenn jemand auf das Thema mit der ID 621 antwortet.
Tim

Tiptop

Tiptop
 
Posts: 68
Joined: 13 Nov 2009, 23:08
 
Resolution: 1280x1024


Re: Fehlermeldung in der viewonline.php

Postby 4seven » 30 Jan 2013, 23:26

Verlinke mal bitte deine viewonline.php ;)
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Fehlermeldung in der viewonline.php

Postby Tim » 30 Jan 2013, 23:29

Link kommt per PN :)
Tim

Tiptop

Tiptop
 
Posts: 68
Joined: 13 Nov 2009, 23:08
 
Resolution: 1280x1024

PreviousNext

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 5 guests

cron