blank white page on register

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Antworten
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

blank white page on register

Beitrag von Blisk »

Hi
I hope you can help me again with this one, nobody else can't.
On my old forum registering new users doesn't work and I didn't notice quite long.
I think that happends after I update php from 5.3 to 5.4
It is white blank page and no errors in http log
http://www.povej.net/forum/profile.php?mode=register

here are files if you can look, please.
files
Benutzeravatar
oxpus
Administrator
Beiträge: 28737
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: blank white page on register

Beitrag von oxpus »

After a first look:
Find in usercp_register.php the line

Code: Alles auswählen

	display_avatar_gallery($mode, $avatar_category, $user_id, $email, $current_email, $coppa, $username, $email, &$new_password, &$cur_password, $password_confirm, $icq, $aim, $msn, $skype, $yim, $website, $location, $user_flag, $occupation, $interests, $signature, $viewemail, $notifypm, $allow_mass_pm, $games_block_pm, $popup_pm, $slidemenue, $notifyreply, $attachsig, $setbm, $allowhtml, $allowbbcode, $allowsmilies, $allowviewonline, $user_style, $user_lang, $user_timezone, $rankset, $user_dateformat, $user_allow_mass_email, $user_absence_mode, $user_absence, $user_absence_text, $birthday, $gender, $userdata['session_id']);
and replace it with this one:

Code: Alles auswählen

	display_avatar_gallery($mode, $avatar_category, $user_id, $email, $current_email, $coppa, $username, $email, $new_password, $cur_password, $password_confirm, $icq, $aim, $msn, $skype, $yim, $website, $location, $user_flag, $occupation, $interests, $signature, $viewemail, $notifypm, $allow_mass_pm, $games_block_pm, $popup_pm, $slidemenue, $notifyreply, $attachsig, $setbm, $allowhtml, $allowbbcode, $allowsmilies, $allowviewonline, $user_style, $user_lang, $user_timezone, $rankset, $user_dateformat, $user_allow_mass_email, $user_absence_mode, $user_absence, $user_absence_text, $birthday, $gender, $userdata['session_id']);
Using & to get back the changed values from a variable was removed in php so this may be the error on this script.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Re: blank white page on register

Beitrag von Blisk »

Man you are really great, it works. Thank you again.
:respect:

So this & is removed from code and that means all files which have & in it, I should remove this charter & from files?

I also noticed that someone abusing kontakt.php for sending me spam.
How to prevent that script to send spam? is it possible to add captcha to that form like it is on register page?
kontakt.php
Benutzeravatar
oxpus
Administrator
Beiträge: 28737
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: blank white page on register

Beitrag von oxpus »

Blisk hat geschrieben:Man you are really great, it works. Thank you again.
:respect:

So this & is removed from code and that means all files which have & in it, I should remove this charter & from files
No. Only in function Carl. Not general all &!

And for the Kontakt form please open a new topic...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Re: blank white page on register

Beitrag von Blisk »

thank you
Antworten