Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: what have I missed??  (Read 4169 times)

0 Members and 1 Guest are viewing this topic.

itchy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
what have I missed??
« on: November 19, 2004, 08:27:13 pm »

I have change hosting and as a result have copied both my forum and photo gallery over. They both run of the same mysql database which was also transferred. I updated the config on my forum and it worked no probs once I went into the database and updated the script path.
The photo gallery on the other hand, I went into include/config_inc.php and updated the DB details, I cant find anything in the db showing script paths but when I go to the url for the gallery I just get
Coppermine critical error:
Unable to connect to phpBB Board database !

MySQL said: Access denied for user: '#######@localhost' (Using password: YES)

The hash's should be the new username but they are the old one. So I'm guessing that something else needs to be updated. But what, I've searched and cant find the details held anywhere else.
« Last Edit: November 21, 2004, 07:01:52 am by GauGau »
Logged

Nibbler

  • Guest
Re: what have I missed??
« Reply #1 on: November 19, 2004, 08:39:37 pm »

phpbb.inc.php ?
Logged

itchy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: what have I missed??
« Reply #2 on: November 19, 2004, 10:07:41 pm »

got a phpinfo.php but not an .inc.php ???
Checked the phpinfo and nothing in there that would cause it.
Double checked config_inc.php and everything is correct??
Logged

kiig

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 141
    • Igel's Journaler
Re: what have I missed??
« Reply #3 on: November 19, 2004, 10:50:49 pm »

In the folder include, - you'll find config.inc.php

Not sure if this is blindingly obvious for you, - but this file controls how Coppermine accesses the database.

If I change the info in there, - to something wrong, - I get :
Code: [Select]
Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user: 'xxxxxxxx@localhost' (Using password: YES)

If I revert, - it works again....


Sure you checked that file ?

If you did, - which your post indicates, - apart from the config dot inc dot php (not config underscore inc dot php), - then maybe the
Code: [Select]
Unable to connect to phpBB Board database

indicates a problem, - maybe it's supposed to say this because you use a bridge ?, - but my error message is slightly different as you can see.

Have you tried connecting from a MySQL admin with this username and password ? and if that works, - can you see the database you've chosen in Config.inc.php ?


Hey.. just found phpbb.inc.php in the bridge folder.... If Nibbler's right.... and I guess he is.. :-) then you should check this... I assume you're using phpbb since you got that error message...

Kim Igel.
Logged
Kim Igel
http://igel.it (Personal playground) or http://foto.igel.it (Paypal shop-site)

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: what have I missed??
« Reply #4 on: November 20, 2004, 01:42:34 am »

Yes, nibblers right (as usual  ;) )

If you are bridged, the bridge file needs to have the correct details of the bb database.  You had to edit this file when you first bridged, and you will have to edit it now to reflect the changes.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

itchy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: what have I missed??
« Reply #5 on: November 20, 2004, 11:36:54 am »

Indeedy you were right, problem is now fixed albums are now back online fully. f anyone wants to be nosey www.pgacnortheast.co.uk/gallery/

 8)
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 18 queries.