coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: FionaFoo on May 02, 2004, 06:51:01 AM

Title: Error while processing Database Query-- Upgrading from 1.0 to 1.2.1
Post by: FionaFoo on May 02, 2004, 06:51:01 AM
When I go to upgrade-1.0-to-1.2.php I get this error:
There was an error while processing a database query.
QuoteWhile executing query "INSERT INTO cpg_pictures (approved, pid, aid, caption, filepath, filename, filesize, pwidth, pheight, hits, mtime, ctime) SELECT 'yes' as approved, p.pid, aid, msg_body AS caption, filepath, filename, filesize, pwidth, pheight, hits, mtime, UNIX_TIMESTAMP(ctime)FROM CPG_pictures AS p LEFT JOIN CPG_comments AS c ON p.caption = c.msg_id " on 0mySQL error: Table 'jannah_photolog.CPG_pictures' doesn't exist
File: /home/jannah/public_html/photolog/new/include/functions.inc.php - Line: 105
Upgrading Coppermine 1.0 tables to 1.1
Prefix used for 1.0 tables : CPG_


What does this mean, and what do I do to rectify this problem? Thank you.
Title: Re: Error while processing Database Query-- Upgrading from 1.0 to 1.2.1
Post by: Joachim Müller on May 02, 2004, 11:25:05 AM
please use a tool like phpMyAdmin and check what your pictures table is actually named: does the table 'CPG_pictures' exist in your database?

GauGau
Title: Re: Error while processing Database Query-- Upgrading from 1.0 to 1.2.1
Post by: FionaFoo on May 02, 2004, 02:54:41 PM
I didn't change anything when I was fresh-installing. Why would it be named otherwise? Was there an error when I installed?
Title: Re: Error while processing Database Query-- Upgrading from 1.0 to 1.2.1
Post by: Casper on May 02, 2004, 07:19:46 PM
because maybe you called it something else when you first installed.

Please do as gaugau asked.