Topic Title: Having some trouble intergrating!

Forum Index » Gallery 2 Integration » Having some trouble intergrating!
Topic URL: http://www.nukedgallery.net/postt1677.html

AuthorMessage
Post Title: Having some trouble intergrating!
eratic
Joined: Sep 11, 2004
Posts: 24

Posted: Mon Jun 06, 2005 1:39 pm
OK, i've tryed all those other gallery modules for Nuke and am just fed up with them, have had so many problems, and could never understna dhow to get Gallery to work till now, so take it easy, this is my first time Smile

Anywho, my website http://www.royalmilitia.com/wow is my site in which I want to embed the Gallery into. I have installed Gallery2 in the directory http://www.royalmilitia.com/wow/modules/gallery2/ and I believe everything is working just perfect! Yay, first part done.

Now for the intergration...How abouts do I do it? I have downloaded the Gallery2 Integration Pack and dont know what to really do with it. So being me, I just uploaded it to the main /dir and it seems like im getting the modules to be recognized through the admin panel. So, it looks correct so far.

When I go into the Gallery2 Module Administration area I fill out the informaton as shown:


Gallery2 Full filepath: /wow/modules/gallery2/
Embed URI: http://royalmilitia.com/wow/modules.php?name=gallery2
Relative G2 path: /gallery2/
Login redirect: modules.php?name=Your_Account
Active User ID: 0


Then I click the Update Embed Options and get
Code: ›    
Error : Gallery2 Full filepath
You need to install and configure G2 first.Then this field must point to your Gallery2 root folder.


Now what is going on...? Can anyone help me, if any more details are needed I will do my best to help. Or if someone wants to contact me on MSN that would be appreciated, sluggerdan100@hotmail.com

Thanks guys!

AuthorMessage
Post Title: Re: Having some trouble intergrating!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Jun 06, 2005 4:04 pm
make sure that you actually configured G2 via the G2 setup wizard, in addition to the embedding setup you did...

AuthorMessage
Post Title: Re: Having some trouble intergrating!
eratic
Joined: Sep 11, 2004
Posts: 24

Posted: Mon Jun 06, 2005 5:08 pm
G2 stands for Gallery2 correct? I believe I did, but just for reference what page is it on in the setup wizard, and what step? one or two? what heading? and what should it be set to?

AuthorMessage
Post Title: Re: Having some trouble intergrating!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Jun 06, 2005 5:24 pm
when you first try to access G2 (gallery2), via http://www.yoursite.com/modules.php?name=gallery2 , the setup wizard will appear....did you run that?

AuthorMessage
Post Title: Re: Having some trouble intergrating!
eratic
Joined: Sep 11, 2004
Posts: 24

Posted: Mon Jun 06, 2005 5:34 pm
I get the message...

Code: › The module has not yet been configured.


How do I configure it?

AuthorMessage
Post Title: Re: Having some trouble intergrating!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Tue Jun 07, 2005 11:32 am
by going to your phpnuke admin panel, and selecting the Gallery2 icon.

AuthorMessage
Post Title: Re: Having some trouble intergrating!
eratic
Joined: Sep 11, 2004
Posts: 24

Posted: Tue Jun 07, 2005 12:13 pm
OK I am pretty sure its just my embed options are just wrong...heres what I have set. I got past that last error, it now lets me configure the settings in the G2 Admin Panel. So if you could let me know what is wrong in the following Embeding Options:

Gallery2 Full filepath: modules/gallery2
Embed URI: http://www.royalmilitia.com/wow/modules ... e=gallery2
Relative G2 path: modules/gallery2
Login redirect: modules.php?name=Your_Account
Active User ID: 0

My working gallery is located in the directory:
http://royalmilitia.com/wow/modules/gallery2

Just another quick question...Is this gallery 2 installed at the above URL, because at the bottom it says Gallery v1, am i seeing things? Let me know...may I have to upgrade to G2?

AuthorMessage
Post Title: Re: Having some trouble intergrating!
eratic
Joined: Sep 11, 2004
Posts: 24

