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
User
User
Beiträge: 873
Registriert: Di 21.Sep, 2004 11:06
Kontaktdaten:

blank white page on register

Beitrag von Blisk » Do 03.Nov, 2016 11:39

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
Administrator
Beiträge: 29111
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: blank white page on register

Beitrag von oxpus » Fr 04.Nov, 2016 04:07

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 ICQ, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per ICQ, Email or PM. Each unasked message will be ignored!

Blisk
User
User
Beiträge: 873
Registriert: Di 21.Sep, 2004 11:06
Kontaktdaten:

Re: blank white page on register

Beitrag von Blisk » Mo 07.Nov, 2016 09:25

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
Administrator
Beiträge: 29111
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: blank white page on register

Beitrag von oxpus » Mo 07.Nov, 2016 09:35

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 ICQ, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per ICQ, Email or PM. Each unasked message will be ignored!

Blisk
User
User
Beiträge: 873
Registriert: Di 21.Sep, 2004 11:06
Kontaktdaten:

Re: blank white page on register

Beitrag von Blisk » Mo 07.Nov, 2016 11:57

thank you

Antworten