Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

PHPNUKE7.6Platinum, Gallery2, embedded, blank page, SOLVED

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
fulbrich

Novice
Novice


Joined: Aug 18, 2005
Posts: 28
Location: NRW/Germany

PostPosted: Sun Sep 18, 2005 2:24 pm    Post subject: PHPNUKE7.6Platinum, Gallery2, embedded, blank page, SOLVED Reply with quote

--------------------------------------------------------------------------------
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

My gallery2.config :
PHP: › <?php
$g2embedparams 
= array (
  
'embedphpfile' => 'D:/srv/www/gallery2/',
  
'embedUri' => 'modules.php?name=gallery2',
  
'relativeG2Path' => 'gallery2/',
  
'loginRedirect' => 'modules.php?name=Your_Account',
  
'activeUserId' => '0',
  
'embedPath' => '/',
  
'cookiepath' => '/',
);
$g2mainparams = array (
  
'showSidebar' => NULL,
);
$g2configurationdone 'true'
?>

- 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
Back to top
Offline View user's profile Send private message Visit poster's website
AdBot
   Post subject: PHPNUKE7.6Platinum, Gallery2, embedded, blank page, SOLVED  

Back to top
fulbrich

Novice
Novice


Joined: Aug 18, 2005
Posts: 28
Location: NRW/Germany

PostPosted: Mon Sep 19, 2005 4:30 am    Post subject: Re: PHPNUKE7.6Platinum, Gallery2, embedded, blank page,upg Reply with quote

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
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Tue Sep 20, 2005 6:59 am    Post subject: Re: PHPNUKE7.6Platinum, Gallery2, embedded, blank page, SOLV Reply with quote

yes, thank you, I will add it Smile
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Lexaero

Beginner
Beginner


Joined: Dec 01, 2005
Posts: 1

PostPosted: Sun Dec 11, 2005 5:18 am    Post subject: Re: PHPNUKE7.6Platinum, Gallery2, embedded, blank page, SOLV Reply with quote

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
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Sun Dec 11, 2005 4:50 pm    Post subject: Re: PHPNUKE7.6Platinum, Gallery2, embedded, blank page, SOLV Reply with quote

please email those files to me at dari AT nukedgallery.net so that they may be included in the official package.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
eentonig

Beginner
Beginner


Joined: Feb 17, 2006
Posts: 2

PostPosted: Mon Feb 20, 2006 8:08 am    Post subject: Re: PHPNUKE7.6Platinum, Gallery2, embedded, blank page, SOLV Reply with quote

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."); ?>
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Mon Feb 20, 2006 8:09 am    Post subject: Re: PHPNUKE7.6Platinum, Gallery2, embedded, blank page, SOLV Reply with quote

*grumble*
i thought i put that check in the current version. must've gotten lost in the mix.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Mon Feb 20, 2006 8:50 am    Post subject: Re: PHPNUKE7.6Platinum, Gallery2, embedded, blank page, SOLV Reply with quote

fixed in newest version. that's the only change in 0.5.1, so if you're not having problems, don't worry about downloading it Smile
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
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
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia