Extension can’t be accessed by admin menu

Hi,
i’ve a Magento 2.4.2 fresh install,
installed Ub Data Migration Pro 3.2.6
And when i go to admin menu i got a strange page and
cannot acces the module.
see screenshot here : https://ibb.co/jrGvbkG
any one have a clue for this ?
Thanks
 
edit : I must specify, that the backoffice domain name is not the same as the front one. mayeb this is involved

  1. Profile photo of Fabrice Fetschffab 100.00 $tone August 5, 2021
    I digged in. In fact at this point the code try to load a local iframe in /pub/ub-toolbut the magento 2.4.2 install has the domains pointed to the /pub folderas magento now recommands it.i mean, the module does not properly check that, i had to change a litlle the code.maybe you can add this to next module version ?regards

3 answers

Profile photo of ubdev Staff 98150.00 $tone August 6, 2021
Public

Hi there, 
We’re glad that you figured it out at your end. 

I digged in. In fact at this point the code try to load a local iframe in /pub/ub-toolbut the magento 2.4.2 install has the domains pointed to the /pub folderas magento now recommands it.i mean, the module does not properly check that, i had to change a litlle the code.maybe you can add this to next module version ?regards

Actually, that related to the Vhost setting associated with your specific domain only. Our module already has the process to detect the root folder of the domain. 
In case you have any additional questions, please get back to us here.
Regards,
Ubertheme team

#1
Profile photo of Fabrice Fetsch 100.00 $tone August 6, 2021
Public

Hi, thanks for your answer.
you are right, the module has a part of code that can check if vhost are pointed to /pub or not. but this part, for my installation gave the wrong result. 
in the following condition, i falled allways in the ‘else’ statement. I was able to fix and run migration.

app/code/Ubertheme/Ubdatamigration/Block/Index.php

if (substr($documentRoot, (strlen($documentRoot) - 3)) == $pubFolder
|| strpos($baseUrl, "/pub/")
#2
Profile photo of ubdev Staff 98150.00 $tone August 6, 2021
Public

Hi there, 
 
Yes, please move forward with the migration at your end. In case you come across any other issues, please get back to us here. 
 
PS. Our apology for a certain delay in response if you reach out to us during the weekend. 
 
Regards,
Ubertheme team

#3

Please login or Register to Submit Answer

Written By

Comments