使用mamp在我的localhost上安装Magento之后,我无法访问管理门户。我去了
http://localhost:8888/shop1/index.php/admin/
然后使用我的用户和密码,这就是全部。没有错误,没有任何错误,只有登录管理面板。
我做错了什么?
注意:我还重新安装了3次并重新加载文件以安装Magento。
提前感谢您的帮助
更新
这只发生在谷歌浏览器上,safari和mozilla工作缓慢但有效。
更新2
我正在尝试重新使用127.0.0.1并使用firefox并且我得到了这个例外:
Mage_Core_Exception对象( [_messages:protected] =>排列 ( )
[message:protected] => Can't retrieve entity config: sales/quote_shipping_rate [string:Exception:private] => [code:protected] => 0 [file:protected] => /Applications/MAMP/htdocs/shop2/app/Mage.php [line:protected] => 594 [trace:Exception:private] => Array ( [0] => Array ( [file] => /Applications/MAMP/htdocs/shop2/app/code/core/Mage/Core/Model/Resource.php [line] => 272 [function] => throwException [class] => Mage [type] => :: [args] => Array ( [0] => Can't retrieve entity config: sales/quote_shipping_rate ) ) [1] => Array ( [file] => /Applications/MAMP/htdocs/shop2/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 184 [function] => getTableName [class] => Mage_Core_Model_Resource [type] => -> [args] => Array ( [0] => sales/quote_shipping_rate ) ) [2] => Array ( [file] => /Applications/MAMP/htdocs/shop2/app/code/core/Mage/Sales/Model/Resource/Setup.php [line] => 87 [function] => getTable [class] => Mage_Core_Model_Resource_Setup [type] => -> [args] => Array ( [0] => sales/quote_shipping_rate ) ) [3] => Array ( [file] => /Applications/MAMP/htdocs/shop2/app/code/core/Mage/Sales/Model/Resource/Setup.php [line] => 101 [function] => _flatTableExist [class] => Mage_Sales_Model_Resource_Setup [type] => -> [args] => Array ( [0] => sales/quote_shipping_rate ) ) [4] => Array ( [file] => /Applications/MAMP/htdocs/shop2/app/code/core/Mage/Sales/sql/sales_setup/mysql4-upgrade-0.9.16-0.9.17.php [line] => 32 [function] => addAttribute [class] => Mage_Sales_Model_Resource_Setup [type] => -> [args] => Array ( [0] => quote_address_rate [1] => method_title [2] => Array ( [type] => text ) ) ) [5] => Array ( [file] => /Applications/MAMP/htdocs/shop2/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 624 [args] => Array ( [0] => /Applications/MAMP/htdocs/shop2/app/code/core/Mage/Sales/sql/sales_setup/mysql4-upgrade-0.9.16-0.9.17.php ) [function] => include ) [6] => Array ( [file] => /Applications/MAMP/htdocs/shop2/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 437 [function] => _modifyResourceDb [class] => Mage_Core_Model_Resource_Setup [type] => -> [args] => Array ( [0] => upgrade [1] => 0.9.14 [2] => 1.6.0.8 ) ) [7] => Array ( [file] => /Applications/MAMP/htdocs/shop2/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 320 [function] => _upgradeResourceDb [class] => Mage_Core_Model_Resource_Setup [type] => -> [args] => Array ( [0] => 0.9.14 [1] => 1.6.0.8 ) ) [8] => Array ( [file] => /Applications/MAMP/htdocs/shop2/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 235 [function] => applyUpdates [class] => Mage_Core_Model_Resource_Setup [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /Applications/MAMP/htdocs/shop2/app/code/core/Mage/Core/Model/App.php [line] => 417 [function] => applyAllUpdates [class] => Mage_Core_Model_Resource_Setup [type] => :: [args] => Array ( ) ) [10] => Array ( [file] => /Applications/MAMP/htdocs/shop2/app/code/core/Mage/Core/Model/App.php [line] => 343 [function] => _initModules [class] => Mage_Core_Model_App [type] => -> [args] => Array ( ) ) [11] => Array ( [file] => /Applications/MAMP/htdocs/shop2/app/Mage.php [line] => 683 [function] => run [class] => Mage_Core_Model_App [type] => -> [args] => Array ( [0] => Array ( [scope_code] => [scope_type] => store [options] => Array ( ) ) ) ) [12] => Array ( [file] => /Applications/MAMP/htdocs/shop2/index.php [line] => 87 [function] => run [class] => Mage [type] => :: [args] => Array ( [0] => [1] => store ) ) ) [previous:Exception:private] => )
答案 0 :(得分:1)
这是因为域名为localhost时未正确设置Cookie。
将其更改为127.0.0.1并且它应该可以工作,可能需要另外卸载。