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  

[Solved] New user integration help

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

Beginner
Beginner


Joined: Jul 08, 2005
Posts: 14

PostPosted: Sun Jul 10, 2005 12:01 pm    Post subject: [Solved] New user integration help Reply with quote

Ok, I'm lost. I have installed Gallery2 and now I'm trying to get the integration package installed. Here are my install paths.

gallery2 installed at: http://www.heartlandvtxriders.com/nuke/ ... /gallery2/

album directory at:
http://www.heartlandvtxriders.com/g2data/

Integration pack uploaded to the same directory as gallery2.

I am lost as to what information needs to be entered on the Gallery2 module administration page. Everything I have tried results in the following error:

Error : Gallery2 Full filepath
You need to install and configure G2 first.Then this field must point to your Gallery2 root folder.

My gallery2.cfg currently looks like this

Code: › <?
$g2embedparams = array (
  'embedphpfile' => '/nuke/modules/gallery2',
  'embedUri' => 'http://www.heartlandvtxriders.com/nuke/modules.php?name=gallery2',
  'relativeG2Path' => '/modules/gallery2/',
  'loginRedirect' => 'modules.php?name=Your_Account',
  'activeUserId' => '0',
);
$g2mainparams = array (
  'showSidebar' => 'true',
);
$g2configurationdone = 'true'; ?>


and my embed.php like this

Code: › <?php
/*
 * $RCSfile: embed.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.
 */
/**
 * Access point for external application in which Gallery is embedded.
 * See docs/EMBEDDING and modules/core/classes/GalleryEmbed.class for more details.
 *
 * @package GalleryMain
 * @version $Revision: 1.43 $ $Date: 2005/05/05 04:12:53 $
 * @author Alan Harder <alan.harder@sun.com>
 */

define('G2_EMBED', 1);
require(dirname(__FILE__) . '/main.php');
require(dirname(__FILE__) . '/modules/core/classes/GalleryEmbed.class');

?>


I am running phpnuke 7.7 (if that matters)


Last edited by bladerunnervtx on Tue Jul 12, 2005 3:34 pm; edited 1 time in total
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: [Solved] New user integration help  

Back to top
dari

Site Admin
Site Admin


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

PostPosted: Mon Jul 11, 2005 8:15 am    Post subject: Re: New user integration help Reply with quote

the full filepath needs to be the COMPLETE file path, ie:
/home/myuser/public_html/nuke/modules/gallery2/

your relative G2 path should be /nuke/modules/gallery2/
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
bladerunnervtx

Beginner
Beginner


Joined: Jul 08, 2005
Posts: 14

PostPosted: Tue Jul 12, 2005 3:41 pm    Post subject: Re: [Solved] New user integration help Reply with quote

Thanks for the help Dari
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » 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 HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

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