在Magento前端1.9.0.1中搜索字符串中的任何文本后,我收到此错误
mod_fcgid:stderr:PHP致命错误:require_once():打开失败 需要 ' /var/www/vhosts/site.com/httpdocsapp/code/core/Mage/CatalogSearch/controllers/ResultController.php' (包含路径=' /var/www/vhosts/site.com/httpdocs/app/code/local:/var/www/vhosts/site.com/httpdocs/app/code/community:/无功/网络/虚拟主机/ site.com /的httpdocs /应用程序/代码/芯:/var/www/vhosts/site.com/httpdocs/lib::&#39)。 在 /var/www/vhosts/site.com/httpdocs/app/code/local/Smartwave/Ajaxcatalog/controllers/CatalogSearch/ResultController.php 在第5行,参考者:http://site.com/search/
有人知道吗? 页面/搜索也有404错误 但高级搜索工作良好
答案 0 :(得分:0)
/site.com/httpdocsapp/code/
必须为/site.com/httpdocs/app/code/
检查第5行的/var/www/vhosts/site.com/httpdocs/app/code/local/Smartwave/Ajaxcatalog/controllers/CatalogSearch/ResultController.php
以了解路径的定义位置并添加斜杠