Page 1 of 1

Error 1054

Posted: 23 Jun 2018, 20:56
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'

Re: Error 1054

Posted: 24 Jun 2018, 09:40
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

Re: Error 1054

Posted: 27 Jun 2018, 20:25
by Bareld
The prefix in my Joomla is the same as the prefix in the database but it dose not work.

Re: Error 1054

Posted: 27 Jun 2018, 21:40
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

Re: Error 1054

Posted: 30 Jun 2018, 20:23
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.

Re: Error 1054

Posted: 01 Jul 2018, 12:07
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

Re: Error 1054

Posted: 09 Jul 2018, 21:07
by Bareld
I tried again. It works well now. I think I made a mistake last time.
Thank you.

Re: Error 1054

Posted: 09 Jul 2018, 21:09
by Benno
Ok.

Kind regards,
Benno