Jump to content

impossible to enter admin, screen refreshes after login and password


Recommended Posts

Hello guys,

I am new to this forum. A couple of days ago I was amazed about some nice looking webshops that were prestashop based.
I saw the light and full of energy I installed the program. Everything worked well:
- At first install page all requirements were fulfilled and checked green.
- Database was created
- Frontside is online and working

BUT...

When willing to enter the admin (after renaming the folder of course and deleting the install folder also) and filling out the email address and password; the page refreshes without leaving any error or comment.
When typing in a wrong password, a message like ''wrong password'' appears.

I looked all day at different forums to find people in similar cases, but couldn't find something exacly the same.

I deleted cookies, and tried to reinstall already without any result. Also I requested for a new password on the login page. After receiving the email and using it it didn't seem to work either.
I also checked the table ps_employee, but I don't see any problem in there either.

Could anyone give me a hand with this one, because I don't know what to try else.

Thanks in advance,
Manuel

Link to comment
Share on other sites

Hi Whitelighter,

When I go to the PHP admin page I find this about the version:

localhost
Server versie: 5.0.84-0.dotdeb.0-log
Protocol version: 10
Server: Localhost via UNIX socket
Gebruiker: globalin@localhost

I guess 5.0 etc etc is the version right?

Manuel

Link to comment
Share on other sites

Hi Whitelighter,

When I go to the PHP admin page I find this about the version:

localhost
Server versie: 5.0.84-0.dotdeb.0-log
Protocol version: 10
Server: Localhost via UNIX socket
Gebruiker: globalin@localhost

I guess 5.0 etc etc is the version right?

Manuel


What version of presta? i recommend to use the 1.3
Link to comment
Share on other sites

Is your hosting working with .htaccess to redirect a domain address to a certain folder?
If that is the case it might be a .htaccess problem.
Try to install prestashop and your main index page of your website (if you have one) directly into the root folder (public_html).
That worked for me!
You don't get any error message do you?

Link to comment
Share on other sites

Hi Legend,
Ive had a similar issue when i moved from one host to another. In my case it was because the actual path had to be changed when i got a VPS hosting solution. So for example

my old path was : www.mysite.com/admin
my new path was: www.mysite.com/~phantomeye/admin

Note ~phantomeye was the name my VPS gave me when creating the account. So they created the whole directory under that folder. Once i entered the corrected path, i was able to get into the BO. To fix it just check with your hosts if they created your site under a specific folder name.

Post the link to your site, maybe we can see the path and try and figure it out.

Link to comment
Share on other sites

Same problem here, I think this is a cookie problem, this in NOT a fix, just a test, try it and see if it works, this can affect other parts of the system, so please don't use it on a live site:

Go To:

Admin folder>>login.php

Change:

$cookie = new Cookie('psAdmin', substr($_SERVER['PHP_SELF'], strlen(__PS_BASE_URI__), -10));



For:

$cookie = new Cookie('psAdmin', '/');



Of course, this is not the right way to fix it, but this can be used for targeting the problem and eventually fix it, hope it helps.

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