Error 1054

Phoca Gallery - image gallery extension
User avatar
Bareld
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 23 Jun 2018, 19:18

Error 1054

Post by Bareld »

Joomla 3.8.8
Phoca Gallery 4.3.10

If I want to change the Image Title name (in the colomn "Title"), I get the following error message:
1054 Unknown column 'pcproductid' in 'field list'

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9442
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error 1054

Post by Benno »

Hi,
backup your database first.
Then change this prefix #_ to the prefix which is set in your Joomla! site. (e.g. from #__phocagallery to jos_phocagallery) and run this query:

Code: Select all

ALTER TABLE `#__phocagallery` ADD COLUMN `pcproductid` int(11) NOT NULL DEFAULT '0';
Kind regards,
Benno
User avatar
Bareld
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 23 Jun 2018, 19:18

Re: Error 1054

Post by Bareld »

The prefix in my Joomla is the same as the prefix in the database but it dose not work.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9442
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error 1054

Post by Benno »

Hi,
did you run the upper query in your database e.g. with help of phpMyAdmin and did you change #_ of this query to your prefix before?

Kind regards,
Benno
User avatar
Bareld
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 23 Jun 2018, 19:18

Re: Error 1054

Post by Bareld »

The upper Query does not work.
I have restored an older backup with Joomla 3.8.3 and phocagallery 4.3.6. This works correctly, no problem.
If I update to Joomla 3.8.10 phocagallery 4.3.6, works well, no problem.
If I update phocagallery to 4.3.9 then the problem arises.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error 1054

Post by Jan »

Hi, the error message says it exactly, the 'pcproductid' column is missing in the table. So there is no other error. Mostly this can happen when Joomla! extension manager wrongly installs the component, so in such case the column must be added to the database manually.

Which message do you get when you run the query? Can you paste a screenshot with the query in your phpmyadmin?

Jan
If you find Phoca extensions useful, please support the project
User avatar
Bareld
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 23 Jun 2018, 19:18

Re: Error 1054

Post by Bareld »

I tried again. It works well now. I think I made a mistake last time.
Thank you.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9442
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error 1054

Post by Benno »

Ok.

Kind regards,
Benno
Post Reply