Page 2 of 2

Re: Gallery block not showing after update

Posted: 19. September 2011 18:57
by bc2005
So then I need to update my board again... :) (I am already starting to sweat)

Re: Gallery block not showing after update

Posted: 19. September 2011 19:02
by archivar
bc2005 wrote:So then I need to update my board again... :) (I am already starting to sweat)
This is a beta version, i.e. the package may still contain errors. Please install this version only on test sites.

Re: Gallery block not showing after update

Posted: 19. September 2011 19:11
by bc2005
Hmm,

For some reason which I still don't understand why, but I never had a testsite. Now I have so many mods installed, i don't have the time and drive to make such a testsite. So I will have to live without the Gallery Block addon for some time...

Hopefully this Beta version will soon be tested enough to bring out a final version. :mrgreen:

Re: Gallery block not showing after update

Posted: 19. September 2011 22:07
by bc2005
Well, suddenly for an unknown reason, I got an another error when I go to the portal:

Code: Select all

[phpBB Debug] PHP Warning: in file /portal.php on line 62: include(./GALLERY_ROOT_PATHincludes/common.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /portal.php on line 62: include(): Failed opening './GALLERY_ROOT_PATHincludes/common.php' for inclusion (include_path='.:/usr/share/php')
[phpBB Debug] PHP Warning: in file /portal.php on line 63: include(./GALLERY_ROOT_PATHincludes/permissions.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /portal.php on line 63: include(): Failed opening './GALLERY_ROOT_PATHincludes/permissions.php' for inclusion (include_path='.:/usr/share/php')
[phpBB Debug] PHP Warning: in file /portal.php on line 65: include(./GALLERY_ROOT_PATHincludes/functions_recent.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /portal.php on line 65: include(): Failed opening './GALLERY_ROOT_PATHincludes/functions_recent.php' for inclusion (include_path='.:/usr/share/php')
Fatal error: Call to undefined function recent_gallery_images() in /customers/bonsaicafe.be/bonsaicafe.be/httpd.www/forum/portal.php on line 81 
After I placed a double slash for lines 62, 63 and 65 in portal.php the error disappeared.

Code: Select all

        {
           $recent_image_addon = true;
//           include($phpbb_root_path . $gallery_root_path . 'includes/common.' . $phpEx);
//           include($phpbb_root_path . $gallery_root_path . 'includes/permissions.' . $phpEx);
        }
//       include($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx);
Not sure if this is a good permanent solution. Maybe someone can explain to me what went wrong?