jans wrote:
Please do not top-post; that makes it hard to reply sensibly.
> On Tuesday, June 2, 2015 at 6:30:25 PM UTC-7, jans wrote:
>
> This is the offending line in the document:
> $documentType->doctype('XHTML1_STRICT');
> It is wamp server latest version so it might be an old version of apache then?
> Why doesn't it like the doctype?
That has nothing to do with the doctype. The error is a parse error, so
semantics are not yet of interest. The problem is that the parser sees
a T_STRING, and doesn't expect it there. I suggest you look at what
comes before this line, preferably with a syntax highlighting editor.
>> On Tuesday, June 2, 2015 at 6:24:26 PM UTC-7, jans wrote:
>>
>> Someone said this error is related to an old version of PHP. I can't install an old Wamp SErver on a 64 bit pc but
>> Just in case someone knows how to fix it here is the error msg:
>>
>> ( ! ) Parse error: syntax error, unexpected 'XHTML1_STRICT' (T_STRING) in C:\wamp\www\conduit-master\earth\application\bootstrap.php on line 21
>> Call Stack
>> # Time Memory Function Location
>> 1 0.0010 237896 {main}( ) ..\index.php:0
--
Christoph M. Becker