Page 1 of 1

Error after updating from 3.75 to 3.8

Posted: 25 Sep 2017, 18:25
by mouco
Hello,

After updating to Joomla 3.8 I am now getting the following error...

From the main menu on a Phoca Gallery Component link I get the following error before showing the gallery images.

"Notice: Undefined property: stdClass::$image_id in /home/.../public_html/components/com_phocagallery/models/categories.php on line 171"

then if I click one of the gallery page images I get the following error:

Unknown column 'c.image_id' in 'field list'

anyone have any ideas...

Re: Error after updating from 3.75 to 3.8

Posted: 29 Sep 2017, 09:43
by Jan
Hi, it seems like Joomla! extension manager didn't update the c_image_id column, so it needs to be udpated manually (e.g. with help of phpMyAdmin) on your server. Run this query in your database:

Code: Select all

ALTER TABLE `#__phocagallery_categories` ADD COLUMN `image_id` int(11) NOT NULL default 0;
Change the #__ to your prefix in your database.


administrator/components/com_phocagallery/update/sql/mysql\4.3.0.sql
Jan

Re: Error after updating from 3.75 to 3.8

Posted: 29 Sep 2017, 16:27
by mouco
Great, thank you, everything is working great now!

Thank you very much,

Robert

Re: Error after updating from 3.75 to 3.8

Posted: 02 Oct 2017, 12:54
by Jan
Ok