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  

Having some trouble intergrating!
Goto page 1, 2  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
eratic

Novice
Novice


Joined: Sep 11, 2004
Posts: 24

PostPosted: Mon Jun 06, 2005 1:39 pm    Post subject: Having some trouble intergrating! Reply with quote

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!
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Having some trouble intergrating!  

Back to top
dari

Site Admin
Site Admin


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

PostPosted: Mon Jun 06, 2005 4:04 pm    Post subject: Re: Having some trouble intergrating! Reply with quote

make sure that you actually configured G2 via the G2 setup wizard, in addition to the embedding setup you did...
Back to top
Offline View user's profile Send private message Visit poster's website
eratic

Novice
Novice


Joined: Sep 11, 2004
Posts: 24

PostPosted: Mon Jun 06, 2005 5:08 pm    Post subject: Re: Having some trouble intergrating! Reply with quote

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

Site Admin
Site Admin


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

PostPosted: Mon Jun 06, 2005 5:24 pm    Post subject: Re: Having some trouble intergrating! Reply with quote

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

Novice
Novice


Joined: Sep 11, 2004
Posts: 24

PostPosted: Mon Jun 06, 2005 5:34 pm    Post subject: Re: Having some trouble intergrating! Reply with quote

I get the message...

Code: › The module has not yet been configured.


How do I configure it?
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Jun 07, 2005 11:32 am    Post subject: Re: Having some trouble intergrating! Reply with quote

by going to your phpnuke admin panel, and selecting the Gallery2 icon.
Back to top
Offline View user's profile Send private message Visit poster's website
eratic

Novice
Novice


Joined: Sep 11, 2004
Posts: 24

PostPosted: Tue Jun 07, 2005 12:13 pm    Post subject: Re: Having some trouble intergrating! Reply with quote

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

Novice
Novice


Joined: Sep 11, 2004
Posts: 24

PostPosted: Tue Jun 07, 2005 12:18 pm    Post subject: Re: Having some trouble intergrating! Reply with quote

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

Moderator
Moderator


Joined: Aug 31, 2003
Posts: 163

PostPosted: Tue Jun 07, 2005 3:32 pm    Post subject: Re: Having some trouble intergrating! Reply with quote

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.
Back to top
Offline View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
eratic

Novice
Novice


Joined: Sep 11, 2004
Posts: 24

PostPosted: Tue Jun 07, 2005 4:35 pm    Post subject: Re: Having some trouble intergrating! Reply with quote

I will try that. Will report on problems after im back from it. CAn't hurt...
Back to top
Offline View user's profile Send private message
eratic

Novice
Novice


Joined: Sep 11, 2004
Posts: 24

PostPosted: Wed Jun 08, 2005 7:06 pm    Post subject: Re: Having some trouble intergrating! Reply with quote

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

Site Admin
Site Admin


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

PostPosted: Thu Jun 09, 2005 6:34 am    Post subject: Re: Having some trouble intergrating! Reply with quote

try adding this to .htaccess:

Code: › php_value memory_limit "16M"
Back to top
Offline View user's profile Send private message Visit poster's website
eratic

Novice
Novice


Joined: Sep 11, 2004
Posts: 24

PostPosted: Thu Jun 09, 2005 3:14 pm    Post subject: Re: Having some trouble intergrating! Reply with quote

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

Novice
Novice


Joined: Sep 11, 2004
Posts: 24

PostPosted: Thu Jun 09, 2005 3:27 pm    Post subject: Re: Having some trouble intergrating! Reply with quote

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

Site Admin
Site Admin


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

PostPosted: Fri Jun 10, 2005 6:10 am    Post subject: Re: Having some trouble intergrating! Reply with quote

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?
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 Integration » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Goto page 1, 2  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: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filterWorld Meds Direct

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