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: Access denied for user  (Read 9931 times)

0 Members and 1 Guest are viewing this topic.

superdidi

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Access denied for user
« on: June 05, 2010, 10:27:34 pm »

Hi,
I think I need a little help...

I unistall the old gallery and I start to install new one. I installed it, but in my www i found only this:

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'didi'@'w05.int.webd' to database 'didi_didigall'

I'm really hopeless in it, please, help, what should I do now ?

didi
Logged

papukaija

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 333
Re: Access denied for user
« Reply #1 on: June 05, 2010, 10:30:05 pm »

Please post a link to your gallery as requested in board rules.
Logged

superdidi

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Access denied for user
« Reply #2 on: June 05, 2010, 10:34:56 pm »

I'm sorry, i forgot,

http://www.didi.webd.pl/
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4822
    • Windsurf.me
Re: Access denied for user
« Reply #3 on: June 05, 2010, 10:37:04 pm »

The error is quite self explanatory. Check your include/config.inc.php file and make sure all the database details are correct. If you are unsure verify them with your host.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

superdidi

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Access denied for user
« Reply #4 on: June 05, 2010, 10:42:58 pm »

Yeah, I checked it, ind it wasn't..

I had different name od database. I change it on correct one I think, and now I have:

Notice: Undefined index: debug_mode in /home/didi/public_html/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4822
    • Windsurf.me
Re: Access denied for user
« Reply #5 on: June 05, 2010, 10:49:52 pm »

Are you upgrading an existing gallery? If not did you clear the database before installing the new gallery? If this is a fresh install then I suggest you start over. If not restore from a backup and then follow the upgrade instructions.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

papukaija

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 333
Re: Access denied for user
« Reply #6 on: June 05, 2010, 10:52:48 pm »

The update.php is accessible without a password. Are you sure that you have uploaded all files for Coppermine v.1.5.4 ?
Logged

superdidi

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Access denied for user
« Reply #7 on: June 05, 2010, 11:00:07 pm »

No, I don't upgrade it, because I thought that if I do it anew, it'll be easier. So I remove my old gallery in cpanel, and I cleared the database "didigall". I made new one "didi". I had this acces denied, so I thought that I did something wrong and I called this new one "didigall", and I have new report.

As You can see, I don't know what to do, maybe I should clear everything once again and install  the gallery again?

The problem is I dont know how exactly remove database and do the rest actions correctly.....
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1504
  • aka 'i-imagine'
    • Home Page
Re: Access denied for user
« Reply #8 on: June 05, 2010, 11:09:10 pm »

The error doesn't make sense since there is only a comment at line 96 in functions.inc.php.

Make certain that you have uploaded all of the cpg 1.5.4 files. Use a good ftp app like Filezilla, set it to transfer in Bimary mode. If you have cPanel then you probably have phpMyAdmin - use that too.

If you have indeed "wiped out" everything, then why not just make a new database?

Read the docs, take your time and you will do just fine.

superdidi

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Access denied for user
« Reply #9 on: June 05, 2010, 11:47:39 pm »

OK, I do it, thanks you guys for your help !
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Access denied for user
« Reply #10 on: June 07, 2010, 09:52:50 am »

I unistall the old gallery

[..]

Coppermine critical error:
Unable to connect to database !
It's not possible that you get this error message if you have uninstalled (deleted) your old gallery.


Make certain that you have uploaded all of the cpg 1.5.4 files
Please use the most recent release: cpg1.5.6.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.