gallery block causes blank page

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
stevehurst
Active Member
Posts: 15
Joined: 6. April 2009 23:46

gallery block causes blank page

Post by stevehurst »

Your Portal Version: 1.0.4
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge

What have you done before the problem was there?
installed the gallery_block mod 1.4.1

What have you already tryed to solve the problem?
turned on debug

Description and Message
Having installed this mod I get a blank page when going to the forum. I have turned on debig and get the following errors:
[phpBB Debug] PHP Notice: in file /portal/block/gallery.php on line 30: Undefined index: portal_pg_center_rows
[phpBB Debug] PHP Notice: in file /portal/block/gallery.php on line 31: Undefined index: portal_pg_center_columns
[phpBB Debug] PHP Notice: in file /portal/block/gallery.php on line 32: Undefined index: portal_pg_center_crows
[phpBB Debug] PHP Notice: in file /portal/block/gallery.php on line 33: Undefined index: portal_pg_center_contests
[phpBB Debug] PHP Notice: in file /portal/block/gallery.php on line 44: Undefined index: portal_pg_center_mode
[phpBB Debug] PHP Notice: in file /portal/block/gallery.php on line 46: Undefined index: portal_pg_center_display
[phpBB Debug] PHP Notice: in file /portal/block/gallery.php on line 46: Undefined index: portal_pg_center_mode
[phpBB Debug] PHP Notice: in file /portal/block/gallery.php on line 46: Undefined index: portal_pg_center_comments
[phpBB Debug] PHP Notice: in file /portal/block/gallery.php on line 46: Undefined index: portal_pg_center_pgalleries
[phpBB Debug] PHP Notice: in file /portal/block/gallery.php on line 51: Undefined index: portal_pg_small_rows
[phpBB Debug] PHP Notice: in file /portal/block/gallery.php on line 54: Undefined index: portal_pg_small_mode
[phpBB Debug] PHP Notice: in file /portal/block/gallery.php on line 56: Undefined index: portal_pg_small_display
[phpBB Debug] PHP Notice: in file /portal/block/gallery.php on line 56: Undefined index: portal_pg_small_mode
[phpBB Debug] PHP Notice: in file /portal/block/gallery.php on line 56: Undefined index: portal_pg_small_pgalleries
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3854: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3240)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3856: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3240)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3857: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3240)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3858: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3240)




and also
[phpBB Debug] PHP Notice: in file /index.php on line 51: Undefined index: portal_pg_index_rows
[phpBB Debug] PHP Notice: in file /index.php on line 52: Undefined index: portal_pg_index_columns
[phpBB Debug] PHP Notice: in file /index.php on line 53: Undefined index: portal_pg_index_crows
[phpBB Debug] PHP Notice: in file /index.php on line 54: Undefined index: portal_pg_index_contests
[phpBB Debug] PHP Notice: in file /index.php on line 65: Undefined index: portal_pg_index_mode
[phpBB Debug] PHP Notice: in file /index.php on line 67: Undefined index: portal_pg_index_display
[phpBB Debug] PHP Notice: in file /index.php on line 67: Undefined index: portal_pg_index_mode
[phpBB Debug] PHP Notice: in file /index.php on line 67: Undefined index: portal_pg_index_comments
[phpBB Debug] PHP Notice: in file /index.php on line 67: Undefined index: portal_pg_index_pgalleries
User avatar

Christian_N
Former Team Member
Posts: 2266
Joined: 19. January 2008 01:17
phpBB.de User: Christian_N
phpBB.com User: Christian_N
Location: Frankfurt
Contact:

Re: gallery block causes blank page

Post by Christian_N »

Have you:
DIY instructions

Code: Select all

Browse to install/ and run the installer

Clear your cache in the "Administration Control Panel" (ACP) > "General" > "Purge the cache"

Refresh your Styles:
    "Administration Control Panel" (ACP) > "Styles" > "Templates" > each > "refresh"
    "Administration Control Panel" (ACP) > "Styles" > "Themes" > each > "refresh"
    "Administration Control Panel" (ACP) > "Styles" > "Imagesets" > each > "refresh"
:?:
Meine Projekte: Chantals - Fanpage .::. phpBB Projekt
No support via PM, email or messenger!

Topic author
stevehurst
Active Member
Posts: 15
Joined: 6. April 2009 23:46

Re: gallery block causes blank page

Post by stevehurst »

Hi
Yes I have - just done it again to make sure, and still get a blank page when going to Forum index.

It seems to have something to do with the PortalView 100Rc2 Mod because if i remove it, then the Forum displays ok.

Is there a sequence in which i should install these Mods? This is the order in which i have created the website so far:

phpbb3 3.0.5
Board3 104
PortalView 100RC2
php_Gallery 1.0.3
Gallery_block 1.4.1
Applied the fix http://www.flying-bits.org/viewtopic.php?f=67&t=1995 as I also get this error

Steve
User avatar

Christian_N
Former Team Member
Posts: 2266
Joined: 19. January 2008 01:17
phpBB.de User: Christian_N
phpBB.com User: Christian_N
Location: Frankfurt
Contact:

Re: gallery block causes blank page

Post by Christian_N »

stevehurst wrote:It seems to have something to do with the PortalView 100Rc2 Mod because if i remove it, then the Forum displays ok.
Ok you have installed the PortalView MOD 1.0.0RC2

Please make this edit:
Open: portal\block\additional_block.php

Find:

Code: Select all

include($phpbb_root_path . 'portal/block/gallery.' . $phpEx);
Replace with:

Code: Select all

   if (!function_exists('recent_gallery_images'))
   {
      include($phpbb_root_path . 'portal/block/gallery.' . $phpEx);
   }
This should fix the error.
Meine Projekte: Chantals - Fanpage .::. phpBB Projekt
No support via PM, email or messenger!

Topic author
stevehurst
Active Member
Posts: 15
Joined: 6. April 2009 23:46

Re: gallery block causes blank page

Post by stevehurst »

ok that does seem to have fixed the forum page - thanks for that, however, I still get the following error when I first go into the Portal:

[phpBB Debug] PHP Notice: in file /gallery/includes/functions_version_check.php on line 36: include(mods/phpbb_gallery_version.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /gallery/includes/functions_version_check.php on line 36: include() [function.include]: Failed opening 'mods/phpbb_gallery_version.php' for inclusion (include_path='.')
[phpBB Debug] PHP Notice: in file /gallery/includes/functions_version_check.php on line 39: call_user_func(phpbb_gallery_version::version) [function.call-user-func]: First argument is expected to be a valid callback
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3854: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3240)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3856: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3240)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3857: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3240)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3858: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3240)

It only seems to happen the first time, and I have applied the fix as suggested at: http://www.flying-bits.org/viewtopic.php?f=67&t=1995
Locked

Return to “board3 Portal 1.0.x - English Support”