Answer the question
In order to leave comments, you need to log in
opencart 2.3. Error when redirecting to the /sitemap page. how to solve?
Prompt plz. when going to the /sitemap.xml page, a file with such content is downloaded, instead of being transferred to the /index.php?route=extension/feed/google_sitemap page
<?php
opcache_reset();
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
// Version
define('VERSION', '2.3.0.2.5');
// Configuration
if (is_file('config.php')) {
require_once('config.php');
}
// Install
if (!defined('DIR_APPLICATION')) {
header('Location: install/index.php');
exit;
}
// Startup
require_once(DIR_SYSTEM . 'startup.php');
start('catalog');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question