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: Config error  (Read 6826 times)

0 Members and 1 Guest are viewing this topic.

scrich

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Config error
« on: November 25, 2005, 05:10:52 pm »

Hello.

After upgrading my CMG from 1.3.3 to 1.4.2, my config.php shows an error:

Quote
Fatal error: Call to undefined function: db_query() in /usr/home/antoniorull.com/htdocs/fotos/config.php on line 227

What must I do to repair it?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Config error
« Reply #1 on: November 25, 2005, 05:13:58 pm »

you haven't upgraded properly, you need to overwrite all cpg1.3.x files with the ones from the 1.4 package, especially the files inside the include folder!
Logged

Nibbler

  • Guest
Re: Config error
« Reply #2 on: November 25, 2005, 05:17:54 pm »

There is no config.php in 1.4. If you have a theme that still links to it then you need to follow the theme upgrade instructions.
Logged

DeadKenny

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 40
Re: Config error
« Reply #3 on: December 10, 2005, 02:15:33 pm »

you haven't upgraded properly, you need to overwrite all cpg1.3.x files with the ones from the 1.4 package, especially the files inside the include folder!
I definitely followed the upgrade process to the letter and overwrote all the necessary files. Versioncheck even confirms this. Yet I have the same problem.

There is no config.php in 1.4. If you have a theme that still links to it then you need to follow the theme upgrade instructions.
Sounds more like the answer. I'm using the Kubrick theme and I guess that's outdated. Problem is I can't access the config page to even switch to another theme in the meanwhile :(
Logged

Nibbler

  • Guest
Re: Config error
« Reply #4 on: December 10, 2005, 02:24:59 pm »

Go to admin.php manually then.
Logged

DeadKenny

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 40
Re: Config error
« Reply #5 on: December 10, 2005, 02:32:59 pm »

Cheers. I've reset the theme and I've also cleaned out the theme directory and just uploaded the official 1.4.2 ones.

Problem now is half the buttons are missing on the themes.

Ah, seems if I set the language to English (US) it works. Means I can't use UTF-8 or British :(

Edit: Think I've got it... set the default language to English and set the character encoding to UTF-8, rather than pick English UTF-8 in the language.
« Last Edit: December 10, 2005, 02:42:33 pm by DeadKenny »
Logged

Nibbler

  • Guest
Re: Config error
« Reply #6 on: December 10, 2005, 02:58:36 pm »

You have to enable language fallback in config to use British. Also clean out all the old uft8 language files from the lang directory.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Config error
« Reply #7 on: March 07, 2006, 09:40:35 am »

I'm using the Kubrick theme and I guess that's outdated.
I have just released the Theme "Kubrick" for cpg1.4.x
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.