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: Location of "Unable to connect to UDB database!" in Source Code  (Read 2654 times)

0 Members and 2 Guests are viewing this topic.

freesouljah

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 116
  • Can you feel the Love?
    • freesouljah.com

Greetings,

I am hoping someone could tell me where to find the location of this in the source code:


Quote
Coppermine critical error:
Unable to connect to UDB database !

MySQL said:

I would like to customize the message for visitors and possibly add some html to it....


thanks
 8)

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Location of "Unable to connect to UDB database!" in Source Code
« Reply #1 on: July 16, 2006, 09:23:20 am »

udb_base.inc.php
Logged
‍I don't answer to PM with support question
Please post your issue to related board

freesouljah

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 116
  • Can you feel the Love?
    • freesouljah.com
Re: Location of "Unable to connect to UDB database!" in Source Code
« Reply #2 on: July 16, 2006, 09:41:29 am »

sweet...thank you for the super fast response  ;D ;D

freesouljah

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 116
  • Can you feel the Love?
    • freesouljah.com
Re: Location of "Unable to connect to UDB database!" in Source Code
« Reply #3 on: July 16, 2006, 10:02:38 am »

works great...thanks again...

just in case someone else needs to know...if you are going to use tags with a " in them, don't forget to add the \ before them: \" .... otherwise you will get a t string error....

peace

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Location of "Unable to connect to UDB database!" in Source Code
« Reply #4 on: July 16, 2006, 11:57:53 am »

To keep code better readable, you can use single quotes or the heredoc syntax in such cases.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.