xpagliosa Posted April 17, 2015 Share Posted April 17, 2015 Hi, When I try to login to PrestaShop Addons in Modules section of my back office, I receive the error:"PrestaShop was unable to log in to Addons. Please check your credentials and your Internet connection."I can connect normaly in https://addons.prestashop.com, but from back office I receive that error.How can I solve these? Regards, Alexandre. 1 Link to comment Share on other sites More sharing options...
abdoulayems Posted April 27, 2015 Share Posted April 27, 2015 helloi have the same problem. i can't log in addon from my back office. Did u solve your problem ??thank you Link to comment Share on other sites More sharing options...
Xavier du Tertre Posted April 27, 2015 Share Posted April 27, 2015 Hello, What version of PrestaShop are you using, and what version of PHP? Thanks Link to comment Share on other sites More sharing options...
abdoulayems Posted April 27, 2015 Share Posted April 27, 2015 hello i'm using prestashop on cloud solution the 1.6 version.I didn't configure a version of php Link to comment Share on other sites More sharing options...
Xavier du Tertre Posted April 27, 2015 Share Posted April 27, 2015 Is there any chance that you're trying to log in with your Cloud ID + password? If not, if these are really your Addons credentials, can you log directly to Addons with them? Link to comment Share on other sites More sharing options...
abdoulayems Posted April 27, 2015 Share Posted April 27, 2015 (edited) Yes Xavier i have the same ID and password for Prestashop Cloud and for addons marketplace.And yes, i log successfuly with it, when i go to addons website. Edited April 27, 2015 by abdoulayems (see edit history) Link to comment Share on other sites More sharing options...
Arte Combate Posted April 27, 2015 Share Posted April 27, 2015 Hi Xavier!Prestashop version 1.6.0.14 PHP version 5.3.29 I can log directly into the prestashop addons site normally. I use the same user in admin and prestashop addons. Link to comment Share on other sites More sharing options...
Philipw Posted May 11, 2015 Share Posted May 11, 2015 (edited) Hi I have the same problem We got our site install from our web hosting After some hours to load up our products, we found out how to change the Slider in module, but cant sign in to Addons from Back-office So our website show their module, unfinished construction, their link, tel, etc. We try a new with Cloud, and got the same problem Can any one show me how it work? Thanks Edited May 11, 2015 by Philipw (see edit history) Link to comment Share on other sites More sharing options...
Bacardichile Posted May 23, 2015 Share Posted May 23, 2015 Me Too!!!! Same Problem Prestashop 1.6.0.14Información del servidor Linux #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64 Versión del servidor web Apache Versión de PHP 5.3.27 Límite de memoria 128M Tiempo Máximo de ejecución 30 Link to comment Share on other sites More sharing options...
Pshopmod Posted July 28, 2015 Share Posted July 28, 2015 I solved it by enabling allow_url_fopen. I'm not sure if this is a security risk. Link to comment Share on other sites More sharing options...
fclevski Posted October 1, 2015 Share Posted October 1, 2015 Hi, I have the same problem. I cannot login to Prestashop addons from my PS back office. I can login to my account on their website with no problem. Have anyone solved this problem? Link to comment Share on other sites More sharing options...
webnovo Posted October 15, 2015 Share Posted October 15, 2015 I have same problem. Anyone solved? Link to comment Share on other sites More sharing options...
tastimur Posted February 22, 2016 Share Posted February 22, 2016 Same Issue Prestashop 1.6.0.13 Link to comment Share on other sites More sharing options...
tastimur Posted February 22, 2016 Share Posted February 22, 2016 allow_url_fopen is already on. I still get the message: PrestaShop was unable to log in to Addons. Please check your credentials and your Internet connection. Prestashop 1.6.13 Link to comment Share on other sites More sharing options...
vaporz Posted March 10, 2016 Share Posted March 10, 2016 Any resolution on this issue? Link to comment Share on other sites More sharing options...
vaporz Posted April 29, 2016 Share Posted April 29, 2016 According to my host provider, it has something to do with the htaccess, we have it fixed but not without a fight with the hosting folks. This was their answerThere was an .htaccess file in your ~/public_html directory referencing a php.ini file.This file contained an incompatible or obsolete PHP directive which caused the log-in to fail. I have renamed the php.iniI have multiple installs that this fixed. Seems that some hosts may be sharing the same files is why all my new test installs would still not work. Or they were giving me an answer they thought would make me happy. If you are still having these issues, it is Definitely with your host provider. I have another host provider I made a fresh install on and all addon logins worked great with no problems.Don't let your host provider tell you it is not their fault.But, I could be wrong??Consider my issues fixed on this thread. Link to comment Share on other sites More sharing options...
paulcsavdari Posted October 29, 2016 Share Posted October 29, 2016 I had same problem. I worked a few hours around it. Finnaly, for me the solution was to change the addonis password. It worked simple like that! Link to comment Share on other sites More sharing options...
KingKalp Posted February 3, 2017 Share Posted February 3, 2017 You simply needs to activate Extension from the WHM or install the Multi INI and there is an option... Link to comment Share on other sites More sharing options...
vijayrami Posted March 17, 2017 Share Posted March 17, 2017 Hello, I solved by making following changes. in js/admin.js find function bindAddonsButtons() { // Method to log on PrestaShop Addons WebServices $('#addons_login_button').click(function() In that i just replace the code for AJAX success. There is something wrong in that. Below is the change which i applied: success : function(data){ var datastring = (data.trim()); if (datastring == "OK") { $('#addons_loading').html(''); $('#addons_login_div').fadeOut(); window.location.href = currentIndex + '&token=' + token + '&conf=32'; } else { $('#addons_loading').html('<br><div class="alert alert-danger">'+errorLogin+'</div>'); } } Hope its work. Link to comment Share on other sites More sharing options...
ynocquet Posted April 1, 2017 Share Posted April 1, 2017 (edited) After several hours, I have finally found the issue and solved it for 1.6.x.x versions. (You must be sure that curl and allow_url_fopen are activated) In /classes/tools.php, the function file_get_contents never uses curl because one of the conditions is wrong. In the function file_get_contents, you must replace the following line : if (in_array(ini_get('allow_url_fopen'), array('On', 'on', '1')) || !preg_match('/^https?:\/\//', $url)) { by this line : if (!preg_match('/^https?:\/\//', $url)) { You should now be able to connect to prestashop addons. Edited April 2, 2017 by ynocquet (see edit history) 2 1 Link to comment Share on other sites More sharing options...
5haun Posted May 11, 2017 Share Posted May 11, 2017 (edited) After several hours, I have finally found the issue and solved it for 1.6.x.x versions. (You must be sure that curl and allow_url_fopen are activated) In /classes/tools.php, the function file_get_contents never uses curl because one of the conditions is wrong. In the function file_get_contents, you must replace the following line : if (in_array(ini_get('allow_url_fopen'), array('On', 'on', '1')) || !preg_match('/^https?:\/\//', $url)) { by this line : if (!preg_match('/^https?:\/\//', $url)) { You should now be able to connect to prestashop addons. Thanks this worked for me PS 1.6.1.6 Edited May 11, 2017 by 5haun (see edit history) Link to comment Share on other sites More sharing options...
restorhome Posted June 9, 2017 Share Posted June 9, 2017 Hello, I solved by making following changes. in js/admin.js find function bindAddonsButtons() { // Method to log on PrestaShop Addons WebServices $('#addons_login_button').click(function() In that i just replace the code for AJAX success. There is something wrong in that. Below is the change which i applied: success : function(data){ var datastring = (data.trim()); if (datastring == "OK") { $('#addons_loading').html(''); $('#addons_login_div').fadeOut(); window.location.href = currentIndex + '&token=' + token + '&conf=32'; } else { $('#addons_loading').html('<br><div class="alert alert-danger">'+errorLogin+'</div>'); } } Hope its work. I tried this on 1.7.1.1 and is not working, I still fail logging to addons : / Link to comment Share on other sites More sharing options...
kwbarlow Posted September 28, 2017 Share Posted September 28, 2017 Any fixes for 1.7 yet... Link to comment Share on other sites More sharing options...
Alberto Chávez Posted December 20, 2017 Share Posted December 20, 2017 On 1/4/2017 at 11:29 AM, ynocquet said: After several hours, I have finally found the issue and solved it for 1.6.x.x versions. (You must be sure that curl and allow_url_fopen are activated) In /classes/tools.php, the function file_get_contents never uses curl because one of the conditions is wrong. In the function file_get_contents, you must replace the following line : if (in_array(ini_get('allow_url_fopen'), array('On', 'on', '1')) || !preg_match('/^https?:\/\//', $url)) { by this line : if (!preg_match('/^https?:\/\//', $url)) { You should now be able to connect to prestashop addons. Thanks, You Are a Goooddd! Regards from México City! Link to comment Share on other sites More sharing options...
SGPinc Posted July 22, 2019 Share Posted July 22, 2019 allow_url_fopen = On ; in php.ini do the job for me on 1.7 Link to comment Share on other sites More sharing options...
bugrakorkmaz Posted April 20, 2021 Share Posted April 20, 2021 On 2/3/2017 at 10:15 PM, KingKalp said: You simply needs to activate Extension from the WHM or install the Multi INI and there is an option... How do you do that? Link to comment Share on other sites More sharing options...
photoinvest Posted February 3, 2022 Share Posted February 3, 2022 On 4/29/2016 at 2:39 PM, vaporz said: According to my host provider, it has something to do with the htaccess, we have it fixed but not without a fight with the hosting folks. This was their answerThere was an .htaccess file in your ~/public_html directory referencing a php.ini file. This file contained an incompatible or obsolete PHP directive which caused the log-in to fail. I have renamed the php.ini I have multiple installs that this fixed. Seems that some hosts may be sharing the same files is why all my new test installs would still not work. Or they were giving me an answer they thought would make me happy. If you are still having these issues, it is Definitely with your host provider. I have another host provider I made a fresh install on and all addon logins worked great with no problems. Don't let your host provider tell you it is not their fault. But, I could be wrong?? Consider my issues fixed on this thread. Hi, what do you mean when you say you renamed php.ini? I read it so often but have no idea what it means. Thank you for your answer. Link to comment Share on other sites More sharing options...
BurpFart Posted March 27, 2022 Share Posted March 27, 2022 New Install with the latest version to this date: PHP Version must be 7.4 to avoid the BO Login Loop. This may only be one solution though. Link to comment Share on other sites More sharing options...
ritarstore Posted December 13, 2022 Share Posted December 13, 2022 i have a same problem. when I try to enter the addon market it says I have the wrong credentials. but it is not possible, because I ask to ask to recover password and it will be given to the email that I put everything ok. and I can recover. then I put the new password and it's the same someone to help me? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now