Unable to install on Joomla 4

Phoca Download - download manager
thefbi
Phoca Member
Phoca Member
Posts: 12
Joined: 26 May 2010, 08:20

Unable to install on Joomla 4

Post by thefbi »

Hello,
I have a simple but a problem, i cant install Phoca download on my J4 site.
I already have Phoca because this site was on J3, and now updated on J4.

I downloaded the Phoca download component and just try to upload the archieve as usual, and i have the error Unable to find the installation pack...

Any idea ?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9139
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Unable to install on Joomla 4

Post by Benno »

Hi,
did you follow all steps of this migration guide?
https://www.phoca.cz/documents/50-jooml ... o-joomla-4

Kind regards,
Benno
thefbi
Phoca Member
Phoca Member
Posts: 12
Joined: 26 May 2010, 08:20

Re: Unable to install on Joomla 4

Post by thefbi »

Hello,
Sorry, was a problem with this hosting and it was full. That is the reason i cant install anything.
I just install the new component and now it seem to be OK.

I imagine i dont have to do anything else ? When i have updated to J4, i have do that from the J3 site directly, so all the data still here. So it will be ok like that no ?

Regards
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9139
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Unable to install on Joomla 4

Post by Benno »

Hi,
I imagine i dont have to do anything else ?
You have to export the database tables of Phoca Download J3 version and import it to Phoca Download J4 version,
See the guide I have linked.

Kind regards,
Benno
thefbi
Phoca Member
Phoca Member
Posts: 12
Joined: 26 May 2010, 08:20

Re: Unable to install on Joomla 4

Post by thefbi »

Excuse me, but as long as the tables are present since version 3 of Joomla with phocadownload, I do not understand why I need to export them to re-import them?

Because if i watch in the admin, all the data seems to be here.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9139
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Unable to install on Joomla 4

Post by Benno »

Hi,
Unfortunately I can't describe the way of a standard migration from Phoca Download for Joomla! 3 to Phoca Download for Joomla! 4 better than it was already done by Jan in the guide I linked.

Once again in short form:
1) Export the data (See the guide I linked on how to accomplish this.) of the Phoca Download J3 database tables and save them locally.
2.) The files from the folders:
[images/phocadownload]
[phocadownload] if you use your own directory, save this directory
[phocadownloadpap]
save locally.
3.) Uninstall Phoca Download for J3.
4.) Perform the upgrade from Joomla! 3 to Joomla! 4.
5) Install Phoca Download for J4.
6) Import the data of the exported J3 database tables into Phoca Download for J4.
Before that you have to empty two tables, because they are not empty during the installation.
7.) Copy the files saved in point 2.) into the appropriate directories.
I do not understand why I need to export them to re-import them?
Because a freshly installed Phoca Download for J4 cannot contain the data of your old Phoca Download for J3. You have to import them again, as described above.

Kind regards,
Benno
plamen
Phoca Professional
Phoca Professional
Posts: 100
Joined: 16 Mar 2014, 13:23

Re: Unable to install on Joomla 4

Post by plamen »

Sorry to cut in,
But I've already upgraded the whole installation from J3 to J4 and after that Phoca Download to version 4.0.4 (suitable for J4)
So far the only problem was with styles (CSS files for this component), but with some investigation, it was solved.
In case you didn't play too much with PD styles you are OK to proceed.
The reason why I didn't follow these instructions was that I haven't a separate installation of J4, and also I don't know how to transfer all articles, images, etc. safely between them. Official Joomla upgrade info is to update the existing installation, not to make a new one.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9139
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Unable to install on Joomla 4

Post by Benno »

Hi,
Official Joomla upgrade info is to update the existing installation, not to make a new one.
Right!
And this is exactly what I meant with step 4.)
4.) Perform the upgrade from Joomla! 3 to Joomla! 4
.

Kind regards,
Benno

Edit: If you perform the Joomla! 3 to Joomla! 4 upgrade, you can skip steps 2.) and 7.) because Phoca Download does not delete these directories and files during uninstallation.
plamen
Phoca Professional
Phoca Professional
Posts: 100
Joined: 16 Mar 2014, 13:23

Re: Unable to install on Joomla 4

Post by plamen »

Step 4 indeed was overlooked :)
Post Reply