Joomla 2.5 Site not working

Hello,

Since restoring my joomla site to the hosting i get this 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;

Any suggestions?

It seems <?php and ?> are missing. where that displays that?

1 Like

This is just the output from Firefox when trying to open index.php.

I copied the site from one hosting provider to another and this is the error im getting.

What is the error? We can’t help you without a proper error.

That is the error as attached that is all that is showing in the browser window. Where else can i check for the error?

For me that’s not an error, but the lack of PHP starting and ending tags on the code.

1 Like

I think it has something to do with the htaccess file as i deleted it and i get a different error 502 bad gateway. This is the htaccess file that was provided on the hosting

Now i am getting the error

The most recent request was denied because it contained an invalid security token. Please refresh the page and try again.

When i try to login to the admin panel. i have cleared my browser cache and tried both firefox and chrome