Hello!
I have updated Joomla from 2.5 to 3.8
And Phoca Gallery to latest version.
Now I have 2 errors when open Phoca pages
1054 UNKNOWN COLUMN 'C.IMAGE_ID' IN 'FIELD LIST'
and
1054 UNKNOWN COLUMN 'CC.IMAGE_ID' IN 'GROUP STATEMENT'
How to fix it?
Thanks.
1054 UNKNOWN COLUMN 'C.IMAGE_ID' IN 'FIELD LIST'
-
- Phoca Newbie
- Posts: 2
- Joined: 04 Oct 2018, 13:10
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 1054 UNKNOWN COLUMN 'C.IMAGE_ID' IN 'FIELD LIST'
Hi, seems like some columns are missing in your database
The columns must be added manually:
#__ should be changed to prefix used in your database.
Jan
The columns must be added manually:
Code: Select all
ALTER TABLE `#__phocagallery_categories` ADD COLUMN `image_id` int(11) NOT NULL default 0;
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 04 Oct 2018, 13:10
Re: 1054 UNKNOWN COLUMN 'C.IMAGE_ID' IN 'FIELD LIST'
Thanks. It works now.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 1054 UNKNOWN COLUMN 'C.IMAGE_ID' IN 'FIELD LIST'
Ok, great to hear it.
Jan
Jan
If you find Phoca extensions useful, please support the project