Posted: Tue Jun 07, 2005 12:18 pm
I also changed the one variable to true to enable it to what error messages I was still getting and hopefully they can help...

Code: › Warning: main(modules/gallery2/embed.php): failed to open stream: No such file or directory in /var/www/html/wow/modules/gallery2/index.php on line 172

Fatal error: main(): Failed opening required 'modules/gallery2/embed.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/wow/modules/gallery2/index.php on line 172


I also noticed that I dont even have the embed.php file in that directory where is it? Or where should it be?

AuthorMessage
Post Title: Re: Having some trouble intergrating!
Kit
Joined: Aug 31, 2003
Posts: 163

Posted: Tue Jun 07, 2005 3:32 pm
If this is a new gallery, meaning not an upgrade or existing albums, I would remove the /gallery2/ directory + files then upload from a fresh unzip. I ran into some problems in the past with corrupted files even though everything looked ok.

AuthorMessage
Post Title: Re: Having some trouble intergrating!
eratic
Joined: Sep 11, 2004
Posts: 24

Posted: Tue Jun 07, 2005 4:35 pm
I will try that. Will report on problems after im back from it. CAn't hurt...

AuthorMessage
Post Title: Re: Having some trouble intergrating!
eratic
Joined: Sep 11, 2004
Posts: 24

Posted: Wed Jun 08, 2005 7:06 pm
Ok I now have my new and 100% correct versioned gallery installed at http://www.royalmilitia.com/wow/modules ... 2/main.php

But I go to http://www.royalmilitia.com/wow/modules ... e=gallery2 and still get the error "The module has not yet been configured.".

I have installed everything correctly, I think its just the configuration file for the intergration that has some wrong paths. Here it is...

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

And it shows the error:

Warning: main(/wow/modules/gallery2/embed.php): failed to open stream: No such file or directory in /var/www/html/wow/modules/gallery2/index.php on line 172

Fatal error: main(): Failed opening required '/wow/modules/gallery2/embed.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/wow/modules/gallery2/index.php on line 172

Same error as last time Sad Help me Smile

EDITED

OK I changed the
'embedphpfile' => '/wow/modules/gallery2',

to

'embedphpfile' => 'modules/gallery2',

and now am getting the error

Failed to create G2 user with extId [admin]. Here is the error message from G2:
Error (ERROR_BAD_PARAMETER)

* in modules/core/classes/GalleryEmbed.class at line 259 (gallerystatus::error)
* in index.html at line 212 (galleryembed::createuser)
* in /var/www/html/wow/modules.php at line 61

At least im getting somewhere I hope!

EDITED AGAIN

Used your search tool Very Happy and found a fix. Now im just getting the allocation error, which I was expecting to happen sooner or later cause it warned me in the setup that my memory allocation was low...is there any way I change this myself, I did put the .htaccess file in the /dir but it seems not to be helping i guess. Do I have to contact the web hosting service? Or can I send some sort of code to the server myself? Im getting the


Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 46080 bytes) in /var/www/html/wow/modules/gallery2/lib/smarty/Smarty_Compiler.class.php on line 474

LEt me know Smile Im moving slowly!

AuthorMessage
Post Title: Re: Having some trouble intergrating!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Thu Jun 09, 2005 6:34 am
try adding this to .htaccess:

Code: › php_value memory_limit "16M"

AuthorMessage
Post Title: Re: Having some trouble intergrating!
eratic
Joined: Sep 11, 2004
Posts: 24

Posted: Thu Jun 09, 2005 3:14 pm
OK i got the server to change it. Now I have got another problem, does it ever end Smile

I got the gallery installed at http://www.royalmilitia.com/wow/modules ... e=gallery2 and everything I click on gives me a This module is not active return...and the thumbnails are broken links...whats going on?

AuthorMessage
Post Title: Re: Having some trouble intergrating!
eratic
Joined: Sep 11, 2004
Posts: 24

Posted: Thu Jun 09, 2005 3:27 pm
All of the links also are showing up as almost a loop.

