Jump to content

Bug - Can't Log Into Admin After Fresh Install


Recommended Posts

After a fresh install of 1.5.0.2, I found that I could not log into the admin side. Even after deleting the 'install' and 'install-new' directories, and renaming the admin folder to something else like admin777, I could not login.

 

Note: I've installed under MAMP on a Mac running 10.6.8.

 

I was able to get it to work by first editing the /admin777/index.php file.

 

This line: define('_PS_ADMIN_DIR_', getcwd());

-was changed to-

define('_PS_ADMIN_DIR_', 'admin777');

 

Then, after loading the URL above, I got a blank screen, BUT I noticed that the URL had changed.

 

So, I then went back into the same file and put that line back the way it was, removing the 'admin777' and replacing the getcwd().

 

Then I tried loading the admin URL again. This time it worked.

 

I did this three times on three separate fresh installs. It happens every time.

 

Thanks. Looks good. Can't wait for this version to be released. I'm waiting for the multi-store feature.

 

Jim

Link to comment
Share on other sites

  • 2 weeks later...

Hi! I've installed the 1.5.0.3 version and i got the same problem: i can't login in the admin panel after fresh install. I've tried the jpietrangelo's solution, but didn't work for me...

I've seen the bug is currently open and not solved.. someone can help me to make it work?

Thanks!

:)

Link to comment
Share on other sites

  • 1 year later...
  • 6 months later...
×
×
  • Create New...