Issue Bug Closed

#14632Parse error with border.html

old_niebruegge 04/05/05, 08:56 updated 04/14/05, 18:15

Description

Parse error: parse error, unexpected T_STRING in /srv/www/htdocs/webxx/www/TYPO3core/typo3/border.html on line 1

I think it’s better to create a file like border.php:

echo '<?xml version="1.0" encoding="utf-8"?>‘;
echo ‘‘;
echo ‘echo ' PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"';
echo ' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">‘;
echo ‘<html><br>echo ‘ <head>‘;<br>echo ‘ <meta http-equiv="Content-Type" content="text/html; charset=utf<br />echo ' <title>Border between Navigation and List frame in TYPO3</title<br />echo ' </head>‘;<br />echo ‘ <body background=" gfx>‘;<br>echo ‘ ‘;<br>echo ‘‘;<br>?&gt;</head></html>

I think it’s the same like the postings from Karsten Hachmeister (11.12.2003) and Michael Stucki (17.02.2004):

“Hi,

just installed it.

If I click at ‘Task center’ and then for example at ‘List’, normally I get back
to the pagetree. This works for the first time, but if I do the same a second time I still see the ‘Task overview’ and not the page tree.

The border.html file in the typo3 folder gives a parse error on my system. This is not really a bug, because short_open_tag in my php.ini is activated. For a quick solution I echo out the xml definitions.

—
Karsten Hachmeister

##
Looks like you parse HTML files as PHP (=> httpd.conf) and have short-tags enabled (=> php.ini).

Michael Stucki“
(issue imported from #M929)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.