成功登录后,无法在magento的管理面板中打开任何内容?

i have just installed magento store, but when i am trying to add product and anything in admin panel this error displays.

There has been an error processing your request

Exception printing is disabled by default for security reasons.

Error log record number: 1564392442 Magento is a trademark of Magento Inc. Copyright © 2013 Magento Inc.

And in error report below detail is generated.

a:5:{i:0;s:71:"Could not determine temp directory, please specify a cache_dir manually";i:1;s:4124:"#0 D:\EmpiricalEdgeINC\Projects\Magento\lib\Zend\Cache\Backend.php(197): Zend_Cache::throwException('Could not deter...')
#1 D:\EmpiricalEdgeINC\Projects\Magento\lib\Zend\Cache\Backend\File.php(123): Zend_Cache_Backend->getTmpDir()
#2 D:\EmpiricalEdgeINC\Projects\Magento\lib\Zend\Cache.php(153): Zend_Cache_Backend_File->__construct(Array)
#3 D:\EmpiricalEdgeINC\Projects\Magento\lib\Zend\Cache.php(94): Zend_Cache::_makeBackend('File', Array, false, false)
#4 D:\EmpiricalEdgeINC\Projects\Magento\lib\Zend\Locale\Data.php(314): Zend_Cache::factory('Core', 'File', Array, Array)
#5 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Block\Html\Calendar.php(42): Zend_Locale_Data::getList('en_US', 'days')
#6 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Block\Abstract.php(919): Mage_Core_Block_Html_Calendar->_toHtml()
#7 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Block\Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#8 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Block\Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('calendar', true)
#9 D:\EmpiricalEdgeINC\Projects\Magento\app\design\adminhtml\default\default\template\page\head.phtml(33): Mage_Core_Block_Abstract->getChildHtml('calendar')
#10 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Block\Template.php(241): include('D:\EmpiricalEdg...')
#11 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Block\Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml\defau...')
#12 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Block\Template.php(286): Mage_Core_Block_Template->renderView()
#13 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Block\Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#14 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Block\Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#15 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Block\Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('head', true)
#16 D:\EmpiricalEdgeINC\Projects\Magento\app\design\adminhtml\default\default\template\page.phtml(43): Mage_Core_Block_Abstract->getChildHtml('head')
#17 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Block\Template.php(241): include('D:\EmpiricalEdg...')
#18 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Block\Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml\defau...')
#19 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Block\Template.php(286): Mage_Core_Block_Template->renderView()
#20 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Adminhtml\Block\Template.php(81): Mage_Core_Block_Template->_toHtml()
#21 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Block\Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml()
#22 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Model\Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#23 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Controller\Varien\Action.php(390): Mage_Core_Model_Layout->getOutput()
#24 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Adminhtml\controllers\Customer\GroupController.php(58): Mage_Core_Controller_Varien_Action->renderLayout()
#25 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Controller\Varien\Action.php(418): Mage_Adminhtml_Customer_GroupController->indexAction()
#26 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#27 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Controller\Varien\Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#28 D:\EmpiricalEdgeINC\Projects\Magento\app\code\core\Mage\Core\Model\App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#29 D:\EmpiricalEdgeINC\Projects\Magento\app\Mage.php(684): Mage_Core_Model_App->run(Array)
#30 D:\EmpiricalEdgeINC\Projects\Magento\index.php(87): Mage::run('', 'store')
#31 {main}";s:3:"url";s:75:"/index.php/admin/customer_group/index/key/b2fae5e1d3af811ecf33afc28e846de0/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}

How to solve this please help

dongtangu6889
dongtangu6889 检查此链接看起来他们有类似的问题
6 年多之前 回复
dsn5510
dsn5510 您是否尝试注销,清空缓存并重新启动浏览器?
6 年多之前 回复

1个回答



我认为由于文件夹的权限而发生此问题。 尝试为“var”文件夹授予777权限,或者在var文件夹中创建一个具有777权限的临时文件夹。 </ p>

 首先,将“/lib/Zend/Cache/Backend/File.php”复制到“/app/code/local/Zend/Cache/Backend/File.php”  。
</ code> </ pre>

注意:如果本地文件夹不可用,请创建它.. </ strong> </ p>

然后 在您最近创建的文件中,</ p>

 在第91行或此行附近,您会发现:

'cache_dir'=&gt; null,
更改为:
'cache_dir'=&gt; “var / tmp /”,
</ code> </ pre>
</ div>

展开原文

原文

I think this problem occurs due to permissions for the folders. Try to give 777 permissions to the "var" folder or else create a temp folder with a 777 permissions at your var folder.

Firstly, copy “/lib/Zend/Cache/Backend/File.php” to “/app/code/local/Zend/Cache/Backend/File.php”.

NOTE: If local folder is not available, create it..

Then in the file which you have created recently and in that,

on line 91 or near this line, you will find:

    'cache_dir' => null,
    Change to:
    'cache_dir' => "var/tmp/",

duanmao1919
duanmao1919 在我的所有magento安装(高达v1.7.0.1)中,缓存文件夹是var / cache,其中Magento立即添加了许多mage-x子文件夹。 缓存是777 perms。
接近 6 年之前 回复
donglu5728
donglu5728 如果您想在安装后添加示例产品,那么您必须再次启动安装过程。这是唯一的方法,因为如果您的数据库中没有表,magento会创建所有空表。 安装完成后,将创建所有表。 如果你想要这个程序,请告诉我..
6 年多之前 回复
doulangtiao4508
doulangtiao4508 安装magento后有没有办法添加样品?
6 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问