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: Group Guests - could not be named to Anonymous  (Read 5888 times)

0 Members and 1 Guest are viewing this topic.

GuidoR13

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 22
Group Guests - could not be named to Anonymous
« on: December 19, 2005, 05:30:35 pm »

Hello,

I observe a strange behavoiur in my CPG 1.4.2 gallery (which works very good):

1. Switching to the Groups panel in admin mode
2. CPG tells me at my unregistered user group (named "Guests") with a red cross "Reset to default name (Anonymous) - recommended"
3. I do this, I apply modifications
4. I check the DB with phpMyAdmin, yes group's named "Anonymous"
5. I go back to the Group panel, and THE GROUP'S NAMED "Guests"
6. I check with phpMyAdmin, CPG is correct the group's name is again "Guests"

Seen with any template, in any language and regardless of the setting allow anonymous/guest is on or off - Peculiar, isn't it. ???

Guido


P.S. I did not post the debug info, because CPG states only to post if wanted....
« Last Edit: December 23, 2005, 11:14:57 am by GauGau »
Logged

TuXi

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Group Guests - could not be named to Anonymous
« Reply #1 on: December 21, 2005, 02:43:04 pm »

i've got the same problem.

i want to rename my groups, but i get a red cross, and it rename itself after reload (F5)...

why cannot i rename to what i like?
Logged
//TuXi

ecto

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 144
    • My very incomplete gallery
Re: Group Guests - could not be named to Anonymous
« Reply #2 on: December 21, 2005, 05:32:19 pm »

DISCLAIMER: I advise you NOT to do this if you are bridging Coppermine with another app, as I am not sure whether or not this change will affect anything in the bridging. I believe though that this is merely a small typo, as from what I've seen in the code, coppermine.inc.php only gets used if bridging is not enabled. It would be good if a dev could confirm this.

Find line 408 in bridge/coppermine.inc.php:
Code: [Select]
    $udb_groups = array(1 =>'Administrators', 2=> 'Registered', 3=>'Guests', 4=> 'Banned');Change 'Guests' to 'Anonymous'.

To the devs:
"Guests" is also used on line 489 in udb_base.inc. Maybe it's supposed to be that way, just wanted to let you know if that's not the case.
Logged

GuidoR13

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 22
Re: Group Guests - could not be named to Anonymous
« Reply #3 on: December 22, 2005, 11:27:52 am »

THAT WORKS FOR ME (unbridged CPG 1.4.2)

Thank you, Guido
Logged

TuXi

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Group Guests - could not be named to Anonymous
« Reply #4 on: January 08, 2006, 05:14:20 am »

I have the new version now, 1.4.3 and upgrade it. but, as before, the groups don't likes to be changed.
even if i put my own groupnames as default in groupmgr.php, my groups and settings on the page groupmgr.php is changing from time to time.

not just the names on the groups, even the other settings like quota in KB changes.... I've tried to change in my MySQL, and in coppermine.php in /bridge/... nothing seems to help.

what can i do to get this(my changes) permanent?
Logged
//TuXi

TuXi

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Group Guests - could not be named to Anonymous
« Reply #5 on: January 08, 2006, 04:39:37 pm »

no one? =\
Logged
//TuXi

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Group Guests - could not be named to Anonymous
« Reply #6 on: January 09, 2006, 08:46:38 am »

1) This is not a hotline: http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#lamesupport
2) Replying to a thread that is marked as "solved" is not a bright idea if the solution doesn't apply for you.
Logged

TuXi

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Group Guests - could not be named to Anonymous
« Reply #7 on: January 09, 2006, 05:07:10 pm »

1) This is not a hotline: http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#lamesupport
2) Replying to a thread that is marked as "solved" is not a bright idea if the solution doesn't apply for you.
1. no, i know..
2. well, i thought it was good to stay in one thread with the same problem... but hey, what do i know.
i'll start my own thread then... ;)
Logged
//TuXi
Pages: [1]   Go Up
 

Page created in 0.032 seconds with 20 queries.