Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

PHP scripting block in shorthand format

#58

Many pages in concerto version 1.9.1 have the PHP block tags in the "<?" format instead of the standard longhand "<?php" format. This can cause serious issues when deploying on different types of systems.

My setup
RHEL 5.1
Apache 2.2.14
PHP 5.2.11
MySQL 5.0.45

Reported by WTG User · November 19th, 2009 @ 11:43 AM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. Brian Michalski
    Brian Michalski
    • State changed from new to invalid

    We use short tags a lot. While they might cause some errors with the initial setup, they shorten a decent part of our code... using <?= is a lot easier than <? echo.

    You should be able to enable this in your PHP config: http://php.net/manual/en/ini.core.php#ini.short-open-tag

    November 21st, 2009 @ 11:38 PM

  2. Andrew Elwell
    Andrew Elwell
    • Tag cleared.

    Hi - please see http://cern.ch/aelwell/scratch/concerto_short_tag_fixup.patch

    This was generated in response when I couldn't use short tags.

    February 12th, 2010 @ 08:22 AM

  3. Brian Michalski
    Brian Michalski
    • State changed from invalid to resolved
    • Milestone order changed from 0 to 0

    (from [1b5b50c695dba19dce069733c1c662f29d88569a]) Cache the template preview, closes #58 PHP scripting block in shorthand format.

    Wrapping the template preview code in a stale? block to only render and return the image if the etag doesn't match or there has been a modification.

    Templates now can find the last_modified time of not just the template but also it's positions and background too in the event those update.
    https://github.com/concerto/concerto/commit/1b5b50c695dba19dce06973...

    March 14th, 2012 @ 01:01 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.