Joomla-PHP错误消息 [英] Joomla - PHP error message
问题描述
最新:这次我已经设法正确下载了所有文件,但是当我尝试导入sql文件时收到此消息:
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:
新主机的最大限制为51,200 KiB,压缩后我的sql文件只有12.5MB和3.0 MB.如果我将其上传为zip文件,则会显示
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.
或者显示:
#1044 - Access denied for user 'a9806073_blurb'@'localhost' to database '1487929_blurb'
但是,如果我仅将其作为sql文件上传,则在上传时连接会重置.
However, if I upload it purely as a sql file, the connection resets while it uploads.
我刚刚将Joomla文件迁移到了新的Web主机上,并且收到以下错误消息:
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
这是index.php中的代码片段:
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' );
从FTP重新下载文件,显然某些文件夹的顺序不同,出现在错误的位置.
Redownloading the files from FTP, apparently some folders aren't in the same order and appear in the wrong places.
- Original Folder Structure: http://i.imgur.com/d3IXArG.png
- Current: http://i.imgur.com/57jPU3Q.png
推荐答案
我确定您可以理解PHP,如果不是,则表示该错误无法从您的网站中找到文件"include/defines.php".
I'm sure you can understand PHP, if not the error means that it cannot locate the file 'include/defines.php' from your website.
检查
您有这些文件吗?
- includes/defines.php
旁注
我们需要更多信息,从您那里获得这些信息后,我将编辑我的答案:
We require more information, I shall edit my answer after getting these information from you:
- 版本
- PHP版本(phpinfo())
这篇关于Joomla-PHP错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!