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  

Gallery 2 Integration into PHP-Nuke PROBLEM
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
 
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
defestdude

Beginner
Beginner


Joined: Oct 10, 2006
Posts: 8

PostPosted: Thu Oct 12, 2006 10:29 am    Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM Reply with quote

I have installed it correctly.
But when I click on "update integration settings", i see a blank screen.
please help
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM  

Back to top
dari

Site Admin
Site Admin


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

PostPosted: Thu Oct 12, 2006 10:33 am    Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM Reply with quote

no you didn't install it correctly. http://www.hitecprolab.com/phpnuke/modu ... 2/main.php is not found. read the readme. GALLERY 2 MUST BE INSTALLED BEFORE YOU INSTALL THE INTEGRATION.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
defestdude

Beginner
Beginner


Joined: Oct 10, 2006
Posts: 8

PostPosted: Fri Oct 13, 2006 5:50 am    Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM Reply with quote

Please where do I download the Gallery 2 from?
Back to top
Offline View user's profile Send private message
defestdude

Beginner
Beginner


Joined: Oct 10, 2006
Posts: 8

PostPosted: Fri Oct 13, 2006 5:51 am    Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM Reply with quote

Please where do I download the Gallery 2 from?
Back to top
Offline View user's profile Send private message
darkoo

Beginner
Beginner


Joined: Sep 26, 2006
Posts: 1

PostPosted: Sun Oct 15, 2006 10:37 am    Post subject: Reply with quote

Hi all!

I have embeded g2.1.2 in my phpbb 2.0.21...
My dir structure is

for phpbb
---> wwwroot/forum

there i got a file called gallery.php that contains..

Quote: ›
<?

define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);

//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//

$g2_Config['path'] = '../gallery/';

$g2_Config['embedPath'] = '/gallery/';
$g2_Config['g2Uri'] = '/gallery/';
$g2_Config['loginredirect'] = '/gallery/';
$g2_Config['embedUri'] = 'gallery.php';

//print_r($g2_Config);
require_once( $g2_Config['path'] . 'embed.php');
$ret = GalleryEmbed::init(array(
'g2Uri' => $g2_Config['g2Uri'],
'loginRedirect' => $g2_Config['loginredirect'],
'embedUri' => $g2_Config['embedUri'],
'fullInit' => 'false',
'apiVersion' => array(1,0)
));
GalleryCapabilities::set('login',true);

// handle the G2 request
$g2moddata = GalleryEmbed::handleRequest();
// show error message if isDone is not defined
if (!isset($g2moddata['isDone']))
{
print 'isDone is not defined, something very bad must have happened.';
exit;
}
// die if it was a binary data (image) request
if ($g2moddata['isDone'])
{
exit; /* uploads module does this too */
}
if ($ret)
{
print $ret->getAsHtml();
}

$page_title = $lang['Index'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);

echo $g2moddata['bodyHtml'];

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>


For gallery2
----> wwwroot/gallery

My question is how do i alter this to be correct

$g2_Config['path'] = '../gallery/';

$g2_Config['embedPath'] = '/gallery/';
$g2_Config['g2Uri'] = '/gallery/';
$g2_Config['loginredirect'] = '/gallery/';
$g2_Config['embedUri'] = 'gallery.php';


By having it like i have it now everythings seems to work but for me it looks wierd not having ../ for all the paths...!?
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Mon Oct 16, 2006 6:39 am    Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM Reply with quote

that file is not part of the phpBB2 integration. please download the integration from this site.
_________________
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: 6284
Location: Washington Township, NJ, USA

PostPosted: Mon Oct 16, 2006 6:39 am    Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM Reply with quote

defestdude wrote: › Please where do I download the Gallery 2 from?


http://codex.gallery2.org/index.php/Gallery2:Download
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Darsch7

Wizard
Wizard


Joined: Nov 13, 2005
Posts: 79

PostPosted: Tue Oct 24, 2006 3:27 am    Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM Reply with quote

AND WHAT ABOUT NUKE EVO INTEGRATION?
Back to top
Offline View user's profile Send private message
Xirian

Beginner
Beginner


Joined: May 12, 2007
Posts: 2

PostPosted: Sat May 12, 2007 5:44 pm    Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM Reply with quote

I hope someone will help me with this and I will try to be as thorough with my questions as possible.

I have read through this thread, the FAQ, the integration package installation Read Me file and the Gallery2 installation file several times and tried all the fixes that have been mentioned here on this thread, but I am still having issues.

