shelterit / xsiteable

xSiteable
Other
3 stars 1 forks source link

Error when saving content page: Entity 'acirc' not defined #54

Open davidmac76 opened 10 years ago

davidmac76 commented 10 years ago

I get the following error when I save a particular content page. It doesn't happen for all content pages, just this one. The save is successful.

Let me know if you need the entire message.

Warning: simplexml_load_string(): Entity: line 1203: parser error : Entity 'acirc' not defined in /var/local/www/intranet/xs/extensions/modules/generic_content.module.php on line 267 Call Stack: 0.0002 401720 1. {main}() /var/local/www/intranet/index.php:0 0.1106 7297136 2. xs\Events\EventStack->action() /var/local/www/intranet/index.php:48 0.1616 9254712 3. xs\Events\EventStack->run_action() /var/local/www/intranet/xs/Events/EventStack.class.php:617 0.1616 9255708 4. call_user_func() /var/local/www/intranet/xs/Events/EventStack.class.php:684 0.1616 9255736 5. xs_module_core->_dispatcher() /var/local/www/intranet/xs/Events/EventStack.class.php:0 0.1958 9274100 6. xs_module_generic_content->_http_action() /var/local/www/intranet/xs/extensions/modules/core.module.php:535 0.1959 9274596 7. xs_module_generic_content->POST() /var/local/www/intranet/xs/extensions/modules/generic_content.module.php:64 0.3662 9529096 8. simplexml_load_string() /var/local/www/intranet/xs/extensions/modules/generic_content.module.php:267 Warning: simplexml_load_string(): BYN CV – Paint Maintenance Program in /var/local/www/intranet/xs/extensions/modules/generic_content.module.php on line 267 Call Stack: 0.0002 401720 1. {main}() /var/local/www/intranet/index.php:0 0.1106 7297136 2. xs\Events\EventStack->action() /var/local/www/intranet/index.php:48 0.1616 9254712 3. xs\Events\EventStack->run_action() /var/local/www/intranet/xs/Events/EventStack.class.php:617 0.1616 9255708 4. call_user_func() /var/local/www/intranet/xs/Events/EventStack.class.php:684 0.1616 9255736 5. xs_modulecore->dispatcher() /var/local/www/intranet/xs/Events/EventStack.class.php:0 0.1958 9274100 6. xs_module_generic_content->_http_action() /var/local/www/intranet/xs/extensions/modules/core.module.php:535 0.1959 9274596 7. xs_module_generic_content->POST() /var/local/www/intranet/xs/extensions/modules/generic_content.module.php:64 0.3662 9529096 8. simplexml_load_string() /var/local/www/intranet/xs/extensions/modules/generic_content.module.php:267 Warning: simplexml_load_string(): ^ in /var/local/www/intranet/xs/extensions/modules/generic_content.module.php on line 267 Call Stack: 0.0002 401720 1.

shelterit commented 10 years ago

Hiya,

Looks like your content contain a particular entity we don't support (or, really, failed to put in) called â

If you check your content (source code) I'm sure you can find it and change it, however we should have support for most (if not all) such entities.

Cheers,

Alex

On Tue, Apr 8, 2014 at 5:07 PM, davidmac26 notifications@github.com wrote:

I get the following error when I save a particular content page. It doesn't happen for all content pages, just this one. The save is successful.

Let me know if you need the entire message.

Warning: simplexml_load_string(): Entity: line 1203: parser error : Entity 'acirc' not defined in /var/local/www/intranet/xs/extensions/modules/generic_content.module.php on line 267 Call Stack: 0.0002 401720 1. {main}() /var/local/www/intranet/index.php:0 0.1106 7297136 2. xs\Events\EventStack->action() /var/local/www/intranet/index.php:48 0.1616 9254712 3. xs\Events\EventStack->run_action() /var/local/www/intranet/xs/Events/EventStack.class.php:617 0.1616 9255708

  1. call_user_func() /var/local/www/intranet/xs/Events/EventStack.class.php:684 0.1616 9255736
  2. xs_module_core->___dispatcher() /var/local/www/intranet/xs/Events/EventStack.class.php:0 0.1958 9274100 6. xs_module_generic_content->_http_action() /var/local/www/intranet/xs/extensions/modules/core.module.php:535 0.1959 9274596 7. xs_module_generic_content->POST() /var/local/www/intranet/xs/extensions/modules/generic_content.module.php:64 0.3662 9529096 8. simplexml_load_string() /var/local/www/intranet/xs/extensions/modules/generic_content.module.php:267 Warning: simplexml_load_string(): BYN CV â EURO " Paint Maintenance Program in /var/local/www/intranet/xs/extensions/modules/generic_content.module.php on line 267 Call Stack: 0.0002 401720 1. {main}() /var/local/www/intranet/index.php:0 0.1106 7297136 2. xs\Events\EventStack->action() /var/local/www/intranet/index.php:48 0.1616 9254712 3. xs\Events\EventStack->run_action() /var/local/www/intranet/xs/Events/EventStack.class.php:617 0.1616 9255708
  3. call_user_func() /var/local/www/intranet/xs/Events/EventStack.class.php:684 0.1616 9255736
  4. xs_module_core->___dispatcher() /var/local/www/intranet/xs/Events/EventStack.class.php:0 0.1958 9274100 6. xs_module_generic_content->_http_action() /var/local/www/intranet/xs/extensions/modules/core.module.php:535 0.1959 9274596 7. xs_module_generic_content->POST() /var/local/www/intranet/xs/extensions/modules/generic_content.module.php:64 0.3662 9529096 8. simplexml_load_string() /var/local/www/intranet/xs/extensions/modules/generic_content.module.php:267 Warning: simplexml_load_string(): ^ in /var/local/www/intranet/xs/extensions/modules/generic_content.module.php on line 267 Call Stack: 0.0002 401720 1.

Reply to this email directly or view it on GitHubhttps://github.com/shelterit/xsiteable/issues/54 .

Project Wrangler, SOA, Info Alchemist, UX, RESTafarian, Topic Maps http://shelter.nu/blog | google.com/+AlexanderJohannesen http://xsiteable.org | http://www.linkedin.com/in/shelterit

davidmac76 commented 10 years ago

Looks like it was this: –

I replaced them all with regular dashes and now the error does not occur.

davidmac76 commented 10 years ago

As in this: & n d a s h ;