Hi All,
I recently migrated my site from php7.4 to php8.1 in preparation to upgrade to Joomla 4. I found Phoca Restaurant Menu version 3.0.2 broke under php8.1, but worked after I remove php8.1 and put back php7.4. I know newer versions exist, but before I purchase a new version I wanted to verify that the newer version will work with php8.1 and both Joomla 3 and Joomla 4. How have you all handled this?
Cheers,
Arnold
php version and phoca restaurant menu version 3.0.2
-
- Phoca Newbie
- Posts: 6
- Joined: 03 May 2023, 11:06
- Benno
- Phoca Hero
- Posts: 9428
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: php version and phoca restaurant menu version 3.0.2
Hi,
see this guide how to migrate Phoca Restaurant Menu v3 to Phoca Restaurant Menu v4.
Kind regards,
Benno
see this guide how to migrate Phoca Restaurant Menu v3 to Phoca Restaurant Menu v4.
Kind regards,
Benno
-
- Phoca Newbie
- Posts: 6
- Joined: 03 May 2023, 11:06
Re: php version and phoca restaurant menu version 3.0.2
Thank you! I will try this out.
-
- Phoca Newbie
- Posts: 6
- Joined: 03 May 2023, 11:06
Re: php version and phoca restaurant menu version 3.0.2
Reviewing the document, this gets me from Joomla 3 to Joomla 4. What about from php7.4 to php8.1? I found under Joomla 3, most of my modules worked under php8.1. However, the Phoca plugins did not work. Would upgrading to a newer version of Phoca Restaurant Menu address this problem?
- Jan
- Phoca Hero
- Posts: 48345
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: php version and phoca restaurant menu version 3.0.2
Hi,
The development for Joomla 3 was stopped cca 1,5 years ago because there is Joomla 4.
Very simple to explain. Some plugin or module has around 1000 lines of code, whereas Phoca extensions are very sophisticated and robust extensions with over a million lines of code, and if we want to bring modern extensions to users, it is not possible to deal with outdated systems.
It takes many many years for developer to overwrite the extension for current conditions so even upgrading of obsolete Joomla 3 website to Joomla 4 could take some time, it just needs to be done.
So again, Phoca Restaurant Menu 4 is ready for Joomla 4 and it is ready for PHP 8.2. (and that's just because it doesn't develop for legacy systems)
But of course Phoca Restaurant Menu is open source system, so if someone is able to overwrite obsolete Joomla 3 version to PHP 8, it is possible to do, there are no limits for this.
Jan
Phoca Restaurant Menu 4 works under PHP 8.2.most of my modules worked under php8.1
The development for Joomla 3 was stopped cca 1,5 years ago because there is Joomla 4.
Very simple to explain. Some plugin or module has around 1000 lines of code, whereas Phoca extensions are very sophisticated and robust extensions with over a million lines of code, and if we want to bring modern extensions to users, it is not possible to deal with outdated systems.
So, yes, unfortunately, the answer is yes. Developing for obsolte systems will cause huge delay and irreversible delay for current extensions (Overwriting extensions for Joomla 4 took many years and there comes Joomla 5 and it will takes even a lot of time to overwrite million lines of code again)Would upgrading to a newer version of Phoca Restaurant Menu address this problem?
It takes many many years for developer to overwrite the extension for current conditions so even upgrading of obsolete Joomla 3 website to Joomla 4 could take some time, it just needs to be done.
So again, Phoca Restaurant Menu 4 is ready for Joomla 4 and it is ready for PHP 8.2. (and that's just because it doesn't develop for legacy systems)
But of course Phoca Restaurant Menu is open source system, so if someone is able to overwrite obsolete Joomla 3 version to PHP 8, it is possible to do, there are no limits for this.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 03 May 2023, 11:06
Re: php version and phoca restaurant menu version 3.0.2
Thank you for your reply. This helps. I appreciate the suggestion about porting the php code over to php8. That would not be my first choice. Now, I will look into getting Phoca Restaurant Menu 4.
-
- Phoca Newbie
- Posts: 6
- Joined: 03 May 2023, 11:06
Re: php version and phoca restaurant menu version 3.0.2
Thank you for your advice. I've contributed to Phoca, and am hoping to be able to download the latest Phoca Menu 4. Benno had posted some instructions on how to upgrade from Menu 3 to Menu 4, but the link is now broken. Are there instructions on how to upgrade to Menu 4 from Menu 3?
- Benno
- Phoca Hero
- Posts: 9428
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: php version and phoca restaurant menu version 3.0.2
Hi,
Kind regards,
Benno
See: https://www.phoca.cz/documentation/86-j ... o-joomla-4Benno had posted some instructions on how to upgrade from Menu 3 to Menu 4, but the link is now broken. Are there instructions on how to upgrade to Menu 4 from Menu 3?
Kind regards,
Benno
-
- Phoca Newbie
- Posts: 6
- Joined: 03 May 2023, 11:06
Re: php version and phoca restaurant menu version 3.0.2
Thank you Benno. That helped.
- Benno
- Phoca Hero
- Posts: 9428
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: php version and phoca restaurant menu version 3.0.2
You're welcome!
Kind regards,
Benno
Kind regards,
Benno