Search
Other Advanced Module Manager questions
Forum

Errors trying to update/install on Joomla 4 test site

Robert Fairhead's Avatar Robert Fairhead
Hi Peter,

I've set up a Joomla 3 to 4 test version of my website tallandtrue.com.au, on which I use several of your free and pro extensions. One of the pro versions is Advanced Module Manager and after the Joomla 4 update, I get the following banner error message:

Your installed version of Advanced Module Manager is not compatible with Joomla 4.
Please check if there is a version of Advanced Module Manager available for Joomla 4 and install that.
The Advanced Module Manager plugin has been disabled!

I've tried to update the extension via the standard Joomla update/install routine and through your Extension Manager. The first failed and I thought it might have something to do with a single site subscription key (sorry, I didn't write down the exact message). So I tried installing the free version and I got prompted to uninstall the pro version first (and I'm worried I'll lose all my settings if I do that!).

The second seemed to work but after it's finished I still get the banner message. Interestingly, Extension Manager shows that 9.3.0 Pro for Joomla! 3 is installed.

I'm hoping you can provide suggestions as to what might be going wrong.

Regards, Robert

PS. I have a screenshot for you of the Extension Manager, but I'm not sure how to upload it.
Robert Fairhead's Avatar Robert Fairhead
Hi Peter,

Thanks. I should have mentioned I read the documentation, specifically steps 1 to 4:

1. First, make sure that your Joomla 3 site is updated to the latest Joomla 3.10 release
2. On Joomla 3.10, update all the installed Regular Labs Extensions to their latest version
3. Upgrade your Joomla 3.10 site to Joomla 4
4. Reinstall the latest versions of all the Regular Labs extensions. This will upgrade the extensions to their Joomla 4 counterpart.

My problem is I can't get past step 4 with the Advanced Module Manager. I even uninstalled it today and tried a clean install of 9.3.0 Pro. That resulted in "Oh No! Issues found!" messages in the Regular Labs - Extension Manager:

These extensions seem to be missing parts that should be installed. Try reinstalling the extensions to fix this.

I tried reinstalling several times, via Extension Manager and Joomla! Extensions, but got the same result. So I deleted it again and tried installing the free version. This worked but again failed with the error messages when I tried to upgrade via your Extension Manager.

By the way, yesterday, trying to resolve the issues with Advanced Module Manager Pro, I got the same message as in this support post when I tried installing the free version over it:

regularlabs.com/forum/advancedmodulemana...-update-over-amm-pro

Perhaps I've broken it and need to "roll back" the Joomla 4 upgrade and start again?

Regards, Robert
Robert Fairhead's Avatar Robert Fairhead
PS. Peter,

The documentation mentions the Conditions Component:

Advanced Module Manager also installs the Regular Labs - Conditions manager component, which stores all the Conditions you connect to modules or other Regular Labs extensions.

Since my last post, I've uninstalled Advanced Module Manager Pro and installed the free version (via the Joomla Extensions manager). There was a red dialog box after the installation, but it contained no text, and there are no errors listed in the Regular Labs Extension Manager.

However, I cannot find the Regular Labs - Conditions manager component. I assume this is not a Pro version only component?

Regards, Robert
Peter van Westen's Avatar Peter van Westen ADMIN
The Regular Labs Conditions component is installed together with Advanced Module Manager. Also with the free version.

Stuff is definitely not going as it should on your setup.
I do indeed advise you to start the upgrade process from Joomla 4 again. Of course on a test location first.
Please post a rating at the Joomla! Extensions Directory
Robert Fairhead's Avatar Robert Fairhead
Hi Peter,

I took a break from the Joomla 4 upgrade test as I needed to rebrand and reorganise my website before upgrading to Joomla 4, and this took longer than I planned!

Today I was ready to try upgrading again with a cleaner version of the website. And I was more methodical in my approach in terms of documenting the steps I took and the results.

I had already updated Articles Anywhere and Advanced Module Manager to the latest versions. But the Joomla 4 pre-upgrade routine also warned me I needed to update Modules Anywhere, which I did through Regular Labs - Extension Manager.

The Joomla 4 upgrade appeared to work. However, I got the following error messages on the post-upgrade screen:
Your installed version of Advanced Module Manager is not compatible with Joomla 4.
Please check if there is a version of Advanced Module Manager available for Joomla 4 and install that.
The Advanced Module Manager plugin has been disabled!

Your installed version of Modules Anywhere is not compatible with Joomla 4.
Please check if there is a version of Modules Anywhere available for Joomla 4 and install that.
The Modules Anywhere plugin has been disabled!

Your installed version of Articles Anywhere is not compatible with Joomla 4.
Please check if there is a version of Articles Anywhere available for Joomla 4 and install that.
The Articles Anywhere plugin has been disabled!

