Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.
For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email firstname.lastname@example.org.
The problem can also be in that you set the site by the address “ http://localhost/magento/”
You can uncheck the tick “Validate base URL”, but it would be better to create a virtual host for Magento.
You can get more information how to do it here: