Jump to content

Cannot login in backend after update to 1.6.1.7 and 1.6.1.8


djbasspower

Recommended Posts

I recently upgraded my prestashop 1.6.1.6 to 1.6.1.7 on localhost (xampp) using 1-click upgrade. The process ended with succes but afterwards I was unable to login. Also tried to download the latest version (1.6.1.8) from prestashop.com and extracted the files from the zip directly over the files from localhost. Still can't login. Also tried in Chrome, Firefox and Opera, cleared all the cookies and cache files.
Any ideas?
I attached a print screen of the login screen. Prestashop tries to tell me something... The source code is this:

<div class="alert alert-danger">
			<p></p>
			<ul>
									<li></li>
											</ul>
			<p>
				<a href="http://localhost/adminpanel/">
					
				</a>
			</p>
		</div>

post-1274005-0-65438200-1477576101_thumb.png

Link to comment
Share on other sites

Seems like missing translations. Check to make sure translations/en/admin.php exists and it has all the translations. Also check the other language directories in case your default language isn't English.

Thanks rocky. Your suggestion solved my problem. I had an old backup of prestashop 1.6.1.6 and just copied the whole translations folder from the zip to the localhost folder.

Have a great day!

Link to comment
Share on other sites

I have the same problem as Sorodocul, only that I have upgraded from 1.6.1.7 to 1.6.1.8. If I enter my credentials and press what used to be the login button, I'm presented with the attached screen.

 

Of course, I've checked the translations folder against my backed up one and it looks like all the files are there (both English and Romanian).

post-1332975-0-12248100-1478018598_thumb.jpg

Link to comment
Share on other sites

So far I commented the line supposing to hold the app and I can login back. Don't know what long term implications could have this.

 

The login window is still crippled with no login button and no "remember..." text displayed (as shown above by Sorodocul). However, after logout everything looks fine with the login window looking normal. On refresh, login window goes to previous state, looking bad again.

post-1332975-0-69328300-1478065760_thumb.jpg

post-1332975-0-24793200-1478065761_thumb.jpg

Edited by kthor (see edit history)
  • Like 1
Link to comment
Share on other sites

Thanks kthor,

 

It worked for me too. I commented the 909 line in classes/Objectmodel.php and now i can see the backoffice.

 

After that i went in my language in translations/admin.php and in the line 3818 I added "login" and in line 3819 "remember me"

Now we ll wait for the consequences or someone from prestashop tells us a complete solution.

Link to comment
Share on other sites

Thanks kthor,

 

It worked for me too. I commented the 909 line in classes/Objectmodel.php and now i can see the backoffice.

 

After that i went in my language in translations/admin.php and in the line 3818 I added "login" and in line 3819 "remember me"

Now we ll wait for the consequences or someone from prestashop tells us a complete solution.

Thank you for your info. It worked for me too.

 

Best Regards,

Greece

Link to comment
Share on other sites

I had many problems in the backoffice because of the missing hungarian language texts, so temporarily..

 

I merged the two (english and the hungarian) localisation admin.php-s, extending the gappy hungarian one only with the missing or empty keys.

 

Now the backoffice lets me in with hungarian default language and seems to be working flawlessly.

 

(In PHP I just save the original language array, and at the end merge them:

 

2pzd5k9.png

  • Like 1
Link to comment
Share on other sites

I had many problems in the backoffice because of the missing hungarian language texts, so temporarily..

 

I merged the two (english and the hungarian) localisation admin.php-s, extending the gappy hungarian one only with the missing or empty keys.

 

Now the backoffice lets me in with hungarian default language and seems to be working flawlessly.

 

(In PHP I just save the original language array, and at the end merge them:

 

2pzd5k9.png

 

Thanks EnsoSzL. That was a great idea!

Link to comment
Share on other sites

Hello all!

I worked on my prestashop (1.6.1.6) sites on Friday, November 11, 2016 and they both worked well as in; I could login and update my catalog etc. Howeever since Saturday November 12,2016; anytime I login to the BO, once I click on anything, it redirects me to Admin Login page.

 

I have cleared my cookies, browsing data from my browser still no positive response. I have even used all the browsers available, Firefox, Google chrome, Opera etc. Still no change yet

 

Please help my clients are waiting for me patiently.

 

Thank you.

Edited by elgaxton (see edit history)
Link to comment
Share on other sites

  • 9 months later...

This is the solution  :)  :)  :)

 

I have the same problem on my both website collshi.com and mamaleen.com . I searched online for long time but couldn't find the solution. I deleted every thing and started over many times.

 

Once after an upgrade through click upgrade module, I talked to the support team of the hosting provider and asked them about if they have any error in my errors log. They told me the file name which making this issue. Luckily! I had a backup before upgrade. I copied the same file from the old backup and replaced the one in the new upgrade. THEN ITS WORKING B)  B)  B)  .

 

The file name is Rijndael.php. copy it before upgrade and keep it in your computer. after the completion of your upgrade through click upgrade, replace the one in the directory with the old one.

 

You can find this file in yourstorefolder/classess/Rijndael.php

 

Good luck to all

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...