Forum Moderators: coopster

Message Too Old, No Replies

error parsing \inetpub\wwwroot\MySampleApp\client-view.php

dreamweaver 2004 tutorial parsing error

         

Gn0me

6:19 pm on Nov 24, 2003 (gmt 0)



Hello world, thought i'd get off to a good start with a soloution rather than a problem, for me, a change ;)

i got a similar error to the subject title whenever i tried to use the "live data view" during the php tutorial in dreamweaver. (using xp os)

The soloution was:

change the following line in the 'php.ini' file:

from: short_open_tag = On
to: short_open_tag = Off

A brief explanation whats goin from what ive gathered is that the line:
<?xml version="1.0" encoding="iso-8859-1"?>

is parsed as php because of a default setting of short_open_tag = On, and when working with php + xml together this should be set to Off.

More explanation from the php manual: [php.net...]

Hope this saves an apprentice webmaster like myself some time and frustration. i wasted too much of both on such a simple thing.

DrDoc

6:44 pm on Nov 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World!

The neat thing about this is that even if you don't have access to php.ini (such as on a shared server) you can make the same change in your .htaccess file.