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: Screwed up something now what?  (Read 3157 times)

0 Members and 1 Guest are viewing this topic.

yuppicide

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Screwed up something now what?
« on: April 19, 2012, 06:02:55 pm »

I believe I am running CPG 1.5.20 here: http://peppermint-bay.com/cat/

Someone inquired about installing a shopping cart, so I was going to fool around with ZenCart. I went into PhpMyAdmin and noticed I had a database already setup for it. I wanted to delete it. I accidentally deleted the coppermine database! So, I did a restore which was from last month sometime. Now I get the following error message when trying to access:

Code: [Select]
Fatal error :

.

While executing query 'SELECT name, value FROM cpg14x_config' in include/init.inc.php on line 181 mySQL error: Access denied for user 'sonalicorp'@'localhost' to database 'coppermine'
Logged

yuppicide

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: Screwed up something now what?
« Reply #1 on: April 19, 2012, 06:07:57 pm »

Actually I might be running 1.5.18 if I look in the init.inc.php file it says that.
Logged

yuppicide

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: Screwed up something now what?
« Reply #2 on: April 19, 2012, 06:43:39 pm »

I think never mind. I'm probably going to have to install fresh. I called the web host and they tried to do a restore which didn't work. So, he ended up resetting things and I was left with a clean slate.

Upgraded from PHP 4 to 5, reinstalled PHPMyAdmin, etc.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Screwed up something now what?
« Reply #3 on: April 19, 2012, 07:05:57 pm »

I'm probably going to have to install fresh.
Not recommended. Instead, ask your web host to fix the MySQL user permissions or set your access data correctly:
Quote
mySQL error: Access denied for user 'sonalicorp'@'localhost' to database 'coppermine'
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.