Jump to content

Why is this 👇 showing on an empty template file


Recommended Posts


my english is not good enough to describe my problem better in the topic.
I'm working on a new site. Fresh blank install. I wrote a template file and everything is working so far but at the end of that page a new document is added for some reason so it looks like this:

right after my closing html tag this is added:

</html><!DOCTYPE html>
<html lang="en">
	<head id="html-head">
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<link rel="stylesheet" type="text/css" href="/site/templates/styles/main.css" />
		<script src="/site/templates/scripts/main.js"></script>
	<body id="html-body">

		<p id="topnav">
			<a href='/'>Home</a> / <a href='/einstellungen/'>Einstellungen</a> / <a href='/arbeiten/'>Arbeiten</a> / <a href='/test/'>test</a>		</p>
		<hr />
		<h1 id="headline">
						Home		</h1>
		<div id="content">
			Default content
			<li><a href='/einstellungen/'>Einstellungen</a></li><li><a href='/arbeiten/'>Arbeiten</a></li><li><a href='/test/'>test</a></li>		</ul>	
				<p><a href='/pw-login/page/edit/?id=1'>Edit this page</a></p>

I could not find a source for that and I thought maybe it's caused by something in my template file so I created a new file, left it completely empty, set it up as a template, created a new page with this template and what should I say? It's exactly the same html

I can't get it. Can someone please give me a hint, what could cause this?
Thanks in advance

PS: I just thought maybe that's because I'm logged in and debug mode is on, but no, it's the same for logged out users except the Edit this page link, of course

Link to comment
Share on other sites

Please post the content of your template file where the error occurs. Do you prepend or append files to the template? I think this might be the cause. Go to your template in ProcessWire and to the files tab. Disable prepending and appending any files, and see if that fixes the error.


  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...