簡體   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