Magento Forum

Page 2 of 2
Backend login after installation not possible - always redirected to the login-page
 
lotusseedsD
Mentor
 
Avatar
Total Posts:  1144
Joined:  2007-08-31
 

OK, how do I overcome this?

I have the previous version 0.81742 installed in MAMP Pro and using the localhost as default, so I am able to login to the admin using
http://127.0.0.1:8888/admin

Now that I have installed the latest version but I don’t want to get rid of the 0.87142 yet. So I created a new server name ‘mag917’, the frontend page is:
http://m917:8888/, and I can’t login to the admin.

I tried:  http://127.0.0.1:8888/m917/admin

it shows me a blank page.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Lior
Magento Team
 
Avatar
Total Posts:  293
Joined:  2007-09-24
 

Change your server name to something like m017.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
lotusseedsD
Mentor
 
Avatar
Total Posts:  1144
Joined:  2007-08-31
 
Lior - 20 March 2008 12:18 PM

Change your server name to something like m017.com

HI Lior, thanks for the quick response, I reckon you meant ‘m917’, anyhow, I changed it to ‘m017’ and it’s still not working - I can’t login to admin:

http://m017.com:8888/ - server not found
http://m017:8888//admin/ - can’t login to admin
http://m017:8888/ - homepage ok!

Anything I can do from the Terminal? I followed your tutorial in the same thread, entering :
127.0.0.1 localhost.com

Nothing change though.

Attached two screenshots.

from MAMP Pro:

localhost - version 0.81740, admin login using : http://127.0.0.1:8888/admin/ - OK!
m017 - version 0.917x - admin login fails

If I change the server name ‘m017’ to ‘localhost’, it loads the version 0.81740 page.

Image Attachments
2222.jpgssss.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
Lior
Magento Team
 
Avatar
Total Posts:  293
Joined:  2007-09-24
 

You domain name have to have dot in the name
What you can do is to install both version under the local IP in two separate folders
For example:
http://127.0.0.1:8888/magento08
http://127.0.0.1:8888/magento09

 
Magento Community Magento Community
Magento Community
Magento Community
 
lotusseedsD
Mentor
 
Avatar
Total Posts:  1144
Joined:  2007-08-31
 
Lior - 20 March 2008 01:15 PM

You domain name have to have dot in the name
What you can do is to install both version under the local IP in two separate folders
For example:
http://127.0.0.1:8888/magento08
http://127.0.0.1:8888/magento09

Lior, Thanks again!

With the ‘localhost’ as server name, I can’t modify it for now as it doesn’t allow, thus the above examples won’t work. Guess I will have to remove the 0.81742 version and do as your suggestion later.

 
Magento Community Magento Community
Magento Community
Magento Community
 
lotusseedsD
Mentor
 
Avatar
Total Posts:  1144
Joined:  2007-08-31
 

I thought about this problem a bit further, I think the issue may not be using the:
http://127.0.0.1:8888/magento08
http://127.0.0.1:8888/magento09

Because, ‘localhost’ is ‘127.0.0.1:8888’ so it’s root directory correct?

So I have the version 0.81740 installed in the root directory and I can access the admin from 127.0.0.1:8888/admin’

Now, though my server name for the version 0.917442 is ‘m917’, it’s already in a separate folder in local IP:
http://127.0.0.1:8888/m917

Correct? If these were to be in a webhost server, one version installed in the root directory, and the other a separate directory in the the root, it will work.

As mentioned:
http://m017.com:8888/ - server not found
http://m017:8888//admin/ - can’t login to admin
http://m017:8888/ - homepage ok!

But I am getting a BLANK PAGE with this: http://127.0.0.1:8888/m917

No content in the browser, ‘view source’ is gray-out

I checked the mysql, php and apache error log, everything seemed correct and working properly.

Image Attachments
223.png.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 2