繁体   English   中英

joomla index.php文件出现错误

[英]joomla index.php file is getting error

我不确定之前是否也有人遇到过这个问题,但是我确实在为这个错误而苦苦挣扎,它说:

mark('afterLoad') : null;
// Instantiate the application.
    $app = JFactory::getApplication('site');
// Initialise the application.
    $app->initialise();
// Mark afterIntialise in the profiler.
    JDEBUG ? $_PROFILER->mark('afterInitialise') : null;
// Route the application. $app->route();
// Mark afterRoute in the profiler.
    JDEBUG ? $_PROFILER->mark('afterRoute') : null;
// Dispatch the application.
    $app->dispatch();
// Mark afterDispatch in the profiler.
    JDEBUG ? $_PROFILER->mark('afterDispatch') : null;
// Render the application.
    $app->render();
// Mark afterRender in the profiler.
    JDEBUG ? $_PROFILER->mark('afterRender') : null;
// Return the response.
    echo $app;

我有Joomla 1.7.3,并且在我的计算机上的localhost中,它可以正常运行,但是当我将其上传到服务器时收到该错误,请问是什么原因引起了该错误,任何人都可以向我展示任何摆脱它的方法吗? 它与服务器部分的php版本有关系吗?

要记住的要点-

  1. 检查joomla配置文件(config.php)。
  2. 检查htaccess
  3. 您正在使用的php版本
  4. 检查服务器php版本

    检查此链接以了解技术要求- 技术要求

为了更改config.php文件,让我假设您在htdocs或www(如果是wamp)下有joomla文件夹,即htdocs-> Joomla,您正在访问它,例如http://localhost/joomla/

现在,当您将joomla文件夹上传到实时服务器时,然后在配置文件中检查以下设置-

public $host = 'localhost';
public $user = 'username';
public $password = '*****';

还有更多(同样是smtp)

暂无
暂无

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

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