简体   繁体   中英

joomla index.php file is getting error

I am not sure whether someone else has this problem before too, but I am really struggling with this error, it says:

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;

I have Joomla 1.7.3 and in localhost in my computer it works everything fine, but when I upload to the server it get that error, how come what is cousing this error can anyone please show me any way how to get rid of it? does it have to do something with the php version from the server part???

Points to remember -

  1. Check the joomla config file(config.php).
  2. check htaccess
  3. php version you are using
  4. Check the server php version

    Check this link for technical requirements -- technical requirements

For changing the config.php file, let me assume you have joomla folder under your htdocs or www(if wamp), ie- htdocs->Joomla and you are accessing it like -- http://localhost/joomla/

Now when you upload your joomla folder to live server then in config file Check these settings-

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

And few more(smtp likewise)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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