portal white blank page

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:

portal white blank page

Beitrag von Blisk » Do 18.Jun, 2015 07:39

It was long time since I was here looking for help. But I have now problem which I can't solve. I hope someone can help me again. ??
I have upgraded php from 5.3 to 5.4 and my phpbb2 portal doesn't work.
On portal page I get blank white page but when I am on index page or any other page forum works great.
I have also checked errors in logs but there is no errors.
What can be wrong, how can I solve this so I don't need to downgrade to php 5.3.
Thank you!

Benutzeravatar
oxpus
Administrator
Administrator
Beiträge: 29111
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: portal white blank page

Beitrag von oxpus » Do 18.Jun, 2015 08:22

Hello,

which Portal do you use?
Maybe this uses deprecated php functions or have errors which will be not displayed since php 5.4...
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: portal white blank page

Beitrag von Blisk » Do 18.Jun, 2015 08:52

Hi Oxpus.
Long time no see. Thank you for helping.
I use phpbb2 plus, you helped me alot with it years ago.

http://www.povej.net/forum/index.php

maybe it is just some mod or some block on portal which can be deleted out?

Benutzeravatar
oxpus
Administrator
Administrator
Beiträge: 29111
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: portal white blank page

Beitrag von oxpus » Do 18.Jun, 2015 09:03

Yes, long ago...

Hm, I must reactivate my old forum for tests.
Maybe I can find a solution to fix the existing errors.

Phpbb2 plus... Smartor Portal. . Very simple, but maybe not error free...

Please attach your portal.php (as archive e. g. zip) to compare with the original one.
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: portal white blank page

Beitrag von Blisk » Do 18.Jun, 2015 10:19

yes phpbb2 plus and smartor portal.
Here it is.

You don't need to activate your old forum I can give you access to my with admin if you like if that helps?
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.

Benutzeravatar
oxpus
Administrator
Administrator
Beiträge: 29111
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: portal white blank page

Beitrag von oxpus » Do 18.Jun, 2015 11:01

Thx, but i must test the script against php and not via ACP...
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: portal white blank page

Beitrag von Blisk » Do 18.Jun, 2015 12:33

oxpus hat geschrieben:Thx, but i must test the script against php and not via ACP...
ok, thank you than :respect:

Benutzeravatar
oxpus
Administrator
Administrator
Beiträge: 29111
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: portal white blank page

Beitrag von oxpus » Do 18.Jun, 2015 18:34

Here it is the possible solution:

Code: Alles auswählen

#
#-----[ OPEN ]-----
#
album_mod/album_hierarchy_functions.php

#
#-----[ FIND ]-----
#
		album_get_sub_cat_ids($album_data['sub'][$cur_cat_id][$i], &$cats);

#
#-----[ REPLACE WITH ]-----
#
		album_get_sub_cat_ids($album_data['sub'][$cur_cat_id][$i], $cats);

#
#-----[ OPEN ]-----
#
pafiledb/includes/functions.php

#
#-----[ FIND ]-----
#
			$fp = @fsockopen($host, $port, &$errno, &$errstr, 20);

#
#-----[ REPLACE WITH ]-----
#
			$fp = @fsockopen($host, $port, $errno, $errstr, 20);

#
#-----[ OPEN ]-----
#
pafiledb/includes/functions_pafiledb.php

#
#-----[ FIND ]-----
#
			$this->category_nav($this->cat_rowset[$cat_id]['cat_parent'], &$cat_nav);

#
#-----[ REPLACE WITH ]-----
#
			$this->category_nav($this->cat_rowset[$cat_id]['cat_parent'], $cat_nav);

#
#-----[ FIND ]-----
#
			$this->category_nav($this->cat_rowset[$parent_id]['cat_parent'], &$cat_nav);

#
#-----[ REPLACE WITH ]-----
#
			$this->category_nav($this->cat_rowset[$parent_id]['cat_parent'], $cat_nav);

#
#-----[ FIND ]-----
#
		$this->category_nav($this->cat_rowset[$cat_id]['cat_parent'], &$cat_nav);

#
#-----[ REPLACE WITH ]-----
#
		$this->category_nav($this->cat_rowset[$cat_id]['cat_parent'], $cat_nav);


#
#-----[ SAVE/CLOSE ALL FILES ]-----
#
# EoM
The problem is not the portal itself, as I can see, but the album mod and the pafiledb mod. They uses not longer existing function-/method-calls which was switched off in php 5.4.
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: portal white blank page

Beitrag von Blisk » Fr 19.Jun, 2015 08:31

Thank you!
You are great, No.1
It works!

Antworten