Joined: Aug 18, 2005 Posts: 28 Location: NRW/Germany
Posted: Sun Sep 18, 2005 2:24 pm Post subject: PHPNUKE7.6Platinum, Gallery2, embedded, blank page, SOLVED
--------------------------------------------------------------------------------
Technical details
OS : Windows XP
Webserver : Apache 2.0.54 (Win32)
PHP : 5.0.4
Gallery 2.0 FINAL
Integration Pack : 16.September 2005
--------------------------------------------------------------------------------
Hello,
I have a "blank page" problem after I upgraded from PHP-Nuke 7.5 to PHP Nuke 7.6 Platinum. The integration worked fine with my old installation and "stand alone" but not embedded with my PHP Nuke 7.6.
What I had :
PHP NUKE 7.5, Gallery2 RC2, Integration Pack
What I did :
- Installed new PHP Nuke 7.6 Platinum
- Gallery 2 works standalone
- Installed Integration Pack
- exported Users
- Installed "Random Picture" -> works, shows pictures
- embedded "Gallery 2" shows blank screen
What I did after that :
- Updated Gallery 2 to Gallery 2 Final (1.0.0) -> works standalone
- Installed Integration Pack 16. September 2005
- Configured gallery2.config
- Exported Userids
- Installed "Random Picture" -> works, shows pictures
- embedded Gallery 2 shows blank screen
These are my Installation paths :
D:\srv\www\gallery2 Where I installed Gallery2
D:\srv\www\Nuke76Platinum\html The DocumentRoot of my Apache
http\\ulbrich.homelinux.com\gallery2 To call Gallery2 as standalone (ALIAS : gallery2)
D:\srv\www\Nuke76Platinum\html\modules\gallery2 Integration Pack
I am a little bit surprised that the random photo works, but the embedded gallery is not shown. There are no entries in the Webserver error.log.
Can anyone give me a hint ? Is it possible, that I have to clean the userids in the gallery database first... because I use now a different Nuke Installation ? _________________ Auf Wiedersehen,
Frank
Last edited by fulbrich on Mon Sep 19, 2005 6:21 am; edited 2 times in total
Joined: Aug 18, 2005 Posts: 28 Location: NRW/Germany
Posted: Mon Sep 19, 2005 4:30 am Post subject: Re: PHPNUKE7.6Platinum, Gallery2, embedded, blank page,upg
I found out what was going wrong.
The embedded gallery support works, if I select ENGLISH for my portal language.
The embedded gallery support does not work, if I select GERMAN for my portal language.
There is no lang-german.php file in ...NukePlatinum76\html\modules\gallery2\language ....
After adding a lang-german.php file, embedded gallery works with german portal language and the "blank page" shows pictures.
This is my translation for lang-german.php
PHP: › <?php
/*
* $RCSfile: lang-english.php,v $
*
* Gallery - a web based photo album viewer and editor
* Copyright (C) 2000-2005 Bharat Mediratta
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/**
* Gallery 2 language file for PHPNuke.
* @version $Revision: 1.3 $ $Date: 2005/07/27 18:16:14 $
* @author Dariush Molavi <dari@nukedgallery.net>
*/
define("_G2_EMBED_PHP_FILE","embed.php");
define("_G2_CONFIGURATION_NOT_DONE","Das Modul wurde noch nicht konfiguriert.");
?>
Maybe Dari can add this file to his integration package ? _________________ Auf Wiedersehen,
Frank
Last edited by fulbrich on Tue Sep 20, 2005 8:15 am; edited 1 time in total
Posted: Sun Dec 11, 2005 5:18 am Post subject: Re: PHPNUKE7.6Platinum, Gallery2, embedded, blank page, SOLV
From Russia Users.
Blank page has resolved by adding the language files (lang-russian.php) for admin block and common gallery.
If you plan to add this files, I will send it to you
Posted: Mon Feb 20, 2006 8:08 am Post subject: Re: PHPNUKE7.6Platinum, Gallery2, embedded, blank page, SOLV
I created a Dutch version. Mailed it to you as well, but for the impatient.
Works great now. Although I found it a bit silly that a stupid message like this causes so much troubles. Can't you build in a check to see if that language file exists. And if not, redirect to a default?
PHP: › <?php /*
* $RCSfile: lang-dutch.php,v $
*
* Gallery - a web based photo album viewer and editor
* Copyright (C) 2000-2005 Bharat Mediratta
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/**
* Gallery 2 language file for PHPNuke.
* @version $Revision: 1.2 $ $Date: 2005/07/27 18:16:14 $
* @author Dariush Molavi <dari@nukedgallery.net>
*/
define("_G2_EMBED_PHP_FILE","embed.php");
define("_G2_CONFIGURATION_NOT_DONE","Deze module is nog niet geconfigureerd."); ?>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum