简体   繁体   English

Joomla-PHP错误消息

[英]Joomla - PHP error message

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: 最新消息 :这次我设法正确下载了所有文件,但是当我尝试导入sql文件时收到以下消息:

The new host has a max limit of 51,200 KiB, my sql file is only 12.5MB and 3.0 MB when zipped. 新主机的最大限制为51,200 KiB,压缩后我的sql文件只有12.5MB和3.0 MB。 If I upload it as a zip file, it says 如果我将其上传为zip文件,则会显示

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. 但是,如果仅将其作为sql文件上传,则在上传时连接会重置。


I just migrated my Joomla files over to a new web host, and I get the following error message: 我只是将Joomla文件迁移到了新的Web主机上,并且收到以下错误消息:

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: 这是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. 编辑:从FTP重新下载文件,显然某些文件夹的顺序不同,出现在错误的位置。

I'm sure you can understand PHP, if not the error means that it cannot locate the file 'include/defines.php' from your website. 我敢肯定,您可以理解PHP,如果不是,则表示该错误无法从您的网站中找到文件“ include / defines.php”。

Checking 检查

Have you got these files? 你有这些文件吗?

  • includes/defines.php include / defines.php

Side note 边注

We require more information, I shall edit my answer after getting these information from you: 我们需要更多信息,从您那里获得以下信息后,我将编辑我的答案:

  • Version
  • PHP version (phpinfo()) PHP版本(phpinfo())

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM