Magento报错:An error occurred while saving the URL rewrite (重新索引不了怎么办)
来源:互联网 发布:单片机控制开关电源 编辑:程序博客网 时间:2024/06/10 01:07
如果你发现Magento的索引没法刷新,尝试下列方法:
1.将media文件夹的权限更改为777
2.直接删除/var/cache这个缓存文件夹
3.删除session文件夹/var/sessions
4.将根目录下的.htaccess替换成你对应的magento版本的默认.htaccess
如果上面的做法还是不行的话,那么好吧,强制改代码执行
app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/URL.php
try { $this->_getWriteAdapter()->insert($this->getMainTable(), $rewriteData);}catch (Exception $e) { //Mage::logException($e); //Mage::throwException(Mage::helper('catalog')->__('An error occurred while saving the URL rewrite.'));}将异常捕捉的代码都禁用了……- -#,做法可能不太稳定,更新内核可能会带来错误,小心的用,呵呵~
转载:http://blog.csdn.net/ddjohn/article/details/7305823
- Magento报错:An error occurred while saving the URL rewrite (重新索引不了怎么办)
- Magento An error occurred while saving the URL rewrite (索引刷不了怎么办)
- vmware esxi 报错an error occurred while saving the snapshot:change tracking target file already exists
- 使用svn报错之An error occurred while contacting the repository
- an error occurred while processing the directive
- an error occurred while contacting the respository
- 增加优惠券 An error occurred while saving the rule data. Please review the log and try again.
- Android Studio ON Linux 报错:An error occurred while creating the AVD. See idea.log for details,解决方法
- MyEclipse8.5 起动不了报 An error has occurred.See the log file
- MyEclipse10 启动不了报An error has occurred.See the log file
- MyEclipse10 启动不了报An error has occurred.See the log file
- Yii提交报错 An Error occurred while handling another error:
- An error occurred while saving your credit card. Please try again.
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the
- Genymotion报错An error occured while deploying the file
- adpatch报错:An error occurred while generating Oracle Forms files.
- (问题解决)MBP 登录开发者网站报错:An error occurred while processing your request.
- 解决:an error occurred while processing your request 访问开发者网站报错
- dosbox常见问题收集
- 【转载】[ALV]Error for ALV - Key word SAPLSLVC
- JAVA连接Oracle数据库实代码+详细注释
- JAVA 文件读写中文乱码(转)
- jsp连接sqlserver数据库
- Magento报错:An error occurred while saving the URL rewrite (重新索引不了怎么办)
- mysqldump导入导出语句诠释
- 数据库并发解决方案
- 人脸识别数据库
- Android_Notification
- Agri-Net 搭互联网线路最短问题
- 记2011 IOCCC Best one liner
- 每日一练
- 关于AD的操作 -- 接口补充