Provide zblog template_zblog them_wordpress template download and customization

Zblogphp prompt: XML parsing error: XML or text declaration is not at the beginning of the entity

Tianxing Studio 2016-07-30 14:09 Zblogphp Tutorial five thousand nine hundred and fifty-eight 0 Comments


A customer found Tianxing Studio Say one of your own zblogphp website When you open the feed.php file of, you will be prompted: "XML parsing error: XML or text declaration is not at the beginning of the entity".

Then I went to check the background of his website and found that there was no problem with the feed. php file.

When Firefox browser opens, it prompts: "XML parsing error: XML or text declaration is not at the beginning of the entity";

When Google Chrome opens, it prompts: "This page contains the following errors: error on line 9 at column 13: Extra content at the end of the document Below is a rendering of the page up to the first error. click here to re parse as html.".

After searching on the Internet, it is said that there are wrong spaces in the PHP file. Then start troubleshooting in this direction.

When the customer was asked what the problem was caused by, he replied that several codes of the topic had been modified.

Then the background operation switches back to the default theme. The problem is solved and it is determined that the bug is caused by modifying the theme. This problem is caused by the online statement that PHP has wrong spaces. The conclusion is that the customer used the wrong way (wrong editor such as Windows Notepad) to modify the theme.

The solution is also very simple. Re install the theme to solve the problem, and then ask the customer to pay attention to the correct method when modifying.

The conclusion drawn from this event is that the names of code and bom header do not need to be understood by ordinary people, but they must be modified by themselves zblog PHP files in PHP should be in the correct way. The recommended methods are as follows:

1. Backstage Application Center Download the "Theme Editing" plug-in, which can open the theme Template Document modification;

2. The background application center downloads the "kod file manager" plug-in, which can modify all files of the website;

3. Ftp will download the file to the local for modification. It cannot be opened with a Windows native notebook. It is recommended to download a notepad++. It is small in size, fast in speed, or free.


Can't find a tutorial that can solve your problem?

You can try to search or ask questions directly online. We also provide charging technical support. If you need it, you can contact us online.

Online questions Online Service

welcome you Comment: Cancel Reply

 Please fill in the verification code
  • Latest articles
  • Hot article ranking
  • Most Comments
Label aggregation
  • Sign in
  • Registered account Forgot your password?
  • register
  • Already have an account? Direct login Forgot your password?
  • Social account login