Error 1054 after joomla update from 3.6.5 to 3.7.4

Phoca Download - download manager
prke77
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 28 Jul 2017, 10:32

Error 1054 after joomla update from 3.6.5 to 3.7.4

Post by prke77 »

Hi,
I have joomla 3.7.4 and Phoca download v 3.1.2. After update joomla from 3.6.5 to 3.7.4 in frontend when I want to access the files, I get the following error:
Error: 1054 - Unknown column 'c.tokenhits' in 'field list'


p.e. : http://www.zcvranje.com/javne-nabavke/j ... -vrednosti
Thanks a lot.
Regards,
Prke

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error 1054 after joomla update from 3.6.5 to 3.7.4

Post by Jan »

Hi, see similar posts in this forum, seems like your Joomla! didn't upgrade Phoca Download correctly in the past. Just run thiese SQL queries in e.g. phpMyAdmin manually:
administrator\components\com_phocadownload\update\sql\mysql\3.0.2.sql

You need to change the prefix #__ to your database prefix before running the sql.

And you should check, if this query was updated too:
administrator\components\com_phocadownload\update\sql\mysql\3.1.1.sql

Jan
If you find Phoca extensions useful, please support the project
prke77
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 28 Jul 2017, 10:32

Re: Error 1054 after joomla update from 3.6.5 to 3.7.4

Post by prke77 »

Jan, I have two files in this rout 3.0.2.sql and 3.1.1.sql. Can I delete the file 3.0.2?
prke77
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 28 Jul 2017, 10:32

Re: Error 1054 after joomla update from 3.6.5 to 3.7.4

Post by prke77 »

I changed the prefix in the file 3.0.2.sql. Then I renamed name the file 3.0.2 to 3.1.1.sql. but it still reporting the same error.
prke77
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 28 Jul 2017, 10:32

Re: Error 1054 after joomla update from 3.6.5 to 3.7.4

Post by prke77 »

Jan,
Thank you, resolved!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error 1054 after joomla update from 3.6.5 to 3.7.4

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply