#35854 closed defect (bug) (invalid)
XML Parsing Error
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.4.2 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
I don't remember which version it started at, but after this one upgrade, when trying to run upgrade.php, I got the error message
XML Parsing Error: undefined entity Location: https://www.ftek.se/main/wp-admin/
<title>WordPress › Uppdatera</title>"
I also get errors for &lsaquo.
For some reason the error disappeared when I removed the "xmlns" in <html xmlns="http://www.w3.org/1999/xhtml"> in the source code. But now when trying to upgrade to 4.4.2 this little trick does not work anymore. When trying to go to the admin-page I get this XML parsing error, so I cannot access the admin-page.
My friend who is more well versed with these kinds of issues says that our server is configured correctly, and the fault is with Wordpress. I asked for help on the forum and did not get anything useful, I appreciate if you could help me with this.
Change History (8)
#2
@
9 years ago
- Component changed from Charset to General
- Keywords reporter-feedback added
- Severity changed from major to normal
Hello @ingstra, welcome to Trac!
Can you please provide some info about your server and your browser? It seems like something is serving the pages as XML rather than HTML.
#3
@
9 years ago
Thank you, and what a quick reply!
What do you need to know? Here is some information I can think of: The server is running Debian Wheezy, kernel 3.2.0-4-amd64, Apache/2.2.29, PHP 5.6.6. My current browser is Firefox 38.5.0. I tried Chrome on my cellphone as well, where I currently get the error "error on line 10 at column 27: Entity 'lsaquo' not defined"
#4
@
9 years ago
This feels like the html_type
option is potentially set to xhtml, common in the days where XHTML looked like the future of the web.
@ingstra Can you let us know what the value of html_type
at https://www.ftek.se/main/wp-admin/options.php is?
Unless you're doing something special and particular, that should be set to text/html
.
That option should probably be removed realistically.
#5
@
9 years ago
I'm not sure I looked at the right place, as I couldn't find the 'html_type' option at https://www.ftek.se/main/wp-admin/options.php. But I looked directly in the database:
mysql> select * from wp_options where option_name='html_type'; +-----------+-------------+--------------+----------+ | option_id | option_name | option_value | autoload | +-----------+-------------+--------------+----------+ | 49 | html_type | text/html | yes | +-----------+-------------+--------------+----------+
#6
@
9 years ago
Hello.
Is there any progress on this matter? A friend who is more well versed in these areas than I am suggests the use of numerical entities instead.
I just noticed another error also:
XML Parsing Error: not well-formed Location: https://www.ftek.se/main/wp-admin/update-core.php Line Number 52, Column 82: