coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: kromega on July 30, 2006, 11:16:29 PM

Title: Call to undefined function: cpg_db_query()
Post by: kromega 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
Title: Re: Call to undefined function: cpg_db_query()
Post by: Tranz 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.
Title: Re: Call to undefined function: cpg_db_query()
Post by: kromega 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.
Title: Re: Call to undefined function: cpg_db_query()
Post by: Tranz 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?
Title: Re: Call to undefined function: cpg_db_query()
Post by: kromega 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