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: admin access after upgrade  (Read 4482 times)

0 Members and 1 Guest are viewing this topic.

jsmith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
admin access after upgrade
« on: September 21, 2006, 05:20:15 pm »

I just did an upgrade from 1.4.x to latest version.  After upgrade, I can login with my username/password (which is administrator) but the admin functions don't show.  Login works, welcomes me, but the admin items are not there.  "My profile" does show and it shows that I'm a member of the 'administrators' group.  I've searched the archives and cleared cookies and temp files. I've read some threads that suggest editing the database and others that say don't do that.  Any suggestions?
« Last Edit: September 22, 2006, 06:45:05 pm by Nibbler »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: admin access after upgrade
« Reply #1 on: September 21, 2006, 05:34:06 pm »

open xxx_users table by phpmyadmin and look under user_name for your admin user and set the user_group column of that user to 1
Logged
‍I don't answer to PM with support question
Please post your issue to related board

jsmith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: admin access after upgrade
« Reply #2 on: September 21, 2006, 08:23:37 pm »

well for some reason, the database seems to have 'disappeared'.  Was fine before I upgraded... Not sure how upgrading coppermine could have done that.  The web hosting people are trying to track it down.  I guess the username/password must be stored somewhere other than the database, but the permissions are in the database.  As for content, I get the  listing of all the categories/albums but no files show up.
Logged

jsmith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: admin access after upgrade
« Reply #3 on: September 21, 2006, 09:13:59 pm »

got my database back.  now when I access my web page I get-

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'xuser'@'xx.xx.xxx.128' (using password: YES)


(username and ip changed from original message)  Guess its lost connection with database or something.  Off to search for fix...
Logged

jsmith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: admin access after upgrade
« Reply #4 on: September 22, 2006, 02:25:45 pm »

thru phpmyadmin the user is 'myuser@xx.xx.xxx.xxx'

error when I try to access my site:

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'myuser'@'yy.yy.yyy.yyy' (using password: YES)

are these ip addresses supposed to be the same?  If so, where?  The config.inc.php file doesn't have that.
Logged

Nibbler

  • Guest
Re: admin access after upgrade
« Reply #5 on: September 22, 2006, 02:29:45 pm »

You need to resolve this with your host, we can't tell you how your server is setup.
Logged

jsmith

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: admin access after upgrade
« Reply #6 on: September 22, 2006, 02:39:30 pm »

ok...   thanks for the help...
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 15 queries.