Search

I haven’t touched anything on my site in a week, neither content, database or XSLT. But suddenly, on the front end, I get an error like this:

loadXML(): xmlParseEntityRef: no name in Entity, line: 834

Strange thing is that the XML isn’t 834 lines long, just some 700. And the error is on a different line each time, but everytime somewhere around line 810-890.

Any ideas?

Did someone make a comment or posted entries via the front-end? What does your XML look like?

There were some spam comments now deleted. But that didn’t sort things out.

What is the easiest way to share my 800 lines long XML?

I’ve located the error to the DS that pulls my latest post on Twitter from my local cache of all my tweets. Disabling that DS makes the site work again.

Got it sorted out. The last tweet imported to my Symphony site contained an ampersand. And since tweets are inserted into a textarea field without a textformatter, that caused the error. Guess I’ve to enable Markdown for that field.

But why did Symphony throw an error for a line that did not exist.

What version of Symphony are you using thoresson? The ?debug page was recently replaced with Rowan’s Debug Devkit which reports line numbers slightly differently, I think.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details