I love the idea of this module..but I need help! Postnuke users arent being created in coppermine. I use Postnuke 7.50 and coppermine 3.2. Please help! THanks :)
Split this posting from unrelated (announcement) thread. Please don't try to hijack other threads, always reply to threads that deal with the actual issue you're facing. If there is none, create a new thread.
Joachim
Coppermine itself works ok ?
What are the settings of pnCPG ?
Cas
Sorry GauGau... didn't mean to hijack.. I'll be much careful next time. ;)
casNuy, I sent you a private message with all info needed, I couldnt post it here. Thanks! :-)
I just saw pncpg 2.5 has been released.. should I try re install everything with this new version first, to see if maybe that solves my problem? Thanks! :D
I have adjusted some of your settings but would certainly advice to upgrade to 2.5
Cas
it still isnt working.. umm.. I'm gonna update and see if that makes a difference.
OMG!! It WORKS!! YEY! lol :-) THanks! I just reinstalled everything... seems that the Newest pnCPG 2.5 did the trick!**HUGS** (Yeah I'm that happy!) I always wanted to do this, thanks a million!
Cas,
I'm hoping you can help. I just installed pncpg2.5 and it did seem to transfer the postnuke users successfully. But the passwords are all different between the 2 databases. Plus, creating new users in postnuke does not seem to automatically create them in cpg. Any suggestions?
Instead of trying to connect the 2 databases, is it possible to have code in cpg determine the username logged into postnuke? That's really all my code needs to know.
Any help would be appreciated.
Necro
Not much help possible here. All pnCPG tries to achieve is single signon between Postnuke & Coppermine.
Normally a user is created in the Coppermine Database whenever someone accesses Coppermine through Postnuke. As an add-on, I have created an option to sync PN users with Coppermine users.
Full integration was and is not my intention.
Cas
Alright, so you're saying if pnCPG is working like it should, everytime someone accesses coppermine thru postnuke, it will take care of updating the users. Any hints as to why mine's not doing that? The sync feature seems to work fine now. The users are transfered and coppermine then recognizes the user thru postnuke. But it's still not creating the coppermine user when registering a new user in postnuke. Any hints?
Thanks.
-Necro
alright. here's the deal...before the new version was released i was having trouble getting my postnuke users to my coppermine users...i waited for the upgrade and just finished intalling that. after installation of the new version of pncpg i go into the pncpg admin so that i can try to get my users to view the galleries with this version but when i click on the link that says Update Coppermine Users From Postnuke and then click the Update Configuration link it causes this error: Fatal error: Call to undefined function: db_query() in /usr/local/httpd/htdocs/kunden/web72/html/modules/pnCPG/pnadmin.php on line 452
any ideas?
i really like the idea of this script and want to get it to work.
are you per chance trying to run the devel version of coppermine?
Joachim
Change db_query into mysql_query and it will work. Still woiuld like to know which version of Coppermine you are running.
Cas
the devil version.... o.0;;
i'm running coppermine 1.3.2
I just ran into this issue as well.. had to change the text on line 452 to:
mysql_query("INSERT INTO $_cpg_album(title, description, visibility, uploads, comments, votes, pos, category, pic_count, thumb, last_addition, stat_uptodate, keyword) VALUES ('$f_username', '', '0', 'NO', 'YES', 'YES', '1', '$temp_user_cat', '0', '0', '0', 'NO', '$f_username')");
guess it didnt like the db_ one.. ? missing function? wrong verison of php? im running pnCPG 2.5 and coppermine 1.3.2 from the download area
I am already testing with 1.4, possibly this is causing some turbulence.
cas