Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Postnuke users not created from coppermine  (Read 9054 times)

0 Members and 1 Guest are viewing this topic.

gaby

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • Sims 2 Fit
Postnuke users not created from coppermine
« on: January 22, 2005, 04:18:01 am »

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 :)
« Last Edit: January 22, 2005, 09:37:01 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Postnuke users not created from coppermine
« Reply #1 on: January 22, 2005, 08:49:37 am »

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
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Postnuke users not created from coppermine
« Reply #2 on: January 22, 2005, 10:37:13 am »

Coppermine itself works ok ?
What are the settings of pnCPG ?

Cas
Logged

gaby

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • Sims 2 Fit
Re: Postnuke users not created from coppermine
« Reply #3 on: January 22, 2005, 05:37:48 pm »

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! :-)
Logged

gaby

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • Sims 2 Fit
Re: Postnuke users not created from coppermine
« Reply #4 on: January 22, 2005, 05:51:08 pm »

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
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Postnuke users not created from coppermine
« Reply #5 on: January 22, 2005, 06:11:38 pm »

I have adjusted some of your settings but would certainly advice to upgrade to 2.5

Cas
Logged

gaby

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • Sims 2 Fit
Re: Postnuke users not created from coppermine
« Reply #6 on: January 22, 2005, 06:56:51 pm »

it still isnt working.. umm.. I'm gonna update and see if that makes a difference.
Logged

gaby

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • Sims 2 Fit
Re: Postnuke users not created from coppermine
« Reply #7 on: January 22, 2005, 07:59:22 pm »

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!
Logged

necro

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Postnuke users not created from coppermine
« Reply #8 on: January 23, 2005, 10:40:30 am »

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
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Postnuke users not created from coppermine
« Reply #9 on: January 23, 2005, 01:02:07 pm »

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
Logged

necro

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Postnuke users not created from coppermine
« Reply #10 on: January 23, 2005, 06:44:57 pm »

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
« Last Edit: January 23, 2005, 07:11:10 pm by necro »
Logged

Yukino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Postnuke users not created from coppermine
« Reply #11 on: January 24, 2005, 03:17:40 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Postnuke users not created from coppermine
« Reply #12 on: January 24, 2005, 07:25:28 am »

are you per chance trying to run the devel version of coppermine?

Joachim
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Postnuke users not created from coppermine
« Reply #13 on: January 24, 2005, 07:57:18 pm »

Change db_query into mysql_query and it will work. Still woiuld like to know which version of Coppermine you are running.

Cas
Logged

Yukino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Postnuke users not created from coppermine
« Reply #14 on: January 24, 2005, 11:50:21 pm »

the devil version....  o.0;;

i'm running coppermine 1.3.2
Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Postnuke users not created from coppermine
« Reply #15 on: March 07, 2005, 07:25:42 pm »

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
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Postnuke users not created from coppermine
« Reply #16 on: March 09, 2005, 10:54:06 pm »

I am already testing with 1.4, possibly this is causing some turbulence.
cas
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 15 queries.