User Upload Problem
-
- Phoca Newbie
- Posts: 3
- Joined: 30 Dec 2009, 02:04
User Upload Problem
As admin I cannot add a file in the frontend, there are not sections listed nor categories, I created a section and the category from backend but the problem is the same.
-
- Phoca Newbie
- Posts: 3
- Joined: 30 Dec 2009, 02:04
Re: User Upload Problem
Digging there I found [s]get [/s]the query:
Removing WHERE condition shows:
value text
2 Utilidades
1 Herramientas
Code: Select all
LECT cc.id AS value, cc.title AS text
FROM jos_phocadownload_categories AS cc
LEFT JOIN jos_phocadownload_sections AS s ON s.id = cc.section
WHERE (
cc.uploaduserid LIKE '%-1%'
OR cc.uploaduserid LIKE '%62%'
)
ORDER BY s.ordering, cc.ordering
LIMIT 0 , 30
value text
2 Utilidades
1 Herramientas
CC.UPLOADUSERID ??? what does it mean? .. Where is the user option to create a Category from front end?SELECT cc.id AS value, cc.title AS text
FROM jos_phocadownload_categories AS cc
LEFT JOIN jos_phocadownload_sections AS s ON s.id = cc.section
ORDER BY s.ordering, cc.ordering
LIMIT 0 , 30
-
- Phoca Newbie
- Posts: 3
- Joined: 30 Dec 2009, 02:04
Re: User Upload Problem
phoca download category table:
Changing the uploaduserid to -1, It works for that category, but my question Is it workin properly ?
Code: Select all
id parent_id section title name alias image image_position description published checked_out checked_out_time editor ordering access uploaduserid date count params
1 0 1 Herramientas herramientas left 1 0 0000-00-00 00:00:00 NULL 2 0 -2 2009-12-29 00:00:00 0 NULL
2 0 1 Utilidades utilidades left 1 0 0000-00-00 00:00:00 NULL 1 0 -1 2009-12-29 23:22:41 0 NULL
- Jan
- Phoca Hero
- Posts: 48743
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: User Upload Problem
Hi, you need to add upload rights (for you) into the category.
Jan
Jan
If you find Phoca extensions useful, please support the project