Solonik77 / digitalus-cms

Automatically exported from code.google.com/p/digitalus-cms
0 stars 0 forks source link

Non-breaking spaces in template layout disrupt admin tool #146

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enter a non-breaking space into a template layout (*.phtml)
2. Reload the admin tool
3.

What is the expected output? What do you see instead?

Expect to see the admin tool, but nothing is displayed.

What version of the product are you using? On what operating system?

SVN from 2010-03-08, WinXP local

Please provide any additional information below.

From the error log:

[Tue Mar 09 12:49:47 2010] [error] [client 127.0.0.1] PHP Warning: 
simplexml_load_string() [<a
href='function.simplexml-load-string'>function.simplexml-load-string</a>]:
Entity: line 59: parser error : Entity 'nbsp' not defined in
C:\\projects\\domain.com\\library\\Digitalus\\Interface\\Template.php on
line 16, referer: http://dev.domain.com/admin/page/edit/id/238

[Tue Mar 09 12:49:47 2010] [error] [client 127.0.0.1] PHP Warning: 
simplexml_load_string() [<a
href='function.simplexml-load-string'>function.simplexml-load-string</a>]:
              &lt;a href=&quot;/About/Legal_Disclaimer&quot;&gt;Legal
Disclaimer&lt;/a&gt;&amp;nbsp;|&amp;nbsp in
C:\\projects\\domain.com\\library\\Digitalus\\Interface\\Template.php on
line 16, referer: http://dev.domain.com/admin/page/edit/id/238

[Tue Mar 09 12:49:47 2010] [error] [client 127.0.0.1] PHP Warning: 
simplexml_load_string() [<a
href='function.simplexml-load-string'>function.simplexml-load-string</a>]:
                                                                          ^
in C:\\projects\\domain.com\\library\\Digitalus\\Interface\\Template.php on
line 16, referer: http://dev.domain.com/admin/page/edit/id/238

Original issue reported on code.google.com by kwut...@web.de on 9 Mar 2010 at 12:04

GoogleCodeExporter commented 8 years ago
Seems to affect *all* HTML entities...

Original comment by kwut...@web.de on 9 Mar 2010 at 12:14

GoogleCodeExporter commented 8 years ago
I cannot reproduce this behaviour.

might be that Your character encodeing of the template file is wrong?
Should be utf-8!

Cheers,
LT

Original comment by lowtower1974@gmail.com on 9 Mar 2010 at 1:54

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
It's not the character set. I experience strange issues, I'll report if I find 
out more.

Original comment by kwut...@web.de on 9 Mar 2010 at 4:02

GoogleCodeExporter commented 8 years ago
Is not reproducable hence invalid

Original comment by lowtower1974@gmail.com on 6 Apr 2010 at 9:30