Search
Other Advanced Module Manager questions
Forum

Template position and module inside disappeared after Pro install

Stefan Petrounov's Avatar Stefan Petrounov
Template position and module inside disappeared after Pro install. The module and the template positions are enabled and now we cannot show them on the frontend. Joomla 4 with latest Advanced Module Manger.
Help needed!
Stefan Petrounov's Avatar Stefan Petrounov
In particular .. we made an upgrade from J3 to J4 ... everything was OK ... after an update of the RL AMM one of the positions, the off-canvas, disappeared with the module inside. We changed nothing and now we cannot make it show in the frontend.
Please help!
Peter van Westen's Avatar Peter van Westen ADMIN
Advanced Module Manager should take over any module assignments and convert them to conditions.
Check if the conditions on the module are what you expect them to be.
Please post a rating at the Joomla! Extensions Directory
Stefan Petrounov's Avatar Stefan Petrounov
Dear Peter,

We have checked everything. This is the 3-rd license that we get and we know how it works. We tried to uninstal and reinstall it and now we cannot even install it.
We installed the Extension Manager successfully. Then we try to install the AMM Pro which also said that is installed successfully.
Screenshot 1:
ivelinabobevski.com/images/regularlabs/AMM_install.png

After this the frontend breaks with the following error.
Screenshot 2:
ivelinabobevski.com/images/regularlabs/Site_error.png

After uninstalling the AMM Pro via the Extension Manager everything is back to normal and we still cannot see the template's off-canvas0user position with the Register / Login module inside. It just disappeared after the AMM Pro uninstall.

With Kindest Regards,
Stefan Petrounov
Peter van Westen's Avatar Peter van Westen ADMIN
Empty your Joomla cache.
Then enable debug mode and error reporting in your Joomla configuration and see what the full error is.
Please post a rating at the Joomla! Extensions Directory
Stefan Petrounov's Avatar Stefan Petrounov
Dear Peter,
Cache is OFF and cleaned. Debug is ON and error reporting to maximum, but the debug window shows only in backend and not in the frontend, so we cannot even see the trace.Before this situation the debug was working. After uninstall of the AMM Pro the debug works again as expected.
We are out of ideas how to find the problem.

Kind Regards,
Stefan
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
Stefan Petrounov's Avatar Stefan Petrounov
Dear Peter,

Thank you for the fast reply. We have made all backups and prepared the required information for you to check.

The error after installing the AMM pro is even on the main page:

ivelinabobevski.com/

Here is the required information:

Confidential information:
(hidden)



Also the missing position and module are these:

Position: off-canvas-user
Module: Your I&B Profile (mod_registerlogin)
Screenshot1: ivelinabobevski.com/images/regularlabs/Missing_module.png
Screenshot2: ivelinabobevski.com/images/regularlabs/Missing_module_2.png

I should mention that the same thing happened before when we were with Joomla 3 and uninstalled the AMM Pro by mistake. Some positions and modules just disappeared from the frontend and we had to restore the site from backup as we could not identify the problem. The modules did not appear even after reinstall of the AMM pro.

I hope this would help. Thank you in advance for the support.

With Kindest Regards,
Stefan
Peter van Westen's Avatar Peter van Westen ADMIN
I am unable to connect via SFTP.
Please post a rating at the Joomla! Extensions Directory
Peter van Westen's Avatar Peter van Westen ADMIN
The whole website seems to be down at the moment.
Please post a rating at the Joomla! Extensions Directory
Stefan Petrounov's Avatar Stefan Petrounov
Dear Peter,

Here is the FTP configuration from the cpanel, not the SFTP but the normal FTP:

Confidential information:
(hidden)


Yes. this happens after AMM Pro install ... if you uninstall it the site will be up and running again.

With Kind Regards,
Stefan
Peter van Westen's Avatar Peter van Westen ADMIN
The whole website seems to be down at the moment.
I mean: I cannot load your website at all. Not the admin and not the frontend. No error, it just keeps loading till it returns:
Hmmm… can't reach this
... took too long to respond

Connecting to FTP or sFP times out too.

So either your server is down, or it is blocking my IP or something.
Please post a rating at the Joomla! Extensions Directory
Stefan Petrounov's Avatar Stefan Petrounov
Dear Peter,

I flushed the firewall blocks. Maybe because of wrong try to login via the SFTP. Try the normal one that I sent you last.

Now it should be OK for you.

If you give me your IP I will put it in the whitelist so it will not block you by mistake in future.

Kind Regards,
Stefan
Peter van Westen's Avatar Peter van Westen ADMIN
I can connect to the website now.
Connecting via FTP still times out.
Connecting via sFTP gives me: Access denied, Authentication failed.

My IP:
IPv6: 2001:1c01:410e:1700:b982:2a57:6732:ed41
IPv4: 85.147.255.149
Please post a rating at the Joomla! Extensions Directory
Stefan Petrounov's Avatar Stefan Petrounov
Dear Peter,
try the normal FTP:

Confidential information:
(hidden)



It works without any problems. Do not worry about the security as after this I will disable the standart FTP service.

Kind Regards,
Stefan
Peter van Westen's Avatar Peter van Westen ADMIN
Yes, that is working...
Please post a rating at the Joomla! Extensions Directory
Peter van Westen's Avatar Peter van Westen ADMIN
The error is most probably caused by a custom PHP assignment (condition) you have on one or more modules.
The isSite() is something that does work in Joomla 3 and not in Joomla 4.
Please post a rating at the Joomla! Extensions Directory
Stefan Petrounov's Avatar Stefan Petrounov
Dear Peter,

I am very thankful for your prompt support.

I found the offending module :
------------------------------------
#grep -Rnw './' -e 'isSite'
./modules/mod_sj_vm_responsive_products/core/helper.php:227: $isSite = $app->isSite ();
./modules/mod_sj_vm_responsive_products/core/helper.php:231: if($isSite and !VmConfig::get('use_as_catalog',0)) {
./modules/mod_sj_vm_responsive_products/core/helper.php:254: if ($isSite and !VmConfig::get('show_uncat_child_products',TRUE)) {
./modules/mod_sj_vm_responsive_products/core/helper.php:263: if ($isSite) {
------------------------------------

I disabled it and the site is back online.

The language switcher was gone and a couple of other modules needed a fix in the conditions and they all worked as expected.

The only thing left is that still the "Your I&B Profile", which is "mod_registerlogin" module in the "off-canvas-user" position is still not working. I removed all conditions for him and AMM says that it will be shown on all pages, but no luck.
It is updated for Joomla 4 and in other positions is working.

So we are back on the first question. We cannot make it show on the website no matter what. When we put it in anotherposition it works ... for example in the position "off-canvas" where the mobile menu is.

Will be very thankful if you have any idea about the conditions of this module.:

ivelinabobevski.com/images/regularlabs/Missing_module.png

Kind Regardas,
Stefan
Peter van Westen's Avatar Peter van Westen ADMIN
The module does appear in your html output. Search for:
id="Mod343"
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription