stottycabanas Posted May 26, 2013 Share Posted May 26, 2013 (edited) Hi, New user of Prestashop 1.5.4 here. Since I installed a few days ago, there have been times when I've been able to log in to the back office and get some changes made, but mostly I find that when I enter the email address and password, it just returns the same login screen again. I know that I am entering the correct userid & password, because if I change either of them, I get an error message. I have tried on both Firefox and IE - IE seemed to let me in more often - and have tried clearing out browser caches,all to no avail. I also tried on my Nexus 7 (Opera) - same problem, although it doesn't clear the logon fields. At present, I can't get in at all, and am tempted to just abandon Prestashop and try something else. I raised a ticket with Prestashop when I encountered this problem at the end of my installation, but with no response as yet, I am not optimistic about the quality of service I can expect. So my hope is that among all the experienced users out there, someone will be able to help ... please! Thanks in advance, Dave Edited June 14, 2013 by stottycabanas (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 26, 2013 Share Posted May 26, 2013 hello, try with this: open the browser console log (f12 / fn+f12 / ctrl+shif+j) and try to log in, if any error appear in console log - please paste it here Turn error reporting in your prestashop (in configuration directory, open the file with config and turn error reporting on) - then try to log in, if any error appear - paste it here Link to comment Share on other sites More sharing options...
stottycabanas Posted May 26, 2013 Author Share Posted May 26, 2013 Hi Vekia, Thanks for prompt response. Pls see console reports from first Firefox, then IE. Hope there's some clues there. Thanks, Dave Link to comment Share on other sites More sharing options...
stottycabanas Posted May 26, 2013 Author Share Posted May 26, 2013 Hi Vekia, Re your 2nd point: I found a file called config.inc.php in the config folder, but I couldn't see anything about error reporting in it. Am I looking in the wrong place? Thanks, Dave Link to comment Share on other sites More sharing options...
vekia Posted May 26, 2013 Share Posted May 26, 2013 here is a tutorial: how to turn error reporting in prestashop i think that this is related to the javascript issue. But im not sure at all. It looks like the jquery library arent attached to the template. Can you check source of your login site - does the jquery plugin exist in the source? Link to comment Share on other sites More sharing options...
stottycabanas Posted May 26, 2013 Author Share Posted May 26, 2013 Hi Vekia, Sorry, I'm not a developer or anything. I updated the debug setting in defines.inc.php (which I found in config folder rather than modules), and tried logging in a couple of times. I assume a log has been generated, but I don't know where that would be. Not exactly sure how to check for the jquery plugin, but there is a folder called jquery within the js folder. Within jquery is a folder called plugins, and that contains a number of other folders (ajaxfileupload, alerts, etc.). I guess that means the jquery plugin does exist. Thanks again, Dave Link to comment Share on other sites More sharing options...
henrikkielstrup Posted May 26, 2013 Share Posted May 26, 2013 Had similar problem, thanks for the guide! Link to comment Share on other sites More sharing options...
vekia Posted May 26, 2013 Share Posted May 26, 2013 When you're on login page -> right click anywhere then select show source. Search for .js files - when you find jquery library - click on the URL - does the url work well? Link to comment Share on other sites More sharing options...
stottycabanas Posted May 26, 2013 Author Share Posted May 26, 2013 Thanks again Vekia, but you may have to dumb down a little bit for me! When I view the source in IE9 or Firefox, I can only see reference to one .js file, which is login.js. There is no mention of jquery - am I supposed to find that in the source too? The only URL I can see in the source refers to admin-ie.css in the css folder and is not clickable - or would the URL be visible somewhere else? Link to comment Share on other sites More sharing options...
vekia Posted May 27, 2013 Share Posted May 27, 2013 hello if it is possible - can you paste the url to your admin login page? I will try to debug it (you don't have to give me login & pass - just url) Link to comment Share on other sites More sharing options...
Paulito Posted May 27, 2013 Share Posted May 27, 2013 Good morning, It might be zimport.co.uk Paul Link to comment Share on other sites More sharing options...
stottycabanas Posted May 27, 2013 Author Share Posted May 27, 2013 Hi Vekia, have sent you a PM Link to comment Share on other sites More sharing options...
vekia Posted May 27, 2013 Share Posted May 27, 2013 youp, i checked it i've got it! no jquery libraries included, it's probably the main problem in this case 1 Link to comment Share on other sites More sharing options...
stottycabanas Posted May 27, 2013 Author Share Posted May 27, 2013 Sounds promising, I hope! What do I do to ensure the jquery libraries are included? And can you explain why I have been able to log in on some occasions and not others? The implication is that the jquery libraries have been disappearing and re-appearing. Thanks again for your help with this. Dave Link to comment Share on other sites More sharing options...
vekia Posted May 27, 2013 Share Posted May 27, 2013 so you can log on sometimes? Link to comment Share on other sites More sharing options...
stottycabanas Posted May 27, 2013 Author Share Posted May 27, 2013 Yes, as explained in my original post. But for the last 2 days, it doesn't matter what I try, I can't get past the login screen. If you can detail for me what I need to do to ensure the jquery libraries are included, I'll try that. Otherwise, I'm starting to think my only option would be to re-install Prestashop & start again. Link to comment Share on other sites More sharing options...
stottycabanas Posted May 28, 2013 Author Share Posted May 28, 2013 Tried to access the back office from my laptop at work today - bingo, can log in consistently, no problem! I viewed the source on the login page - lots of jquery stuff there. Took the laptop home, tried over my VPN connection - again, works fine. When I try to log in via my desktop at home (or via my [spam-filter]'s netbook or via my Nexus 7) - no joy. Something to do with OS/browser/java/other configuration, maybe? The laptop is XP/IE8/Java 1.6.0_21, the desktop is Vista/IE9/Java 1.7.0_09. Any help gratefully received. Link to comment Share on other sites More sharing options...
Frenkie Posted May 30, 2013 Share Posted May 30, 2013 Hy, I have the same problem. I have 6 prestashops (different domains) and 4 of them have bug and i can not login to BO, login page just reaload. Problem is the same even if i install Prestashop 1.5.4.1 agian. I did try almost all possible solutions and nothing is working. Could be problem in htaccess? Interesting, if i install Prestashop 1.4. works fine. Link to comment Share on other sites More sharing options...
stottycabanas Posted May 31, 2013 Author Share Posted May 31, 2013 Re-installing Prestashop 1.5.4 does seem to have worked for me, for now at least. Looks like regular backups and crossed fingers needed in future! Link to comment Share on other sites More sharing options...
Frenkie Posted May 31, 2013 Share Posted May 31, 2013 Re-installing Prestashop 1.5.4 does seem to have worked for me, for now at least. Looks like regular backups and crossed fingers needed in future! Re-installing Prestashop 1.5.4 dosent work for me ... Link to comment Share on other sites More sharing options...
vekia Posted May 31, 2013 Share Posted May 31, 2013 Frankie - try to turn error reporting or if you've got an access to the php error log - check it. if you turn on console whey (ctrl+shift+J in chrome) - when you trying to log in - any error appear in the console? Link to comment Share on other sites More sharing options...
Frenkie Posted May 31, 2013 Share Posted May 31, 2013 Frankie - try to turn error reporting or if you've got an access to the php error log - check it. if you turn on console whey (ctrl+shift+J in chrome) - when you trying to log in - any error appear in the console? When I turn on console (ctrl+shift+J in chrome), there is blank area, no errors. Also i dont how could that hapend even if i reinstall prestashop. URL link for login is http://www.cibavision.si/admin123/index.php?controller=AdminLogin&token=a593f3371089b0605e29005e92ad5d4a&redirect=AdminHome. In 2011 prestashop users had a similar problem but solution for older versions is not ok for 1.5.4. Link to comment Share on other sites More sharing options...
stottycabanas Posted June 14, 2013 Author Share Posted June 14, 2013 Quick update on this issue. I seemed to going back down the same route of being unable to access Back Office via the login page, but I think I have found the solution. There needs to be an exact case match between the folder names on your host, and those used in the URL when you try & access the BO. E.g. I have a folder called 'Shop' on my host, but was often using 'shop' in the URL. This caused the required JQuery stuff not to be loaded and the login failed. This explains why sometimes I had success, but not always - it depended on what I had keyed in the URL/bookmark. Hope that's of help to someone. Cheers, Dave 1 Link to comment Share on other sites More sharing options...
kenkomuri Posted December 26, 2013 Share Posted December 26, 2013 I have the same issue. Cant log in in the admin panel or in the front office as user. The page is the same every time. If a set a wrong user or password an error message appears but if it is correct the same page still appearing without get logged in. Link to comment Share on other sites More sharing options...
Etienne Doek Posted January 21, 2014 Share Posted January 21, 2014 (edited) Hi All Since yesterday I noticed that indeed in sometimes I can login like I was used to, but sometimes not. It does not reject my credentials, it just returns to the login page with no warning whatsoever. My website BO login is located at "http://www.mydomain.com/shop/admin1234/index.php" It only works sometimes since a few days I guess Now when I enter "http://mydomain.com/shop/admin1234/index.php" (So OMMIT "WWW") then it works. I am able to login but get "You are currently connected under the following domain name mydomain.com This is different from the domain name set in the "SEO & URLs" tab. If this is your main domain, please change it now." That is annoying, but doesn't stop me from working on it.... I made a DNS reroute entry for "shop.mydomain.com" to "www.mydomain.com/shop", which I think should not have any influence IDK. Since when is www.mydomain.com in another domain then "mydomain.com"? Weird, but OK, at least I can work like this. </edit> - Using PS 1.5.6.0, Google Chrome </edit> Edited January 21, 2014 by Etienne Doek (see edit history) Link to comment Share on other sites More sharing options...
nixon88 Posted March 27, 2015 Share Posted March 27, 2015 (edited) Hy I have the same problem. I cant login to BO. I have 1.6 prestashop. anyone can help? Edited March 27, 2015 by nixon88 (see edit history) Link to comment Share on other sites More sharing options...
aglassofwine Posted June 7, 2016 Share Posted June 7, 2016 hello if it is possible - can you paste the url to your admin login page? I will try to debug it (you don't have to give me login & pass - just url) Hello Vekia - I was reading carefully your comments about not being able to access the admin login. I am running the following website: www.aglassofwine.ch and since I linked the aglassofwine.ch domain to my prestashop I am not able to access the back office anymore. I was also not able to locate the problem following your problem solving in the forum here. Can you help me? My back office link is: https://www.aglassofwine.ch/backoffice/index.php?controller=AdminLogin?email=info%40aglassofwine.ch# Thanks, Chris Link to comment Share on other sites More sharing options...
Recommended Posts