I thought, okay, I'll update them via Extension Manager, but when I tried opening it in Components, I got this error message:
Your installed version of Regular Labs - Extension Manager is not compatible with Joomla 4.
Please check if there is a version of Regular Labs - Extension Manager available for Joomla 4 and install that.

It's getting late in Sydney, and I won't return to the website until tomorrow. I'll try to update Extension Manager via the Joomla Extensions installer and then see if I can update the other three extensions.

Regards, Robert
Peter van Westen's Avatar Peter van Westen ADMIN
All expected behavior.
After upgrading from Joomla 3 to Joomla 4, you need to re-install the Regular Labs extensions to update them to the Joomla 4 versions... as described in the documentation:
docs4.regularlabs.com/extensionmanager/g...m-joomla3-to-joomla4
Please post a rating at the Joomla! Extensions Directory
Robert Fairhead's Avatar Robert Fairhead
Thanks, Peter. Just an update, I downloaded and installed Regular Labs - Extension Manager v8.2.2 (28-Oct-2022) this morning and got the following message when I clicked on it in Components:

An error has occurred.
0 Class "RegularLabs\Library\Parameters" not found

I will try to update my other Regular Labs extensions, but it looks like I'll have to do it via the Joomla Extensions manager.

Regards, Robert
Robert Fairhead's Avatar Robert Fairhead
Hi Peter,

Good news, I downloaded and installed Advanced Module Manager PRO v9.5.2 (28-Oct-2022) and Articles Anywhere PRO v12.5.2 (25-Oct-2022) via the Joomla Extensions manager without any installation errors. (I haven't tried installing the free version of Modules Anywhere because I don't think I use it on the website anymore.)

In testing the pages after the update, I have noticed a couple of issues that I'll have to address:

1) Articles Anywhere - using {article Robert Fairhead}[image-intro][introtext][readmore]{/article} has resulted in the resizing of the image-intro, possibly due to a template specification? I'm going to update this via SQL as {article Robert Fairhead}[link][image-intro width="200" height="200" ][/link][introtext][readmore]{/article}, which will also give me a link from the image.

2) Advanced Module Manager - the Articles - Category module wasn't displaying as it does in the Joomla 3 version of the website - this was particularly noticeable because it's an area I've been working on as part of the rebranding and reorganisation of my website. What I found was that "Also on child items" was set to No on the Joomla 4 test upgrade, whereas it's Yes on the live website. Once I set it to Yes, everything was fine. Obviously, I'll have to check all the other modules, but at least I know what to look for.

Thanks again for your extensions. I haven't tried reinstalling the Extension Manager - I shall do so later.

Regards, Robert
Peter van Westen's Avatar Peter van Westen ADMIN
1) Look into the Articles Anywhere image resize settings. These determine how and if images get resized by default.
But that is the actual resizing of the image file (creating a new resized image file).
How an image is then displayed/resized via CSS is indeed down to the template styling.
For more info about how elements get their styling, you can use the Element Inspector of your browser.

2) I'll look into te conversion script executed by Advanced Module Manager on upgrade.
Probably that setting is not correctly transferred to the new conditions.
Please post a rating at the Joomla! Extensions Directory
Peter van Westen's Avatar Peter van Westen ADMIN
2) I double-checked the code. And it should take over the settings for "Also on child items". So not sure what happened on your setup.
Please post a rating at the Joomla! Extensions Directory
Robert Fairhead's Avatar Robert Fairhead
Hi Peter,

1) Regarding Articles Anywhere after the Joomla 4 upgrade, I should have explained that I did inspect the before and after code. The statement {article Robert Fairhead}[image-intro][introtext][readmore]{/article} produces the following code:

Joomla 3: <img src="/images/writers/writer-robert-fairhead.jpeg" alt="Robert Fairhead" title="Robert Fairhead" class="item-image-intro">

Joomla 4: <img src="/images/writers/resized/writer-robert-fairhead_320x180.jpeg" alt="Robert Fairhead" title="Robert Fairhead" width="320" height="180" type="intro_image">

I'm not blaming Articles Anywhere for the code change - it must be Joomla 4. And I'm not worried about it because, thanks to your extension, I can use SQL to swap the statement with something more specific, like:

{article Robert Fairhead}[link][image-intro width="200" height="200" ][/link][introtext][readmore]{/article}

2) I can confirm the "Also on child items: Yes" property for Include Categories for my Joomla 3 Articles - Category modules was set to "No" ("None") after the Joomla 4 upgrade for at least two more modules. However, it was correctly set for other modules, as was the child items property in the Menu Items section for other modules again. The three affected modules were all created from the same module, where I just changed the Category. There must have been a glitch in my settings for the "parent" module. But I've documented it as something I need to check after upgrading the live website to Joomla 4.

