- Edited
Some users installing osTicket will be experienceing problems in installation - particularly it just doesn't seem to do anything, or there is weird stuff in the fields on the setup page.
The developers have chosen to use PHP ShortTags, which is a non standard way of identifying php code in scripts. The standard way to identify a PHP code block is by using <?php .. ?>
tags.
The method being used is <? .. ?>
The primary advantage of short tags is you are able to use <?=$var?>
to insert a variable into html code, rather than the longer <?php echo $var; ?>
While this is a shortcut, and maybe slightly easier to read, it makes the php code less portable. ShortTags must be enabled in php.ini to work. Expecting users to change a server setting in order to run the osTicket software is possible damaging the adoption rate of osTicket.
This problem can be fixed - I corrected the short tag issue in the RC6.3 in about 5 minutes.
I would like to suggest that short tags are dropped, and the long hand, but more portable approach is used.
As I said, I was able to correct the issue in just a few minutes, and would happily carry out the same corrections on the latest development code in an effort to make osTicket more portable, and increase the number of users.
From the PHP Manual:
Using short tags should be avoided when developing applications or libraries that are meant for redistribution, or deployment on PHP servers which are not under your control, because short tags may not be supported on the target server. For portable, redistributable code, be sure not to use short tags.