Page 1 of 1
Category select not shown in batch popup (file)
Posted: 10 Nov 2022, 12:50
by sviluppo@robyone.net
Hi,
the category select is not shown in batch popup (file section).
Can you help me?
Phoca Download
Version: 3.2.3
Joomla 3.10.11
Re: Category select not shown in batch popup (file)
Posted: 15 Nov 2022, 00:24
by Jan
Hi, can you paste a screenshot of where it is not displayed? Are all categories published?
Re: Category select not shown in batch popup (file)
Posted: 18 Nov 2022, 14:06
by sviluppo@robyone.net
Categories are all published.
Screenshot:
https://ibb.co/60bvRb4
Re: Category select not shown in batch popup (file)
Posted: 18 Nov 2022, 23:30
by Jan
Hi, hmmm, testing now, see no problem:
What about access, are the categories accessible?
Jan
Re: Category select not shown in batch popup (file)
Posted: 02 Dec 2022, 11:36
by sviluppo@robyone.net
I found a solution, can you confirm that it is correct?
I edit line 58 of /administrator/components/com_phocadownload/models
from
$state = $app->getUserStateFromRequest($this->context.'.filter.published', 'filter_published', '', 'string');
to
$state = $app->getUserStateFromRequest($this->context.'.filter.published', 'filter_published', null, 'string');
Thanks
Re: Category select not shown in batch popup (file)
Posted: 02 Dec 2022, 18:24
by Jan
Hi, really no idea how can published filter have effect on category select box

Re: Category select not shown in batch popup (file)
Posted: 18 Dec 2022, 17:35
by BGN
Hi sviluppo,
in which file in /administrator/components/com_phocadownload/models did you change line 58?
Thanks
Bertram
Re: Category select not shown in batch popup (file)
Posted: 19 Dec 2022, 00:22
by Benno
@Bertram,
meant is: /administrator/components/com_phocadownload/models/phocadownloadfiles.php
And yes, in my case the above code from sviluppo works, but I can't judge if this could cause problems elsewhere.
Kind regards,
Benno
Re: Category select not shown in batch popup (file)
Posted: 06 Jan 2023, 09:27
by HueNa
Hello,
I met the same situation, after I update the PHP from Version 7.4.33 to Version 8.0.25.
I'm using Joomla! 3.10.11 and PhocaDownload Version 3.2.3.
To solve the situation, I edited directly the file
/administrator/components/com_phocadownload/views/phocadownloadfiles/tmpl/default_batch.php
Removing the line 30,
And the line 39
improves it.
Re: Category select not shown in batch popup (file)
Posted: 11 Jan 2023, 22:47
by Jan
Hi, thank you for the info.
Jan