Code: › http://royalmilitia.com/wow/modules.php?name=gallery2&g2_view=members:MembersList&g2_return=http%3A%2F%2Fwww.royalmilitia.com%2Fwow%2Fmodules.php%3Fname%3Dgallery2&g2_returnName=album

AuthorMessage
Post Title: Re: Having some trouble intergrating!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Fri Jun 10, 2005 6:10 am
Hehe..please keep in mind that G2 is still beta, as is the integration package.

Did you activate the module via the admin CP in nuke?

AuthorMessage
Post Title: Re: Having some trouble intergrating!
eratic
Joined: Sep 11, 2004
Posts: 24

Posted: Fri Jun 10, 2005 6:31 am
I havent activated it via ADmin CP because I dont want many of my visitors viewing it and complaining about how it isnt working. But...I just activated it, and no dice. Here is my g2.cfg if it helps at all...

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


I understand its still in beta, but has no one got it working yet Rolling Eyes

No biggie, I dont mind taking my time, I cant wait for this to work though.

AuthorMessage
Post Title: Re: Having some trouble intergrating!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Fri Jun 10, 2005 7:44 am
try:
Code: ›   'embedphpfile' => '<your_full_public_html_path_here>/modules/gallery2/',
  'relativeG2Path' => '/modules/gallery2/'


replacing the <your_full_public_html_path_here> with just that Smile

AuthorMessage
Post Title: Re: Having some trouble intergrating!
eratic
Joined: Sep 11, 2004
Posts: 24

Posted: Sat Jun 11, 2005 7:30 am
OK I changed it to...

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

And still no dice...i'll keep playing with it! If you have any ideas to what I could try changing it too, post er up!

AuthorMessage
Post Title: Re: Having some trouble intergrating!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Sat Jun 11, 2005 7:34 am
the relative G2 path might need to be tweaked....i know this is a royal PITA...but I didn't write the embed code Smile

AuthorMessage
Post Title: Re: Having some trouble intergrating!
eratic
Joined: Sep 11, 2004
Posts: 24

Posted: Sun Jun 12, 2005 7:53 am
What would it have to be changed to, I dont get it! I've guessed so much...I just want it to work Sad

I dont understand how you guys give paid support, but even in free support few to none can still get this G2 to port with nuke working. Is their something in paid support you get but not in free support? Gallery is an amazing script, i've used it for a while, and I would really like to port it into my clients website. But if it takes like 2 to 3 weeks to setup, how is that worth it! I can't waste much more time than I already have, i've tried this forum, but no one seems to get it, or the people that do simply post "I got it" and don't inform anyone what they changed to fix it! Come on people, its a forum, share!

Anyways, hopefully someone can hepl me set this .cfg right finally, or not...time will tell. Confused

AuthorMessage
Post Title: Re: Having some trouble intergrating!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Jun 13, 2005 6:19 am
eratic wrote: › What would it have to be changed to, I dont get it! I've guessed so much...I just want it to work Sad

I know you want it to work, and I'm helping the best I can in this limited-interactive forum that we have.

eratic wrote: › I dont understand how you guys give paid support, but even in free support few to none can still get this G2 to port with nuke working. Is their something in paid support you get but not in free support? Gallery is an amazing script, i've used it for a while, and I would really like to port it into my clients website. But if it takes like 2 to 3 weeks to setup, how is that worth it! I can't waste much more time than I already have, i've tried this forum, but no one seems to get it, or the people that do simply post "I got it" and don't inform anyone what they changed to fix it! Come on people, its a forum, share!

Gallery 2 is BETA software, and the integration package (that I did not write) is also BETA software. This means that while it may be functional, it's not complete, polished, or ready for the mainstream. The developers make beta software available so that a larger userbase can identify issues which need to be resolved. I am not actively involved in G2 development, nor have I played a large role in the integration development. I went through the same thing you are going through now when I first installed it. It takes a lot of trial and error. Hopefully when G2 and the integration come out of beta, it will be simpler to get it integrated.

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