Forums / Install & configuration / Parse error: Unexpected T_STRING

Parse error: Unexpected T_STRING

Author Message

Ivan Imanishi

Friday 01 August 2003 8:01:18 am

Hello,

I've just intalled ezpublish 3.1-1 on my linux host and nearly everything is working nicely, except for the following error message when accessing a page:

Parse error: parse error, unexpected T_STRING in /home/restricted/home/midiativa3/public_html/ezpublish/var/cache_profissionais/content/midiativa/full/eng-GB/1/106-fc02f2561b07666e39f6fbf63ae48153.php on line 86

I've checked the file and the refered line is the following:

<a href="/ezpublish/index.php/midiativa/content/view/full/140/" class="destaque"><?xml version="1.0" encoding="UTF-8"?>

I noticed that if I change the last part to <?xml?> the line no longer returns an error.

Any ideas?

Thank you,
Ivan

Martin Burger

Sunday 03 August 2003 10:45:20 am

Try:

php_admin_value short_open_tag off

http://www.netbeyond.de/