Page 1 of 1

Phoca Download dosnt't work anymore

Posted: 29 Jul 2022, 10:47
by ChZimm
Hi Forum!

I use phoca Download on Joomla 3.10.10
since one update (don't remember which one) phoca download stopped working.

On Site I get thos error:

Code: Select all

count(): Argument #1 ($value) must be of type Countable|array, stdClass given
In Adminpanel I cant open anything belongs to PD and I get this error:

Code: Select all

0 Cannot access offset of type string on string
Do anyone have an Idea what's wrong?

Greetings
Chris

Re: Phoca Download dosnt't work anymore

Posted: 03 Aug 2022, 23:02
by Jan
Hi, enable debug mode and paste here the full error messages (including the filename and row where the error occurs).

This looks like the server is updated to some newest PHP version. If yes, then is should be better to use latest Joomla and Phoca Download (version 4)

Jan

Re: Phoca Download dosnt't work anymore

Posted: 18 Aug 2022, 10:45
by ChZimm
Hi Jan!
Hope you are fine.

I Use:
PHP Version 8.0.22
Joomla!-Version 3.10.11

How can I verify my Phoca Download Version? If I click on any "Phoca Download link" in admin panel I get an error?
How can I update? What is the latest Version for Joomla 3.x? Can I reinstall by uploading a .zip File?
There are no update Sources available. Is this correct?


Best
Christoph

Re: Phoca Download dosnt't work anymore

Posted: 20 Aug 2022, 22:06
by Jan
Hi, if you are using Joomla 3, you should not use PHP 8.

Use PHP 7.x and Joomla 3 or PHP 8 and Joomla 4. Joomla 3 is obsolete version and includes obsolete extensions so it should not run on latest PHP.

Jan

Re: Phoca Download dosnt't work anymore

Posted: 01 Oct 2022, 02:54
by vipxd
I am having the same problem. Its php 5.6 running. What else can be done about it, before I would be able to remake the whole website on a newer system (Joomla 2.5 running currently)?

Re: Phoca Download dosnt't work anymore

Posted: 01 Oct 2022, 09:07
by Benno
@vipxd,
For security reasons you should urgently update your site to Joomla! 4x or at least to the latest Joomla! 3x version and also your completely outdated PHP version.
Here are instructions how to migrate Phoca Download from J2.5 to J3x and then to J4x.
https://www.phoca.cz/documents/50-jooml ... o-joomla-3
https://www.phoca.cz/documents/50-jooml ... o-joomla-4

Kind regards,
Benno

Re: Phoca Download dosnt't work anymore

Posted: 01 Oct 2022, 10:10
by vipxd
Thanks... I get it that I need to upgrade the page. But setting up a new Page and making a new Template etc. will take a while, at least a month of work.
Is there a way to make Phoca work now, so the old page can be used so long the new one is in work?

Re: Phoca Download dosnt't work anymore

Posted: 01 Oct 2022, 10:41
by Benno
Hi,
Is there a way to make Phoca work now, so the old page can be used so long the new one is in work?
No, because none of us knows why your Phoca Download stopped working. You should also consider the possibility that your site has been hacked.
I would set the site offline immediately and work on a migration. For security and liability reasons, this should be in your interest, but also in the interest of your site visitors. :idea:

Kind regards,
Benno

Re: Phoca Download dosnt't work anymore

Posted: 02 Oct 2022, 04:22
by vipxd
Well, that is not my site, I am just trying to help out. But the owner can not take it offline for longer than a day.
It is not been hacked tho. Just somewhere these Links are going through http instead of https and Chrome is blocking that.
I guess for a temporary solution I will have to remove phoca then and put the downloads manually on the page, to ensure they are going through https only. Phoca is not giving the option to use plain URLs, I guess?
Setting up a new page for a newer Joomla version will take too long to leave the page completely offline for that time.

Re: Phoca Download dosnt't work anymore

Posted: 02 Oct 2022, 09:31
by Benno
Ok.

Kind regards,
Benno