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: The db error messange  (Read 2985 times)

0 Members and 1 Guest are viewing this topic.

kokkus

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
The db error messange
« on: February 22, 2008, 07:17:30 am »

Hi. In which file is that Unable to connect to database message?
I wanna do some changes in that file so plz help.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: The db error messange
« Reply #1 on: February 22, 2008, 08:06:16 am »

That's not a message from coppermine, but a PHP error message that just shines through. You can't modify the text. Instead: fix the cause for the error message.
Logged

kokkus

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: The db error messange
« Reply #2 on: February 22, 2008, 06:41:35 pm »

The error comes up some times. It came for 3 days ago now the last time.
So I think the problem comes from my webhoster.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: The db error messange
« Reply #3 on: February 22, 2008, 07:02:03 pm »

Ask them then, not us. Don't ask them to change the text, but ask them to fix the mysql issues they might have. This is of course only a valid point if you're actually on paid webhosting. If you're on free webhosting, you'll have to live with those "dropouts" - you get what you pay for.
Logged

kokkus

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: The db error messange
« Reply #4 on: February 24, 2008, 01:03:03 am »

Thank you. That's what though too.
i THINK Coppermine in the next version should create a system so it will show a message by Coppermine photo gallery when it can't connect to the mysql db so people can custemize it to match the webdesign. That would be a great function.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: The db error messange
« Reply #5 on: February 24, 2008, 07:55:46 am »

We consider a mysql database connection that works under all circumstances to be a mandatory pre-requisite. I can't see the point of an error messages that beautyfies an error message like that.
Logged

kokkus

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: The db error messange
« Reply #6 on: February 24, 2008, 10:02:50 pm »

It would be a great idea. The webmaster could then change the text to UNDER CONSTRUCTION so the visiters  won't see the technical problems.
Or with HTML scritp hyperlink the users to another website.
I think there are many reasons why that would be a great idea.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.