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: How can i get directly to coppermine through Postnuke without login  (Read 5844 times)

0 Members and 1 Guest are viewing this topic.

zoufri

  • Coppermine newbie
  • Offline Offline
  • Posts: 8

Hello,
i have the same Problem but no Answer. I can see in cpg149 all thing without login directly from the CPG URL:

http://apartments.ap.funpic.de/cpg149/index.php

but when i start my postnuke website i get always the login windows.

http://apartments.ap.funpic.de

How can i resolve that ??

I have configured as start Site in Postnuke cpg.

Thanks
Zoufri

 ???
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: How can i get directly to coppermine through Postnuke without login
« Reply #1 on: October 30, 2006, 07:02:11 pm »

within the settings of pnCPG you can allow for anonymous access, this seems disabled.

Cas
Logged

zoufri

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: How can i get directly to coppermine through Postnuke without login
« Reply #2 on: October 30, 2006, 08:18:42 pm »

Hello,
Hier are the Setting in CPG (user Settings):
Allow new user registrations  Yes       
Allow unlogged users (guest or anonymous) access  Yes   

I have solved the Problem, i have commented this lines in pncpg/pnuser.php :

/* $home .= "user.php?op=loginscreen&module=NS-User" ;
if (!pnUserLoggedIn()) {
   if ($guest<1){
      pnRedirect($home) ;
   }
}
*/

I think there is perhaps another solution.

I had the Problem with an Old version. In the Old Version i have done this modification in the file module/pncpg/index.php.

Thanks
zoufri
 :)
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.