Jump to content

I STILL can't log into my admin account!!!


Recommended Posts

I have been trying for days to login to my admin account with NO success. Some great folks have passed along links to follow to resolve the issue. NONE have worked!! I have edited the login.php with several suggested updates to NO AVAIL.

 

I have tried completely removing the prestashop directory and re-installing Prestashop with NO success. I have cleaned cookies, removed saved passwords, rebooted, tried loging in on completely different computers....NOTHING WORKS!!

 

This is SO FRICKIN frustrating!! Can ANYONE tell me how to fix this. I am NEW to Prestashop so be be specific and detailed.

 

There HAS to be an answer!!!

Link to comment
Share on other sites

Yes, it worked before, then just stopped.

Yes, I have requested a new password from the login link but that doesn't work either.

I think it is the password. After entering I get the "redirect"

The site is hosted by GoDaddy and is online

It is V1.4.4

 

I get the following: http://www.billrauscher.com/prestashop/zues/login.php?redirect=index.php

Link to comment
Share on other sites

If you tried the “lost password” link on prestashop’s backend and never received the email, you might try this solution if you have access to the database. Look in config/settings.inc.php for the _COOKIE_KEY_ value as you’ll need that. Run the following SQL and replace the <> variables with your information.

 

UPDATE employee SET passwd = md5(“<_COOKIE_KEY_ value><yourNewPassword>”) WHERE email = “youremailaddress”;

 

hope that helps

Link to comment
Share on other sites

Yes, it worked before, then just stopped.

Yes, I have requested a new password from the login link but that doesn't work either.

I think it is the password. After entering I get the "redirect"

The site is hosted by GoDaddy and is online

It is V1.4.4

 

I get the following: http://www.billrauscher.com/prestashop/zues/login.php?redirect=index.php

 

The same situation for me.

Also use GoDaddy, the shop is running more than a year and had no problems. Suddenly no longer can access back office. (Note, I use 1.3 version)

 

As I read login.php, index.php, functions.php, init.php, there is something wrong with cookie creation. I cookie is invalid then no session is created, and browser redirects to login screen.

 

There is also notification of "Path is not the same between your browser and you server :" but this is a known issue with GoDaddy hosting configuration (link to problem description) and always worked fine.

 

In the DB I see, that system changes passwords as I requested and also when I mistype that new password I get passwords error message.

 

So situation is that passwords work well, only sessions do not.

However the sandbox version in the other server (non GoDaddy) works well.

 

So I suppose the fault is GoDaddy hosting configuration.

 

I also attach my cookie params. The yellow marks looks strange, because real URL of admin page is http://www.theessenceoflithuania.com/tvarkytojai/login.php

post-108569-0-11707600-1314735732_thumb.png

Link to comment
Share on other sites

1) You can any time register new user on site, copy his password and replace admin password on user password in phpmyadmin and try login after using user password.

2) Delete nginx, after check httpd.conf file for default port 80, not 8080

3) Use SSH and search some where near your www(public_html or site.ru, httpdocs) folder, folder with name "tmp" and made chmod 777, this folder keep sessions, also u can using special code in .htaccess and made new patch for session folder u made on server. Search in google .htacess sessions folder

4) Try in .htacess use sessions auto start code (search in google too).

Link to comment
Share on other sites

3) Use SSH and search some where near your www(public_html or site.ru, httpdocs) folder, folder with name "tmp" and made chmod 777, this folder keep sessions, also u can using special code in .htaccess and made new patch for session folder u made on server. Search in google .htacess sessions folder

4) Try in .htacess use sessions auto start code (search in google too).

 

Interesting - my backup server gives me "/tmp" and the production server gives nothing. How to name this problem?

Link to comment
Share on other sites

What? dont understand about u talk....

 

Google arround .htaccess session.save_path or php.ini session.save_path

 

Also about session.auto_start=1

 

 

It all depends on the type of server, operating system installed on it. In most cases, is all already configured. But if you have your own server, or VPS, VDP, DDS..may be some problems or just not set up.

 

In centos or fedora must be some thing like that:

 

unled1pny.jpg

 

 

I think in ur case its just some not set up, try steps in 1, 2 from my post before.

Link to comment
Share on other sites

Sorry for being not so clear.

GoDaddy is some big hosting provider at US. And I cannot manage their Apache and other components settings.

Though they give php.ini for each user (I didn't know this before now).

 

So now I have this in my php5.ini:

cgi.fix_pathinfo = 1

session.save_path = /home/.../html/sessions

session.auto_start = 1

 

and also have sessions set chmod as 777.

Now in my sessions directory I get list of "sess_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" files. New session files are created every time I access admin page. But all these files are of 0 size and have mode of 600.

 

And afterwards I cannot log into admin page.

 

Kertm, I've tried your tips:

  1. created new user in my Presta copy on backup server and tried to log in - no use, all the same.
  2. nginx and httpd.conf - I have no access to these. But if other hosted websites work, I believe these are allright.
  3. As mentioned above - I use my own patch of session.save_path @php.ini file
  4. I use session.auto_start @php.ini file

So I think, now pehaps zero sized cookie files are the problem.

Otherwise - no idea...

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...