Where is the new version Documentation ?

Hi, 
i see in page https://www.ubertheme.com/docs/magento-2-data-migration-product-attribute-configuration/ the message :
This guide was intended for one who use our old UB Data Migration Pro version. Please discard this guide if you use UB Data Migration Pro v3.0.9 and later.
Please tell me where i can find the doc for the new one.
Other issue : i tried to log in extension in backoffice (htpasswd) but my M2 credentials don’t work. (checked them and tried several times and i’m Magento Admin user)
 
Thanks for your help

7 answers

Profile photo of ubdev Staff 98150.00 $tone November 5, 2020
Public

Hi Axel, 

This guide was intended for one who use our old UB Data Migration Pro version. Please discard this guide if you use UB Data Migration Pro v3.0.9 and later.
Please tell me where i can find the doc for the new one.

Supposed that you used Pro v3.0.9 or the latest Pro v.3.2.5, then please do not follow the guide in the link you mentioned. That is no longer needed. Please refer to the Readme manual packed with your download package only. 

i tried to log in extension in backoffice (htpasswd) but my M2 credentials don’t work.

That seems your server has a special setting. Please apply this tweak code:

  • Download the PHP file here
  • Then, upload that file and overwrite the PHP file at pub/ub-tool/protected/components/UserMenu.php

Once done, you should be able to access the back-end of our module as normal.
Regards,
Ubertheme team
 
 

#1
Profile photo of ubdev Staff 98150.00 $tone November 6, 2020
Public

Hi Axel, 
Our apology. Please try this workaround instead:  
Open the PHP file at pub/ub-tool/protected/components/UserMenu.php
and find the code lines:

if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('WWW-Authenticate:Basic realm="'.$msg1.'"');
header('HTTP/1.0 401 Unauthorized');
echo $msg2;
//throw new CHttpException(401, $msg2);
Yii::app()->end();
} else {
if (!UserMenu::authenticate($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'])) {
header('WWW-Authenticate:Basic realm="'.$msg1.'"');
header('HTTP/1.0 401 Unauthorized');
echo $msg2;
//throw new CHttpException(401, $msg2);
Yii::app()->end();
}
}

Then, you comment that code section as follows: 

/*
if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('WWW-Authenticate:Basic realm="'.$msg1.'"');
header('HTTP/1.0 401 Unauthorized');
echo $msg2;
//throw new CHttpException(401, $msg2);
Yii::app()->end();
} else {
if (!UserMenu::authenticate($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'])) {
header('WWW-Authenticate:Basic realm="'.$msg1.'"');
header('HTTP/1.0 401 Unauthorized');
echo $msg2;
//throw new CHttpException(401, $msg2);
Yii::app()->end();
}
}
*/

We hope that helps. 
Regards,
Ubertheme team
 

#3
Profile photo of automaati 180.00 $tone November 6, 2020
Public

HI,
thank you it skirted well the issue. Therefore, i’ll be carefull about the weakness of security it creates.
Now, i’ve got another issue : between first pass and now, we have changed server, db and user names.
Can i update them in DB >> ub_migrate_step >> databases or could it compromise other (crypted) settings  stored in this table : products, attributes, categories  ..
Thanks
 

#4
Profile photo of Mall Staff 184060.00 $tone November 9, 2020
Public

Hi Axel,
I am sorry for replying to you this late as we’ve just been back from our weekend. 

Now, i’ve got another issue : between first pass and now, we have changed server, db and user names.
Can i update them in DB >> ub_migrate_step >> databases or could it compromise other (crypted) settings  stored in this table : products, attributes, categories  ..

You can re-update the new M1 database credentials in step #1 of our module.
Also, you can manually update M1 and M2 databases credentials in the config file of our module at:pub/ub-tool/protected/config/db.php

Regards,
Mall.

#5
Profile photo of ubdev Staff 98150.00 $tone November 12, 2020
Public

Hi Axel, 
Our site has been back as normal. Please help to submit a new ticket here, we will follow up with you then.
Regards,
Ubertheme team

#7

Please login or Register to Submit Answer

Written By

Comments