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
Error 1054 after joomla update from 3.6.5 to 3.7.4
-
- Phoca Newbie
- Posts: 4
- Joined: 28 Jul 2017, 10:32
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error 1054 after joomla update from 3.6.5 to 3.7.4
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
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
-
- Phoca Newbie
- Posts: 4
- Joined: 28 Jul 2017, 10:32
Re: Error 1054 after joomla update from 3.6.5 to 3.7.4
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?
-
- Phoca Newbie
- Posts: 4
- Joined: 28 Jul 2017, 10:32
Re: Error 1054 after joomla update from 3.6.5 to 3.7.4
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.
-
- Phoca Newbie
- Posts: 4
- Joined: 28 Jul 2017, 10:32
Re: Error 1054 after joomla update from 3.6.5 to 3.7.4
Jan,
Thank you, resolved!
Thank you, resolved!
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error 1054 after joomla update from 3.6.5 to 3.7.4
Ok
If you find Phoca extensions useful, please support the project