I have Gallery 2 installed in my phpnuke modules section. Everything is showing up in the admin panel of my phpnuke site. I was able to get the members from my phpnuke site exported over to the gallery2. However, I'm still having issues with the following:

When I am in the PHP-Nuke administration panel to setup the gallery, I enter the information that I believe is correct, but this is what I see:

Quote: › Integration Package Status

Your integration package is not up to date.
Latest version available is 0.6.3. Your installed version is
To see what has changed, read the ChangeLog here:
http://www.nukedgallery.net/postp10252.html#10252.
You can download the latest integration package from http://www.nukedgallery.net/downloads-cat11.html.


I enter in the information that I think is correct and click on verify & update and it goes to a page that says update complete. I then click on the link that says return home and all of the fields (that I had just filled in) are blank. However, when I go to activate the module and check the gallery it says "The module has not yet been configured".

Another thing is, I don't know what this means at all (there are two examples, one from the Read Me file and one from my General Administration page in my gallery site:

Read Me File wrote: › 4. Cookie Path - This you can safely leave set at it's default value. But when Gallery is reachable at http://www.example.com/application/modules/gallery2/ and your website homepage is at http://www.example.com/application/, then you have to compare the path /application/modules/gallery2/ with /application/. The cookie path is the part of the paths that is equal, in this case it is '/application/'.

When you are finished, click the "Update integration settings" button. This will save your configuration to your database and will verify that your Gallery 2 installation has been properly set up.


Gallery2 Admin wrote: › If your Gallery is embedded and you leave the following fields empty, then all DownloadItem links (the URLs of the images and other items) in the embedded Gallery have an appended GALLERYSID string in the URL which is a minor security risk when your Gallery users start copy'n'pasting image URLs in forums, guestbooks, etc. The alternative is to set the cookie path. Gallery will then not append the GALLERYSID to the embedded DownloadItem URLs. E.g. when Gallery is reachable at http://www.example.com/application/gallery2/ and the embedding application is at http://www.example.com/application/, then you have to compare the path /application/gallery2/ with /application/. The cookie path is the part of the paths that is equal, in this case it is '/application/'. Most often it is just '/'.

The cookie domain is also only needed for embedded Gallery installs and only if you want to get rid of the GALLERYSID string in the embedded DownloadItem URLs. In most cases, the cookie domain can be left blank. Set it only, if Gallery and the embedding application are only reachable with different subdomains. E.g. when Gallery is at http://photos.example.com/ and the application is at http://www.example.com/, then you have to set the cookie domain example.com (the part of the host string that is common to both, Gallery and the embedding application).

Once you change the cookie settings, all registered users of your Gallery will have to clear their browser cookie cache. If they do not, they will experience login / logout / lost session problems.


If someone could explain what this means, I might be able to figure out how to set the cookies properly.

Also, I thought that this post might help me, but I don't understand what it means:

Matt wrote: › This might not make a lot of sense (i'm tired) but this is what I did to fix the problem:

Delete your nuke_g2config table from your php-nuke db first.

1. Installed Gallery2 to modules/gallery2
2. Went through the config of gallery2
3. Renamed the index.php in modules/gallery2 to index.g2.php
4. 3 commands (ran from where you have the integration packaged):

mv admin /nuke-path/modules/gallery2
mv language /nuke-path/modules/gallery2
cp ./images/* /nuke-path/modules/gallery2/images
cp index.php /nuke-path/modules/gallery2


Then you can access the php-nuke module and the installer will work.

The documentation for this integration package is NOT clear on the install process and it seems that the installed path is vital to this workign correctly.

regards,
Matt

Specifically, I don't understand the portion above that is bold, especially the underlined bold portion.

Here is my site:
My Site [arcanasphere.net]
If you scroll down to the bottom on the left there is the G2 Image Block and you will see that the block is still not configured yet. And I've tried both blocks, the G2 ImageBlock and the G2 Sidebar and neither of them are configured properly and I'm not sure what to do.

Here is a link to My gallery2 [arcanasphere.net]

I also went into myphpadmin and there was nothing called nuke_g2_config or g2_config. So I am really not sure what's going on. This is the last thing that I have to solve before every thing works since the exporting of users worked perfectly.

And lastly, I saw something that said to make sure your g2data has the proper permissions, but there were no numbers listed so that I would know what the correct permissions were or if mine were/are correct. Is there a file that I'm missing or haven't read yet where this information is located?

If you need more information, please let me know.
Please help if you can, I would appreciate it grately!!!

~Xirian~
Back to top
Offline View user's profile Send private message
bigdmeister

Wizard
Wizard


Joined: Sep 03, 2003
Posts: 429

PostPosted: Sat May 12, 2007 6:09 pm    Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM Reply with quote

Try this: http://www.nukedgallery.net/postp20985.html#20985
Back to top
Offline View user's profile Send private message Send e-mail
Xirian

Beginner
Beginner


Joined: May 12, 2007
Posts: 2

PostPosted: Sat May 12, 2007 8:52 pm    Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM Reply with quote

That's exactly what I was missing, the nuke_g2config.

Thank you so very much, that worked perfectly!!!!!!!
Back to top
Offline View user's profile Send private message
smilepak

Beginner
Beginner


Joined: Jul 14, 2007
Posts: 4

PostPosted: Sat Jul 14, 2007 9:44 pm    Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM Reply with quote

Hmm the missing link for me. I didn't know you have to download the actual gallery2 and install it prior to installing the integration pieces from nukedgallery. I will give that a shot to see if i still have the same problem
Back to top
Offline View user's profile Send private message
jnrdavo

Beginner
Beginner


Joined: May 16, 2006
Posts: 2

PostPosted: Mon Jul 23, 2007 12:46 am    Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM Reply with quote

EDITED: Found the solution to this one myself.

I was putting in the www.abc.com address in the database location. I left this blank and all was resolved.

---------------------------------------

I'm loading gallery for the first time. Things are going well so far, I have the gallery and update loaded.

I'm stepping throught the Gallery Installer, all OK but I'm stuck on the db section "5 Database Setup"

I have a db called nuke2 on our website, but am unable to connect with the above installer.

Is there any FAQ's for this section anybody aware of? From the error message at the bottom, it looks like it's trying to add in a domain name by it's self....

--------------------------------------------------------------------
"Warning: mysqli_real_connect() [function.mysqli-real-connect]: (28000/1045): Access denied for user 'admin'@'nullabor.myownserver.net' (using password: YES) in /home/abc/public_html/abc/modules/Gallery2/lib/adodb/drivers/adodb-mysqli.inc.php on line 108
Could't connect :
www.abc.com: Connection error to server 'www.abc.com' with user 'admin'[/b]

-----------------------------------------------------

not sure where the 'nullabor.myownserver.net' is coming in to it...

I have replaced our domain name with www.abc.com for security reasons.

Any help, really appreciated![/quote]
Back to top
Offline View user's profile Send private message
Hectate

Beginner
Beginner


Joined: Aug 05, 2006
Posts: 1

PostPosted: Sun Jul 29, 2007 1:14 am    Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM Reply with quote

I'm having this issue.

This gallery has been installed as a stand alone and in the PHPNuke modules. I don't know what's wrong but when I finish the integration stuff instead of getting "module not configured" error. It's taking me to a 401 page not found.

When I go to the direct links for both installations they work but when I enter the correct information for the locations and go to integrate it the link will route me here: http://www.1stepupentertainment.com/mai ... e=gallery2

And it says not found. Please Help I've been working on this ALL day and it's frustrating me to no end.

I'm running PHP Nuke 8.0 and the latest gallery version.
Back to top
Offline View user's profile Send private message
djrino

Beginner
Beginner


Joined: Feb 27, 2008
Posts: 2

PostPosted: Thu Feb 28, 2008 10:22 am    Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM Reply with quote

Hi to all

but my question is direct to the site admi or one person that explain the correct installation and Not lost in irrelevant questions......

whe have the gallery and the integration to phpnuke..
now i put my gallery on the root of my site like www.mysite.com/gallery2
and install it as normal gallery.

step2) i put the integration files into my phpnuke
afther this i click on Verifi gallery and bla blab..button and??

this is correct?

becouse on the readme i see this:
Quote: › This integration package does not install or configure Gallery 2.1 for you. Before you proceed with this integration, you must install and configure Gallery 2.1. Additionally, Gallery 2.1 must be installed into the "modules" directory of your PHPNuke installation.


but if i put the folder gallery2 into the phpnuke integration and into the module folder of this i Replacing other files that is needed for the integration..
at this point i think that the gallery need to be installed on the root As I said above..
but all is not good explained..

Please is possible to vrite a step by step smoll guide?
like step1 step2 detailed?

If you want i help on this

awaiting reply
Rino
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
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next

 
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