AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: aph on June 22, 2022, 02:35:55 PM

Title: Cannot connect my store to the "marketplace"
Post by: aph on June 22, 2022, 02:35:55 PM
When trying to connect I get the following message after entering my account details.

Connect to the marketplace

{"error_title":"Login Error!","error_text":"You are not logged in. You will be redirected to login page","show_dialog":true,"reload_page":true,"error_code":401}

This appears to be preventing me updating the Abantecart core. Frustratingly after it has failed if I browse to the abantecart marketplace url ending /index.php?rt=account/login I find that I have been logged in!

Any ideas? Thank you
Title: Re: Cannot connect my store to the "marketplace"
Post by: aph on June 22, 2022, 02:49:48 PM
Just to add some more detail. Recently the store's domain was moved form a sub domain to the main domain. I deleted the old connected store from the marketplace account but I have a suspicion that the domain ID has remained the same when the site was moved (by file transfer) and this is still being associated with the old store web address and causing the error??
Title: Re: Cannot connect my store to the "marketplace"
Post by: abolabo on June 23, 2022, 04:23:12 AM
To solve please try to change UNIQUE_ID inside file system/config.php and let us know regarding login to MP
Title: Re: Cannot connect my store to the "marketplace"
Post by: aph on June 23, 2022, 05:41:57 AM
I changed the last digit in the ID, saved config.php, flushed the server cache, opened a new browser session and sadly still had the same result.

And I had good feelings about your suggestion!

The only difference is that it no longer logs me into MP in the background.

Your help is much appreciated, thank you.
Title: Re: Cannot connect my store to the "marketplace"
Post by: Basara on June 23, 2022, 06:12:14 AM
Hello.
Can you please check with your hosting provider if there is a possibility that start to block server to server connections to the marketplace.abantecart.com
Title: Re: Cannot connect my store to the "marketplace"
Post by: aph on June 23, 2022, 07:42:00 AM
I've checked with Siteground, the host, and they were most helpful - no server to server blocks - they also logged in to my site and replicated the error from their console. So I'm still thinking it must be something within the code and unique ID being tripped up due to the domain move? They raised a ticket for their techs to see if they can offer any advice.

I'll keep you posted if they have any ideas.

Thank you

Nick
Title: Re: Cannot connect my store to the "marketplace"
Post by: Basara on June 23, 2022, 07:57:21 AM
Please update this post if they provide more details.

Thank You