Finally, I had another crack at installing Regular Labs - Extension Manager, and this time it worked. And after this, I was able to update Modules Anywhere. So everything Regular Labs-wise is working fine now!

Big THANKS again for all your help.

Regards, Robert
Peter van Westen's Avatar Peter van Westen ADMIN
1) The resizing is done by Articles Anywhere. Not by Joomla.
Look into the Articles Anywhere image resize settings. These determine how and if images get resized by default.
Please post a rating at the Joomla! Extensions Directory
Robert Fairhead's Avatar Robert Fairhead
Oh, I didn't realise this as much because I've used Articles Anywhere in 100s articles and possibly 1000s of instances, and I've never noticed this resizing before.

I'll have to look back through the documentation, thanks.

Regards, Robert
Robert Fairhead's Avatar Robert Fairhead
Hi Peter,

Good grief, I didn't realise the extensive scope of the configuration options for Articles Anywhere, and I've used the extension happily for years!

But I think there may be a problem with the Joomla 4 upgrade process. The documentation in my Joomla 3 Articles Anywhere plug-in for Image Resizing (which is set to Standard) states:

Only resize when dimensions are given
Images will be resized based on the width or height attributes in the image data tags, like:
[image-intro width="300"]

If no width or height attributes are found, the original image will be used.

The settings below will only be used if you force the image resizing via the tag, like:
[image-intro resize="true"]

My tag statement is: {article Robert Fairhead}[image-intro][introtext][readmore]{/article}

I'm not specifying any width or height attributes in the data tags, and yet Articles Anywhere serves up the following code on Joomla 4:

<img src="/images/writers/resized/writer-robert-fairhead_320x180.jpeg" alt="Robert Fairhead" title="Robert Fairhead" width="320" height="180" type="intro_image">

Compared to this code on Joomla 3:

<img src="/images/writers/writer-robert-fairhead.jpeg" alt="Robert Fairhead" title="Robert Fairhead" class="item-image-intro">

I may be misinterpreting the documentation - like your extensions and their configuration options, it's extensive and can't be faulted.

By the way, the images are 200 x 200 pixels.

Thanks again for all your help, and I trust I'm not stretching our "friendship" with my questions.

Regards, Robert
Peter van Westen's Avatar Peter van Westen ADMIN
Can you give me (super) admin and (s)ftp access so I can take a look?
And tell me on what url I can see/reproduce the issue.
You can use the 'Confidential information' button in the forum editor to hide sensitive information.
Please post a rating at the Joomla! Extensions Directory
Robert Fairhead's Avatar Robert Fairhead
Hi Peter,

The upgraded Joomla 4 test website is in a password-protected directory on my shared server - the URL for it is:

staging.rocher.com.au/

Confidential information:
(hidden)

Confidential information:
(hidden)


I've created a Joomla admin super user for you:

Confidential information:
(hidden)

Confidential information:
(hidden)


In the Content Articles, I've updated the first 2 with the following image width/height tags for Articles Anywhere (scroll to the bottom of the article):

{article Robert Fairhead}[link][image-intro width="200" height="200" ][/link][introtext][readmore]{/article}

But the rest of the articles (from Timeline Memories onwards) have the standard statement:

{article Robert Fairhead}[image-intro][introtext][readmore]{/article}

Here's a URL where I've used the image tags:

staging.rocher.com.au/reviews/books/the-...-by-kristel-thornell

And here's the URL for Timeline Memories:

staging.rocher.com.au/fiction/short-stories/timeline-memories

For comparison, here are the same URLs on the live Joomla 3 website:

www.tallandtrue.com.au/book-reviews/the-...-by-kristel-thornell

www.tallandtrue.com.au/fiction/short-stories/timeline-memories

I rarely use FTP to access the server folders or upload to them, so I need to look at setting this up for you tomorrow.

Thanks again for your help.

Regards, Robert
Peter van Westen's Avatar Peter van Westen ADMIN
Well, you do NOT have the resize setting set to 'Standard'. It is set to 'Yes'.

So all is working as expected. All images will be resized using the settings in the Articles Anywhere system plugin.

If you do not want the images resized by default and only have them resized when a width and/or height is set, set that option to 'Standard'... and clear your Joomla cache.
Please post a rating at the Joomla! Extensions Directory
Robert Fairhead's Avatar Robert Fairhead
Thanks, Peter, I'll do that.

But as mentioned, I didn't know this Articles Anywhere setting existed until the other day. And then, when I checked it in the extension in my Joomla 3 live website, it was set to Standard. I just assumed the setting would be the same after the Joomla 4 upgrade.

And I guess that teaches me two things:

1) Read more of the documentation on the configuration settings for your extensions

2) Never assume anything!

Thanks again, Robert
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription