Topic Title: Installation issue due to newb

Forum Index » Gallery 2 Integration » Installation issue due to newb
Topic URL: http://www.nukedgallery.net/postt1844.html

AuthorMessage
Post Title: Installation issue due to newb
sneekypeety
Joined: Aug 23, 2005
Posts: 10

Posted: Tue Aug 23, 2005 4:42 pm
Ok... so I just used your most recent integration package for G2. I uploaded all the files, made sure and followed the directions and was able to enter the admin portion. I created the test php file in order to get the actual "Full path to your Gallery2 directory:" and placed it in the gallery2 folder. It returned the result
/home/www/foreverkings.com/modules/gallery2

I entered that information and ensured that everything else was as it should be. I then clicked the "Verify Gallery2 installation andupdate integration settings" button and it goes to a blank white page. If i modify the full directory path and hit the same button i get
"Error : Full path to your Gallery2 directory
You need to install and configure G2 first. Then this field must point to your Gallery2 root folder."
It atleast gives me a warning/error page.

What am I doing wrong?

AuthorMessage
Post Title: Re: Installation issue due to newb
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Tue Aug 23, 2005 6:25 pm
can you paste the contents of your gallery2.cfg file?

AuthorMessage
Post Title: Re: Installation issue due to newb
sneekypeety
Joined: Aug 23, 2005
Posts: 10

Posted: Tue Aug 23, 2005 6:36 pm
Code: › <?php

/*
 * $RCSfile: gallery2.cfg,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 configuration file for PHPNuke.
 * @version $Revision: 1.8 $ $Date: 2005/07/27 18:16:12 $
 * @author Dariush Molavi <dari@nukedgallery.net>
 */


$g2embedparams = array (
  'embedphpfile' => '',
  'embedUri' => '',
  'relativeG2Path' => '',
  'loginRedirect' => '',
  'activeUserId' => '',
  'embedPath' => '',
  'cookiepath' => '',
);
$g2mainparams = array (
  'showSidebar' => NULL,
);
$g2configurationdone = 'false';
?>

AuthorMessage
Post Title: Re: Installation issue due to newb
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Wed Aug 24, 2005 6:35 am
heh. ok then. what were the values that you put into all of the text boxes?

AuthorMessage
Post Title: Re: Installation issue due to newb
sneekypeety
Joined: Aug 23, 2005
Posts: 10

Posted: Wed Aug 24, 2005 9:29 am
I kept them as the default since they actually ended up being the way it should be.


AuthorMessage
Post Title: Re: Installation issue due to newb
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Wed Aug 24, 2005 9:35 am
do you have G2 installed yet?

AuthorMessage
Post Title: Re: Installation issue due to newb
sneekypeety
Joined: Aug 23, 2005
Posts: 10

Posted: Wed Aug 24, 2005 9:50 am
I placed all the files in the directories like the instructions stated. It seemed pretty simple and straight forward.

I made sure that the files and directories had the proper permissions as well.

AuthorMessage
Post Title: Re: Installation issue due to newb
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Wed Aug 24, 2005 10:00 am
but you didn't actually INSTALL it. copying the gallery2 files into the gallery2 directory does not install it. http://www.absolve.com/README.html#installing has installation instructions

AuthorMessage
Post Title: Re: Installation issue due to newb
sneekypeety
Joined: Aug 23, 2005
Posts: 10

Posted: Wed Aug 24, 2005 10:30 am
See... knew it was something simple i missed.. lol.. thanks for the help. I will post results when done Smile.

AuthorMessage
Post Title: Re: Installation issue due to newb
sneekypeety
Joined: Aug 23, 2005
Posts: 10

Posted: Wed Aug 24, 2005 12:04 pm
Wow.. do i suck or what.

Ok.. so i downloaded the full "gallery-2.0-rc-full.zip" file and extracted it. I created a folder on the root directory of the web server named G2.
www.foreverkings.com/g2
I then FTp'd all the files in that archive to the G2 folder.
I then try to open the www.foreverkings.com/g2/install/index.php file in my browser but it just shoots me back to the main homepage of the website.

I really appreciate the help you are providing... sorry for bein such a noob.

AuthorMessage
Post Title: Re: Installation issue due to newb
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Wed Aug 24, 2005 12:26 pm
first, for this to be easily integrated into phpnuke, you should put the gallery2 directory in your phpnuke modules directory.

AuthorMessage
Post Title: Re: Installation issue due to newb
sneekypeety
Joined: Aug 23, 2005
Posts: 10

Posted: Wed Aug 24, 2005 12:31 pm
Ok.. moved the folder and all its files to now reside in the modules folder. I once again attempted to run the index.html located in the install folder however it still kicked me back to the main page. Is there a setting or something keeping me from running that page?

edit.. Nevermind.. got the install page now.. workin through it. Smile

AuthorMessage
Post Title: Re: Installation issue due to newb
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Wed Aug 24, 2005 12:34 pm
do you have any 3rd party addon for security?

AuthorMessage
Post Title: Re: Installation issue due to newb
sneekypeety
Joined: Aug 23, 2005
Posts: 10

Posted: Wed Aug 24, 2005 12:47 pm
No i dont.

I was able to get the install page going however and have thus made it atleast to the addons part. All were activated successfully except
The NetPBM module was installed, but needs configuration to be activated
The URL Rewrite module was installed, but needs configuration to be activated

It says to go to the modules view to configure them however they are not listed.

Also.. when the install is completed... at that time do I transfer your integration package over? Or is that something different?

AuthorMessage
Post Title: Re: Installation issue due to newb
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Wed Aug 24, 2005 12:51 pm
by modules view, it means log into gallery2 as the admin user, then go to the "site admin" link and the "modules" link. this is not your phpnuke modules page.

AuthorMessage
Post Title: Re: Installation issue due to newb
sneekypeety
Joined: Aug 23, 2005
Posts: 10

Posted: Wed Aug 24, 2005 2:28 pm
Ok... got everything installed and for the most part setup. I then used the latest integration package you supplied on the site, placed the files as I did before. I went into the admin cp and was able to use the button "Verify Gallery2 installation and update integration settings" successfuly. I then went to use the "export Phpnuke users to gallery2" and recieved this error

Code: › Failed to create G2 user with extId [48]. Here is the error message from G2:
Error (ERROR_COLLISION)
in modules/core/classes/GalleryUser.class at line 166 (gallerystatus::error)
in modules/core/classes/GalleryEmbed.class at line 300 (galleryuser::create)
in admin/index.php at line 320 (galleryembed::createuser)
in admin/index.php at line 575
in admin/index.php at line 609
in /home/www/foreverkings.com/admin/case/case.gallery2.php at line 55
in /home/www/foreverkings.com/admin.php at line 508


I searched these forums and the closest i could come up with was
http://www.nukedgallery.net/postt1824.html

:-S

AuthorMessage
Post Title: Re: Installation issue due to newb
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Thu Aug 25, 2005 6:19 am
what this means is that the phpnuke user with user_id of 48 is a duplicate of either:
1. another phpnuke user (ie, they both have the same username...it happens, dunno how).
2. either the "guest" or "admin" account that is automatically created by G2.

you can change the username (add a "1" to the end) and re-export. i'm working on a more robust user export method.

AuthorMessage
Post Title: Re: Installation issue due to newb
sneekypeety
Joined: Aug 23, 2005
Posts: 10

Posted: Thu Aug 25, 2005 10:16 am
That worked like a charm. Thanks again for all your help!

AuthorMessage
Post Title: Re: Installation issue due to newb
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Thu Aug 25, 2005 10:22 am
you're more than welcome Smile

All times are GMT - 5 Hours
Powered by PHPNuke and phpBB2 © 2006 phpBB Group