dounayan3643 2017-02-28 10:26 采纳率: 0%
浏览 76

Joomla3.6致命错误:require_once():需要打开失败

We have moved web hosting provider and moved our joomla website and database across.

When trying to access the front end of the website, I get the error:

Warning: require_once(JPATH_BASE/libraries/import.legacy.php): failed to open stream: No such file or directory in /home/xxx/public_html/includes/framework.php on line 15

Fatal error: require_once(): Failed opening required 'JPATH_BASE/libraries/import.legacy.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/includes/framework.php on line 15

I have checked that the import.legacy.php file is in the stated directory and the permissions are 644.

The output of JPATH_BASE is /home/xxx/public_html

How can I fix this error?

  • 写回答

3条回答 默认 最新

  • dongluo8303 2017-02-28 10:36
    关注

    Change your require_once statement to

    require_once(JPATH_BASE . '/libraries/import.legacy.php')
    
    评论

报告相同问题?

悬赏问题

  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器