【发布时间】:2013-03-05 17:28:16
【问题描述】:
我们无法从 magento 1.5 版上的“后端 >> 系统 >> 工具 >> 备份”菜单创建 magento 备份。当我们在 15 到 20 分钟后尝试创建备份时,系统返回错误消息:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@choosemadeinusa.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
此外,在尝试使用 ErrorDocument 处理请求时遇到 500 Internal Server Error 错误。
Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 服务器 在 www.choosemadeinusa.com 端口 443
我们已经应用了我们在 magento 论坛上找到的几乎所有解决方案,因为很多人以前都遇到过这个问题。我们应用的解决方案是:
- 将“var”文件夹的权限更改为 777。
- 将“var/backups”文件夹清空。
- 将ROOT index.php文件的权限改为755。
- 增加了 PHP 的最大执行时间。
- 增加了内存限制。
- 将 index.php 文件替换为 index.php.sample 用于临时基础。
- 启用“日志设置”以查看系统正在生成什么错误。检查附加的“system.log”以查看与 maganto 备份相关的任何错误?
- 在“app/code/local/MageWorx/LinkExchange/Controller/Router.php”文件中将“split”替换为“explode”php函数
但是,没有运气,我们真的不清楚出了什么问题。我们正计划将 magento 版本从 1.5 升级到 1.7,我们无法启动该过程,因为我们无法完成备份过程。
最糟糕的是当系统返回错误消息“500 internal server error”,然后我们重新加载后端的仪表板页面,它以绿色显示您的“备份过程已完成”消息,它也显示系统创建的备份列表。但是,我们确定这不是完整的备份,还是应该假设备份已经完成?
2013-02-07T16:54:15+00:00 ERR (3): Deprecated functionality: Function split() is deprecated in /home/choosema/public_html/app/code/local/MageWorx/LinkExchange/Controller/Router.php on line 56
2013-02-07T16:54:15+00:00 ERR (3): Strict Notice: Declaration of MageWorx_SeoSuite_Block_Catalog_Navigation::_renderCategoryMenuItemHtml() should be compatible with that of Mage_Catalog_Block_Navigation::_renderCategoryMenuItemHtml() in /home/choosema/public_html/app/code/local/MageWorx/SeoSuite/Block/Catalog/Navigation.php on line 38
2013-02-07T16:54:25+00:00 ERR (3): Strict Notice: Declaration of MageWorx_SeoSuite_Block_Catalog_Navigation::_renderCategoryMenuItemHtml() should be compatible with that of Mage_Catalog_Block_Navigation::_renderCategoryMenuItemHtml() in /home/choosema/public_html/app/code/local/MageWorx/SeoSuite/Block/Catalog/Navigation.php on line 38
2013-02-07T16:54:29+00:00 ERR (3): Strict Notice: Declaration of MageWorx_SeoSuite_Block_Catalog_Navigation::_renderCategoryMenuItemHtml() should be compatible with that of Mage_Catalog_Block_Navigation::_renderCategoryMenuItemHtml() in /home/choosema/public_html/app/code/local/MageWorx/SeoSuite/Block/Catalog/Navigation.php on line 38
2013-02-07T16:55:08+00:00 ERR (3): Strict Notice: Declaration of MageWorx_SeoSuite_Block_Catalog_Navigation::_renderCategoryMenuItemHtml() should be compatible with that of Mage_Catalog_Block_Navigation::_renderCategoryMenuItemHtml() in /home/choosema/public_html/app/code/local/MageWorx/SeoSuite/Block/Catalog/Navigation.php on line 38
2013-02-07T16:55:17+00:00 ERR (3): Strict Notice: Declaration of MageWorx_SeoSuite_Block_Catalog_Navigation::_renderCategoryMenuItemHtml() should be compatible with that of Mage_Catalog_Block_Navigation::_renderCategoryMenuItemHtml() in /home/choosema/public_html/app/code/local/MageWorx/SeoSuite/Block/Catalog/Navigation.php on line 38
我们从“system.log”文件中得到的上述错误“Router.php”和“Navigation.php”有错误,是URL重写有问题吗?根据我们的理解,如果路由不正确,也会返回“500 internal server error”。
任何人都可以告诉我们并帮助我们找出问题所在,因为我们几乎尝试了所有方法。另外,请检查附加的“system.log”文件,也许有人可以找到magento备份系统问题的线索。
【问题讨论】:
-
您似乎仍在超时。备份可能正在完成,特别是因为您在刷新时收到确认消息。您是否有权访问 Web 服务器的错误日志?这将准确地告诉您网站遇到 500 错误时发生的情况。对于收到错误的日期/时间,您应该在该日志文件中有相应的条目。
标签: magento