Home | Support Forums | Your Account | Gallery [2] | 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  

Too many things to list in a subject...

 
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
okiregistered

Beginner
Beginner


Joined: Sep 14, 2005
Posts: 4

PostPosted: Wed Sep 14, 2005 8:55 pm    Post subject: Too many things to list in a subject... Reply with quote

Sorry, I do try and make subjects searchable, but I'd need a paragraph to do it... : grin :

Ok, installed G2. That all went great. Thought I would think ahead and renamed the admin in the installer portion to my phpNuke admin name. I do wish there were clearer instructions on the User db issue...

Ok, so G2 installer blazed right on through, no errors.

Uploaded all Nuke integration files, logged in as Nuke Admin and accessed the G2 icon. All path info looked good, saved, try to export users (this is a fresh Nuke 7.6 [patched] install, 1 author and 1 user, same name). Of course as soon as I hit export, it blew a fuse because there was already an entry in G2 users with the same name as an export coming in. I tried emptying the G2 users table, still an error from within Nuke export.

Went back to G2 installer and re-ran it, asking it to clear and rebuild all tables. This time, I left 'admin' as admin and added a password to it. Went back to Nuke export and it said it was successful. However, nothing was added to the G2 user table...?? Tried it a few more times, no errors, but no entries either. I tried to load the actual module from the Nuke menu and it took me to a white page that said:
Code: › Failed to create G2 user with extId [Admin]. 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 index.html at line 106 (galleryembed::createuser)
in /home/*******/public_html/modules.php at line 52


Note the extId says 'Admin' instead of a number... I'm guessing that was because I was logged as Nuke Admin but not an actual user. Weird.

Anyways, I tried changing G2 user 'admin' to my Nuke admin name through phpMyAdmin. No joy.

I also noticed that the guest and admin entries in G2 users was numbers 5 and 6.. is that significant? I don't undertsand how the integration and userID's work it all out... are they supposed to match? So if Nuke userid of 9 is 'somedude', should G2 userid 9 also be 'somedude'? Or are they different? Weird again...

So, I renamed G2 user 'Guest' to 'Anonymous' and renumbered as '1'. I then renamed G2 user 'admin' to my Nuke user and renumbered as '2'. I still got the extId error as 'Admin' so I logged out as Nuke admin and in as a user. Same error, but extId 'Admin' became extId '2'. I logged out completely and let the page reload as a guest. Loaded G2 and it loaded just fine! So a visitor can see the gallery with no errors, but as soon as I login as a user or an admin, I get the above error on a page all by itself.

If I could know what the 2 user db's should look like after an export, that'd be helpful.. also, why is export announcing success, but nothing is written to the G2 user db? Why is G2 trying 'create' a new user when the user exists? Thanks... been awhile since I've screwed up a install so badly... ; )

- ok
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Too many things to list in a subject...  

Back to top
dari

Site Admin
Site Admin


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

PostPosted: Thu Sep 15, 2005 6:28 am    Post subject: Re: Too many things to list in a subject... Reply with quote

okiregistered wrote: › I do wish there were clearer instructions on the User db issue...

In the G2 docs, or in the integration docs?

okiregistered wrote: › I also noticed that the guest and admin entries in G2 users was numbers 5 and 6.. is that significant? I don't undertsand how the integration and userID's work it all out... are they supposed to match? So if Nuke userid of 9 is 'somedude', should G2 userid 9 also be 'somedude'? Or are they different? Weird again...

Leave those user id's as is. no need to change.

The rest of your problems, i'm aware of. I'm in the process of creating more insightful error messages when things like this arise.

Re: the "admin" error...you'll get that (or any other COLLISION error, for that matter), when a phpNuke username matches a Gallery username. So, if you've got a fresh G2 install, and your PHPNuke DB has a username of either "admin" or "guest" in it already, they will fail. Additionally, usernames that are all numeric (instead of alphanumeric) will fail as well (G2 requires at least 1 alpha character in the username).
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
okiregistered

Beginner
Beginner


Joined: Sep 14, 2005
Posts: 4

PostPosted: Thu Sep 15, 2005 10:54 am    Post subject: Re: Too many things to list in a subject... Reply with quote

Quote: ›
The rest of your problems, i'm aware of.


Are there solutions? I wiped every file and db, and started from scratch. All went well until I tried to export. Again, the export is reported to have succeeded, but nothing is added to the G2 user table. When I load G2 from within Nuke, I get the error if logged in as Admin. What is the workaround for this? You have to log out as Admin before you can view the Gallery?

When logged out as Admin, but logged in as a user, I am now getting the dreaded blank page, no errors. This is obviously because there is no entry in the G2 db.
Back to top
Offline View user's profile Send private message
okiregistered

Beginner
Beginner


Joined: Sep 14, 2005
Posts: 4

PostPosted: Thu Sep 15, 2005 12:04 pm    Post subject: Re: Too many things to list in a subject... Reply with quote

solved...

http://www.nukedgallery.net/postt1903.html
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

 
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