duandai7601 2013-08-25 12:07
浏览 71

Joomla - PHP错误消息

Latest: I've managed to download all files properly this time, but I get this message when I'm trying to import my sql file:

The new host has a max limit of 51,200 KiB, my sql file is only 12.5MB and 3.0 MB when zipped. If I upload it as a zip file, it says

Script timeout passed, if you want to finish import, please resubmit same file and import will resume.

Or it displays:

#1044 - Access denied for user 'a9806073_blurb'@'localhost' to database '1487929_blurb' 

However, if I upload it purely as a sql file, the connection resets while it uploads.


I just migrated my Joomla files over to a new web host, and I get the following error message:

Warning: require_once(/home/a9806073/public_html/includes/defines.php) [function.require-once]: failed to open stream: No such file or directory in /home/a9806073/public_html/index.php on line 21

Free Web Hosting

PHP Error Message

Fatal error: require_once() [function.require]: Failed opening required '/home/a9806073/public_html/includes/defines.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a9806073/public_html/index.php on line 21

And here's a snippet of the code from index.php:

define( '_JEXEC', 1 );

define('JPATH_BASE', dirname(__FILE__) );

define( 'DS', DIRECTORY_SEPARATOR );

require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );

Edit: Redownloading the files from FTP, apparently some folders aren't in the same order and appear in the wrong places.

  • 写回答

1条回答 默认 最新

  • douque8861 2013-08-25 12:42
    关注

    I'm sure you can understand PHP, if not the error means that it cannot locate the file 'include/defines.php' from your website.

    Checking

    Have you got these files?

    • includes/defines.php

    Side note

    We require more information, I shall edit my answer after getting these information from you:

    • Version
    • PHP version (phpinfo())
    评论

报告相同问题?

悬赏问题

  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)
  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?