coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: jsmith on September 21, 2006, 05:20:15 PM

Title: admin access after upgrade
Post by: jsmith 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?
Title: Re: admin access after upgrade
Post by: Sami 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
Title: Re: admin access after upgrade
Post by: jsmith 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.
Title: Re: admin access after upgrade
Post by: jsmith 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...
Title: Re: admin access after upgrade
Post by: jsmith 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.
Title: Re: admin access after upgrade
Post by: Nibbler 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.
Title: Re: admin access after upgrade
Post by: jsmith on September 22, 2006, 02:39:30 PM
ok...   thanks for the help...