Can someone please help. I tried to upgrade from 1.4.9. I took backup of the database and all files. When I tried to run the update script (update.php) I got the following error:
The database connection failed. Please check your database configuration in include/db/config.php. If the configuration is okay, check if the database server is running.
I'm not able to find the include/db/config.php. It is not in my backup and not in the latest version I downloaded. What do I do?
I managed to fall back to the old version. When I restored all files everything was fine. But now I am still on 1.4.19 and don't understand what went wrong.
That error message is not from Coppermine. Make sure you downloaded/uploaded the right files.
Yes, that is correct. Thanks for your help.
I found that it is from Phorum that I am trying to bridge. Phorum was bridged in 1.4.19 and worked fine. To get 1.5.12 to work I had to disable the bridge. But then all the personal albums disappeard and I had to restore back to 1.4.19.
I have no idea how I now can upgrade to 1.5. Anyone who have had similar problems?
The error I got was this one: The database connection failed. Please check your database configuration in include/db/config.php. If the configuration is okay, check if the database server is running.
Quote from: tflaat on April 03, 2011, 03:39:26 PM
I have no idea how I now can upgrade to 1.5. Anyone who have had similar problems?
The bridge file will need to be updated/rewritten for cpg 1.5.x.
See: Available bridge files (http://documentation.coppermine-gallery.net/en/bridging.htm#integrating_bridge_start)
Quote from: tflaat on April 03, 2011, 03:39:26 PM
I had to restore back to 1.4.19.
At minimum - upgrade to cpg 1.4.27 - your old version is very much out of date.
Thank you!
I will try to upgrade to 1.4.27. How can I find out when the bridge file is updated/rewritten?
It may be or may never be. For these things we often rely on the community to come up with a bridge. If you have the skills give it a go, if not you will either have to pay someone or be patient in the hope someone will come up with one.
Ok. I'm afraid I dont have the skills. I'm webmaster for a motorbike club that probably can pay. Can you recommend someone or can we pay the development team?
Last time I tried to upgrade it failed because the bridge file was not updated/rewritten for cpg 1.5.x (I bridge to Phorum). When i now click on the link above to available bridge files Phorum appears. Does that mean that it is now updated for 1.5.x ?
Yes, but be sure to back up everything especially your database before you start.
Excellent! Thank you very much ;)
I have upgraded to latest version and get the message The database connection failed. Please check your database configuration in include/db/config.php. If the configuration is okay, check if the database server is running.
The database is runing and the config file is the one uset by Phorum5 and works fine there. Any idea what is wrong?
Quote from: tflaat on February 03, 2012, 11:51:50 PM
Please check your database configuration in include/db/config.php
It would be looking for the file:
your_cpg_root/include/config.inc.phpThat is one of the files that you should have a backup of.
You can enter / edit the db settings into
config.inc.php.sample that is in the same directory if you have no backup copy.
It explains itself.
Quote from: tflaat on February 03, 2012, 11:51:50 PM
The database is runing and the config file is the one uset by Phorum5
No, Coppermine reads db information from
config.inc.php.
It is not Coppermines config file that is causing the problem. It is Phorum5's that I'm trying to bridge.
However, I decided to copy over users manually and break the bridge between Coppermine and Phorum. It has caused me so many problems that I have had enough :(