J4.2.5 some modules not displayed

Phoca Cart - complex e-commerce extension
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

J4.2.5 some modules not displayed

Post by Alexander »

Hi

I upgraded J3.10.11 to J4.2.5 on a test site running PHP 8.0.25. After the upgrade, the "Phoca Cart Currency Module" and "Phoca Cart Cart Module" are not displayed anymore in the Main Menu (as submenus). There are <div g-menu-item-container> entries but they are empty. "Phoca Cart Checkout Layout" works fine.

I tried to put "Phoca Cart Currency Module" and "Phoca Cart Cart Module" in a seperate Menu and placed it somewhere else on the page -> same result, they are not displayed.

Everything works perfectly with J3.10.11 and PHP 8.0.25 on my productive site.

Any idea?

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

Re: J4.2.5 some modules not displayed

Post by Benno »

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

Kind regards,
Benno
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Re: J4.2.5 some modules not displayed

Post by Alexander »

Hi Benno

I migrated the 3.10.11 version to the test site using Akeeba backup/Kickstart. Then I updated to J4.2.5 and reinstalled all Phoca Components. I had to fix one database table because Maintenance: Database complained that one field was missing. I also had to change some configuration parameters in Options/Display. After that, everything looked fine except for the menus. I just checked that the changes in Options/Display do not change the odd menu behavior.

I do not really think that it is a database or image issue as the database mainly contains product etc. info and not Joomla code.

But if you think it might help, I can completely deinstall Phoca on the 4.2 site and reinstall it from scratch using your guide.

Alexander
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Re: J4.2.5 some modules not displayed

Post by Alexander »

I saw read guide but did not want to Migrate but Upgrade.

Alexander
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Re: J4.2.5 some modules not displayed

Post by Alexander »

Hi Benno
I did as you recommended and used the migration procedure intead of an upgrade. I completely deinstalled all Phoca components, checked that really everything is deleted including overrides and installed com_phocacart_v4.0.5, pkg_phocacart_modules_v4.0.4 and your translation pack de-DE.com_phocacart-j3-j4. I did not install any data or restore the phoca database tables. Result as expected. "Phoca Cart Currency Module" and "Phoca Cart Cart Module" are not displayed anymore in the Main Menu (as submenus).
I installed Gantry5 Hydrogen template and assigned it to the Phoca Shop page, same result, no "Phoca Cart Currency Module" and "Phoca Cart Cart Module" displayed in menu.
What else can I do?
Alexander
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9437
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: J4.2.5 some modules not displayed

Post by Benno »

Hi,
unfortunately I don't know what exactly you mean. Can you please post screenshots of J3 where what you mean works and of J4 where it doesn't work.

Kind regards,
Benno
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Re: J4.2.5 some modules not displayed

Post by Alexander »

Where there should be menu items, there is nothing.

Screeshots can be found:

Joomla 4.2.5 situation with vanilla Hydrogen template: https://hai.swiss/images/screenshots/J-4-2-5.png

Joomla 3.10.11 productive site: https://hai.swiss/images/screenshots/J-3-10-11.png
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: J4.2.5 some modules not displayed

Post by Jan »

Did you test all the settings:

- if modules are installed
- if they are enabled
- if they are set for all pages
- if they include right position
- if the position is defined in gantry outline
- if the template overrides are included in template if there were some previously, etc. :idea:

Jan
If you find Phoca extensions useful, please support the project
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Re: J4.2.5 some modules not displayed

Post by Alexander »

Hi Jan
Yes, everything is correctly installed and configured. The Phoca modules show/work when I put them anywhere on the page. The problem only arises when I put them in a Menu using the Gantry Menu.
After a lot of experimenting I get the impression, that J4.2.5 does not support the same (Phoca?) modules in menus twice or more times on a page. Even if they are not visible. I used the "Split Menu" functionality in Joomla 3.x. I.e. I put the main menu on top of the page showing just the top menu items and place the "Shop" submenu part of the main menu beneath the top slider (have a look at https://shark.swiss/shop-en). This does not seem to work anymore in J4.?.
Alexander
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: J4.2.5 some modules not displayed

Post by Jan »

Hi, really hard to say, I don't have any experiences with adding modules into the menu :idea:
If you find Phoca extensions useful, please support the project
Post Reply