Comments (11)
A simpler solution to this problem.
Add the following code to the .htaccess file:
<IfModule mod_php5.c>
php_flag short_open_tag off
</IfModule>
from batflat.
Can you activate DEV_MODE in inc/core/defines.php?
. Please check for some errors.
from batflat.
Returned error in red frame:
This page contains the following errors:
error on line 2 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.
from batflat.
My Lords !!!
I am taking a clean distribution system from a github.
I unpack it on the server. I start, I go to the admin area, turn on the sitemap plugin.
I do not make any additional entries.
Then I look at adress:
http://u14445mo3.ha002.t.justns.ru/sitemap.xml
You can try it yourself.
Login and password admin panel are standard, I haven't changed them
I can give a link to FTP
**// Developer mode
define('DEV_MODE', true);**
from batflat.
Can you provide me this file: /u14445mo3.ha002.t.justns.ru/public_html/tmp/sitemap.xml
?
from batflat.
I can
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<?php $counter = 0; foreach (cv($urls) as $key => $value): ?>
<url>
<loc><?php echo cv($value)['url']; ?></loc>
<?php if (!empty($value['lastmod'])): ?><lastmod><?php echo cv($value)['lastmod']; ?></lastmod><?php endif; ?>
</url>
<?php $counter++; endforeach; ?>
</urlset>
from batflat.
Set the config option short_open_tag in php.ini to 0 or Off and restart Apache.
from batflat.
Thanks!
It works.
Will this parameter affect other sites on my server?
from batflat.
Maybe this solution cover short tag problem #39 ?
from batflat.
RSS in blog module blog/feed/en_english
has same problems.
from batflat.
A simpler solution to this problem.
Add the following code to the .htaccess file:<IfModule mod_php5.c> php_flag short_open_tag off </IfModule>
This didn't fix my issue! /sitemap.xml
gives a 500 error.
blog/feed/en_english
this also returns 500 error!
Is the issue fixed or not yet?
from batflat.
Related Issues (20)
- Error 403 Forbidden Access to this resource on the server is denied!
- Integré le blog sur la page d'accueil
- Arbitrary code execution on the backend
- Summernote Image Upload
- Blog et idées
- Replacing Blog module URL
- error 403 przy próbie wysłania formularza
- 403 error when I want to send form HOT 1
- langSwitcher does not change in blogpost
- Form isn´t Spam-Safe
- Two problems Deprecated: str_replace(): & 404 not found in localhost HOT 1
- Batflat Statistics: Countries
- sign up and blog
- Missing WYSIWYG editor from post creation
- How do I include an Subpage in my footer? HOT 8
- Problems with Batflat 1.3.6 on localhost and on commercial server
- how add category in blog
- Stored XSS in module page using description field
- Sad that this project is dead - Do you need a maintainer? HOT 2
- A remote code execution vulnerability
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from batflat.