views:

275

answers:

2

Hi Everyone, I am not sure what is going wrong when I am trying to install magento to my local ubuntu machine. I did all the steps mentionsed in the magento wiki. Everything goes well until I reach the point where I am here which is the magento config page. When I try and continue after entering the necessary details like host, database name and user name and submit it comes back to the same page. I checked for everything like db in my phomyadmin panel and it still gets stuck there. What is the possible reason for that.

Thanks

+2  A: 

Have you try with 127.0.0.1 instead of localhost ? They have some trouble on login in the admin section.

And check the user/password in the config too !

c-verde
Thanks for the help guys Its fixed now
itsandy
+1  A: 

Verify that you meet the following requirements:

http://www.magentocommerce.com/system-requirements

Magento only runs on php 5.2.x, not 5.3. Also make sure the extensions listed on the requirements page are enabled.

Might be different for you, but I can check the php version using

php -v

Edit

Also what c-verde said about using 127.0.0.1 instead of localhost: This isn't your current problem, but you'll run into it later. You need to be able to accept cookies to log into Magento. Your browser won't accept cookies for local sites.

In /etc/hosts you need to add 127.0.0.1 localhost.com

And when you install magento you need to use either localhost.com or 127.0.0.1 instead of localhost.

I didn't have this problem with linux, but when installing on windows, it took several minutes after the config page to set up magento. Make sure the browser isn't doing anything.

dardub
Thanks Guys its fixed. I had edited my host file to www.localhost.com so all I had to do was in the magento config page use www.localhost.com as my host name.Cheers
itsandy