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: Call to undefined function: cpg_db_query()  (Read 5781 times)

0 Members and 1 Guest are viewing this topic.

kromega

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 47
    • my gallery
Call to undefined function: cpg_db_query()
« on: July 30, 2006, 11:16:29 pm »

Hi,
I've upgraded from 1.3.2 to 1.4.8, runned the upgrade successfully:
http://fabski.com/images/update.php

But then on both check version and index, I've
Fatal error: Call to undefined function: cpg_db_query() in /home/httpd/vhosts/fabski.com/httpdocs/images/include/init.inc.php on line 197

Any idea what could be wrong ?
I've turned debug on, but no extra info...

Thanks for your help

Fabien
« Last Edit: July 31, 2006, 07:49:54 am by GauGau »
Logged
fabski - novice

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Call to undefined function: cpg_db_query()
« Reply #1 on: July 30, 2006, 11:34:23 pm »

Make sure you have replaced/overwritten ALL files except for the ones that are listed in the upgrade documentation.

It looks like a bunch of files and folders are missing.
Logged

kromega

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 47
    • my gallery
Re: Call to undefined function: cpg_db_query()
« Reply #2 on: July 31, 2006, 12:00:21 am »

a bit better, now I've something...
check
http://fabski.com/images/versioncheck.php

I've done a CHMOD 777 on the whole "images" folder.
Logged
fabski - novice

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Call to undefined function: cpg_db_query()
« Reply #3 on: July 31, 2006, 12:30:24 am »

Only the admin can see versioncheck but I don't think we need to see it in this case. The gallery seems fine. Issue solved?
Logged

kromega

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 47
    • my gallery
Re: Call to undefined function: cpg_db_query()
« Reply #4 on: July 31, 2006, 07:36:59 am »

Precisely, had "no access" error cause I was not logged in  :o
Working fine now, thanks.

Fabien
Logged
fabski - novice
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.