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 help please?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
imago

Novice
Novice


Joined: Apr 10, 2005
Posts: 21

PostPosted: Tue May 24, 2005 2:35 pm    Post subject: Re: Gallery 2 integration help please? Reply with quote

I changed the name of the gallery in the admin when I logged in to G2. But other then that I only changed the lines of code from the post you sent.
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Re: Gallery 2 integration help please?  

Back to top
imago

Novice
Novice


Joined: Apr 10, 2005
Posts: 21

PostPosted: Tue May 24, 2005 2:36 pm    Post subject: Re: Gallery 2 integration help please? Reply with quote

Changed it back and it still gave the same error...
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue May 24, 2005 2:37 pm    Post subject: Re: Gallery 2 integration help please? Reply with quote

this is really unusual..there isn't any indication of what file this error is being thrown by?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
imago

Novice
Novice


Joined: Apr 10, 2005
Posts: 21

PostPosted: Tue May 24, 2005 2:45 pm    Post subject: Re: Gallery 2 integration help please? Reply with quote

Is there a line I could add that would show a debug status? I can't tell which file is throwing me this error. It hits modules.php and then hits the modules/gallery2/index.php the screen goes white with the error and then loads the rest of nuke with me logged in as a guest.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue May 24, 2005 2:48 pm    Post subject: Re: Gallery 2 integration help please? Reply with quote

it's in gallery2/index.php, this line appears twice:
PHP: › <?php echo 'G2 did not return a success status. Here is the error message from G2: <br />'.$ret->getAsHtml(); ?>


immediately before each of the occurances of that line, add an echo statement that will tell you which one you're at ( ie echo "first"; after the first one, and echo "second"; after the second one.)
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
imago

Novice
Novice


Joined: Apr 10, 2005
Posts: 21

PostPosted: Tue May 24, 2005 2:55 pm    Post subject: Re: Gallery 2 integration help please? Reply with quote

firstG2 did not return a success status. Here is the error message from G2:
Error (GALLERY_SUCCESS)
in at line 0

So, I guess it's the first instance doing it.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue May 24, 2005 2:59 pm    Post subject: Re: Gallery 2 integration help please? Reply with quote

in the gallery.cfg file, is activeUserId set to 0?
_________________
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: 6274
Location: Washington Township, NJ, USA

PostPosted: Tue May 24, 2005 3:00 pm    Post subject: Re: Gallery 2 integration help please? Reply with quote

btw,i'm heading home from work and will be stripping wallpaper for the next few hours, so bear with me if replies are delayed Smile
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
imago

Novice
Novice


Joined: Apr 10, 2005
Posts: 21

PostPosted: Tue May 24, 2005 3:03 pm    Post subject: Re: Gallery 2 integration help please? Reply with quote

Yes, the user is set to 0. Should it be set to something else. (That's no problem.) I'm going to be heading to work. LOL! Just glad it's only a meeting. Smile

-Imago
Back to top
Offline View user's profile Send private message
imago

Novice
Novice


Joined: Apr 10, 2005
Posts: 21

PostPosted: Tue May 24, 2005 4:16 pm    Post subject: Re: Gallery 2 integration help please? Reply with quote

Well, I almost got it. It's got something to do with my already having a gallery and importing it, then I logged in and it was fine, but when I tried to log in again that's when that error showed up. A friend of mine who doesn't have a gallery on the site logged in and was able to see all the galleries without any problems. Sad So, now, I just need to know how to put a slice of code that doesn't check for a user gallery or something... Sad Any ideas?

Thanks for all the help this far I really appreciate it, and now that the problem has been kinda isolated it'll probably make it a little easier to solve.

-Imago
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Thu May 26, 2005 7:49 am    Post subject: Re: Gallery 2 integration help please? Reply with quote

OK, so, let's go over what you've done thus far:
1. Installed G2
2. Configured G2 and integrated it.

At this point you could log in, correct?

3. Imported albums.

At this point you could still log in, correct?

4. Logged out, and tried to log in again, but couldn't....
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
imago

Novice
Novice


Joined: Apr 10, 2005
Posts: 21

PostPosted: Tue Jul 26, 2005 1:48 am    Post subject: Re: Gallery 2 integration help please? Reply with quote

Actually, finally got it running last month. Wanted to come back and thank you for all your help!! Very Happy
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 Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Goto page Previous  1, 2

 
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 HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

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