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

0 Members and 1 Guest 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.019 seconds with 20 queries.