17488 Posts in 4473 Topics by 1978 members
|Go to End|
15 May 2007 at 3:38pm Last edited: 15 May 2007 4:43pm
I was helping a client with SilverStripe, version 2.0.1, and found it requires "short_open_tag" to be set to "On" in the PHP configuration, i.e., php.ini; Is this a bug or just an unlisted requirement?
From a brief search, it appears short tags are not used in every SilverStripe PHP file, but enough to cause the script to not install and function.
From what I know and have read, it's recommended and better to use full (PHP) open tags instead of short open tags.
Full open tag: <?php
Short open tag: <?
15 May 2007 at 9:40pm
Yeah, it's a bug. We originally wrote the software with short tags, then converted the site to use long tags, to widen the installability of the software.
Obviously we've missed a few files ;-)
15 May 2007 at 10:06pm
Okay, I've fixed this and committed it to the stable branch. It will appear in the next nightly build, and in v2.0.2
|Go to Top|