Errors i get

Phoca Download - download manager
falcongr
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 08 Apr 2014, 16:58

Errors i get

Post by falcongr »

Hello
I have installed the phocadownload to a joomla 3.2.3 site i am constructing and when i press at the files button i get the following error
"1054 Unknown column 'approved' in 'where clause' SQL=SELECT COUNT(a.id) AS count FROM v8cv7_phocadownload AS a WHERE approved = 0 LIMIT 0, 1'

When i press the categories button i get the following error

" 1054 Unknown column 'a.language' in 'on clause' SQL=SELECT a.*,l.title AS language_title,uc.name AS editor,ag.title AS access_level,c.title AS parentcat_title, c.id AS parentcat_id,cc.countid AS countid FROM `v8cv7_phocadownload_categories` AS a LEFT JOIN `v8cv7_languages` AS l ON l.lang_code = a.language LEFT JOIN v8cv7_users AS uc ON uc.id=a.checked_out LEFT JOIN v8cv7_viewlevels AS ag ON ag.id = a.access LEFT JOIN v8cv7_phocadownload_categories AS c ON c.id = a.parent_id LEFT JOIN (SELECT cc.parent_id, count(*) AS countid FROM v8cv7_phocadownload_categories AS cc GROUP BY cc.parent_id ) AS cc ON a.parent_id = cc.parent_id WHERE (a.published IN (0, 1)) GROUP BY a.id ORDER BY a.title asc "

and when i press the licences button i get the following error

"Error
Unknown column 'a.language' in 'on clause' SQL=SELECT COUNT(*) FROM `v8cv7_phocadownload_licenses` AS a LEFT JOIN `v8cv7_languages` AS l ON l.lang_code = a.language LEFT JOIN v8cv7_users AS uc ON uc.id=a.checked_out WHERE (a.published IN (0, 1)) Unknown column 'a.language' in 'on clause' SQL=SELECT a.*,l.title AS language_title,uc.name AS editor FROM `v8cv7_phocadownload_licenses` AS a LEFT JOIN `v8cv7_languages` AS l ON l.lang_code = a.language LEFT JOIN v8cv7_users AS uc ON uc.id=a.checked_out WHERE (a.published IN (0, 1)) ORDER BY a.title asc LIMIT 0, 20 Unknown column 'a.language' in 'on clause' SQL=SELECT COUNT(*) FROM `v8cv7_phocadownload_licenses` AS a LEFT JOIN `v8cv7_languages` AS l ON l.lang_code = a.language LEFT JOIN v8cv7_users AS uc ON uc.id=a.checked_out WHERE (a.published IN (0, 1))
"

Any idea what these errors mean?

Thank you in advance
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Errors i get

Post by Jan »

Hi, this means some tables or columns of tables are missing in your database - try to see:
https://www.phoca.cz/documents/17-phoca- ... -solving68
Jan
If you find Phoca extensions useful, please support the project
falcongr
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 08 Apr 2014, 16:58

Re: Errors i get

Post by falcongr »

I read the post you mentioned but no luck. is there anything else i can do?
Some more information if i can help you, i have use migrateme as i need to migrate a joomla 1.5 to joomla 3.2, everything is ok except the phocadownload component which gives me these errors and doesn't let me create a new download or view the existing downloads.

Your help will be much appreciated.
falcongr
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 08 Apr 2014, 16:58

Re: Errors i get

Post by falcongr »

I manage to solve it .
I follow a different way in order to migrate the old site.
I first make a clean installation together with the phoca download and phoca gallery componenets and then i migrate the old database with the migrate me tool and now i can work without any of the previous errors
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Errors i get

Post by Jan »

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