Phoca Download dosnt't work anymore

Phoca Download - download manager
ChZimm
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 29 Jul 2022, 10:42

Phoca Download dosnt't work anymore

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Download dosnt't work anymore

Post 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
If you find Phoca extensions useful, please support the project
ChZimm
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 29 Jul 2022, 10:42

Re: Phoca Download dosnt't work anymore

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Download dosnt't work anymore

Post 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
If you find Phoca extensions useful, please support the project
vipxd
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Oct 2022, 02:28

Re: Phoca Download dosnt't work anymore

Post 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)?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9094
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Phoca Download dosnt't work anymore

Post 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
vipxd
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Oct 2022, 02:28

Re: Phoca Download dosnt't work anymore

Post 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?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9094
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Phoca Download dosnt't work anymore

Post 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
vipxd
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Oct 2022, 02:28

Re: Phoca Download dosnt't work anymore

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9094
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Phoca Download dosnt't work anymore

Post by Benno »

Ok.

Kind regards,
Benno
Post Reply