Category listbox missing in upload

Phoca Download - download manager
mr_embo
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 25 Jan 2019, 19:17

Category listbox missing in upload

Post by mr_embo »

Hello,

Since Phoca download version 3.1.5 and higher, I'm missing the Category selection box in the Front End Upload, which makes this version not usable for me.
Via this box, the user needs to select the category where the upload will come.
Below, an URL with the picture of the working category slection in v3.1.4, indicated in red.
https://app.box.com/s/67vvjizut956o6mni9gv8yq9exm393uy

Does something has changed or is it a bug?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category listbox missing in upload

Post by Jan »

Hi,

testing now on 3 different servers, without any such problem :idea:

See:
Image

Do you get the problem in all templates (use some default for testing e.g. protostar)? Does your template override Phoca Download output?

Image

Jan
If you find Phoca extensions useful, please support the project
mr_embo
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 25 Jan 2019, 19:17

Re: Category listbox missing in upload

Post by mr_embo »

Hi Jan,

I've tested now with a protostar based template from the internet with identical results.

Here the version with v3.1.5
https://app.box.com/s/o10ogtvo96q63dpy9dq8cmeqwqcewmhx

And here with v3.1.4
https://app.box.com/s/kadhbo444mgsvq7yjc05hpbzh3cbsvdl

You will see that the category box is missing in v3.1.5 and higher (Upload), and present in v3.1.4

In the example, I have used this public template:
http://a4joomla.com/joomla-templates/co ... ostar.html

I'm using joomla 3.9.2

Best regards,
mr_embo
mr_embo
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 25 Jan 2019, 19:17

Re: Category listbox missing in upload

Post by mr_embo »

Hi Jan,

As an additional check, I've switched back the localisation files from Dutch to English. The result is the same.

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

Re: Category listbox missing in upload

Post by Jan »

Are you sure that both templates (protostar/your template) do not include the override of Phoca Download Output? (just see the foder structure of template: templates/protostar/html/ ... (there will be folder com_phocadownload in case of override).

When you see Javascript console on the upload page, is there some Javascript error?

https://www.phoca.cz/documents/16-jooml ... -conflicts

Jan
If you find Phoca extensions useful, please support the project
mr_embo
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 25 Jan 2019, 19:17

Re: Category listbox missing in upload

Post by mr_embo »

Yes. No overrides in both templates (no com_phocadownload folder)
https://app.box.com/s/4iojvd2d3davwijh1sxltydorhts64lt

And no javascript errors in console
https://app.box.com/s/3or3y7buv2v7dvnfonpfvoq9mzlj03z0

mr_embo
mr_embo
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 25 Jan 2019, 19:17

Re: Category listbox missing in upload

Post by mr_embo »

I've checked the site logs and I see this error passing by...
https://app.box.com/s/uceh5ayqgybeioe1cfjo24ousouuzuqd

Maybe it helps...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category listbox missing in upload

Post by Jan »

Hi, thank you for the log:

1) try to switch from bootstrap layout to standard ... does it work?

2) try to switch back from standard to bootstrap, download this file: https://www.phoca.cz/forumfiles/default ... tstrap.zip , unzip and copy it to folder:

components\com_phocadownload\views\user\tmpl\ so file: default_files_bootstrap.php will be overwritten

and let me if this works?

Thank you, Jan
If you find Phoca extensions useful, please support the project
mr_embo
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 25 Jan 2019, 19:17

Re: Category listbox missing in upload

Post by mr_embo »

Hi Jan,

I've used the original Bootstrap template of Joomla (in Fluid and in static, but I still think Bootstrap is on...). here you see the both results
https://app.box.com/s/bb3b6kgmjg42pczrw4v70owx1xrl0ax6

https://app.box.com/s/wcq7688wpeqpyvyfdotdot0pejj3xevp
So Good in v3.1.4 and missing categories in v3.1.6
No I've applied your solution and it works (also in my own template)
https://app.box.com/s/amt6nyrvh0kmk3hdl3iu1hh3tz256g2w
Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category listbox missing in upload

Post by Jan »

Ok, thank you for the info, I will set it in new version.

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